Skip to content
Snippets Groups Projects
Select Git revision
  • 84e34b303d0478975d5298517d21583e1c50a0e6
  • main default protected
2 results

visualizer-synthesis

MapServer

Build

docker build -t gitlab.ssec.wisc.edu:5555/cspp_geo/cspp-geo-web-viewer/mapcache:latest mapcache/

Usage

docker run -p 8889:80 -d --rm --name cspp-geo-mapcache1 --network cspp-geo-rabbit -v cspp-geo-tile-cache:/data gitlab.ssec.wisc.edu:5555/cspp_geo/cspp-geo-web-viewer/mapcache:latest ./run.sh cspp-geo-mapserver 80

Note the host name and port of the MapServer passed to the run.sh at the end. The the main mapcache CGI script can be accessed with:

http://localhost:8889/mapcache/wmts

An example usage of this including some WMS/WMTS URL parameters:

http://localhost:8889/mapcache/wmts?TIME=2020-01-01T12:00:00Z&SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=g16_abi_radf_l1b_true_color&STYLE=default&TILEMATRIXSET=grid_g16_abi_radf&TILEMATRIX=1&TILEROW=1&TILECOL=1&FORMAT=image/png

Special Notes

This image has had its installation of the PROJ library modified to include new non-standard EPSG codes to support the projections of certain satellite instruments. These additions are part of the Dockerfile build process and include the following definitions:

  1. EPSG:930916 - The GOES-16 ABI Fixed Grid geostationary coordinate reference system. The numbers are meant to represent "GEOG16" while also attempting to avoid conflicts with future additions to the official EPSG database.
  2. EPSG:930917 - The GOES-17 ABI Fixed Grid geostationary coordinate reference system. The numbers are meant to represent "GEOG17" while also attempting to avoid conflicts with future additions to the official EPSG database.