/
Configuring MapServer .MAP files for WMS requests
Configuring MapServer .MAP files for WMS requests
TileCache works with WMS servers, in order for MapServer to be able to serve WMS responses correctly there needs to be some additions to the .MAP files used. The example below shows the required settings that need to be added:
MAP NAME "RasterMap" CONFIG "PROJ_LIB" "D:\mapserver\cgi-bin5.4\proj\nad" PROJECTION "init=epsg:27700" END WEB METADATA WMS_TITLE "Cleveland Police" AUTHOR "Astun Technology" "ows_enable_request" "*" END END LAYER METADATA WMS_TITLE "Cleveland Police Area @ 250K" END END END
Essentially MAP has to have NAME, CONFIG and PROJECTION settings and WEB and all LAYERs need to have a METADATA setting.
In WEB, METADATA has WMS_TITLE and AUTHOR settings and for LAYERs it's just WMS_TITLE.
, multiple selections available,
Related content
QGIS WMS & WFS Examples
QGIS WMS & WFS Examples
Read with this
Create a cached WMS for Aerial Photography
Create a cached WMS for Aerial Photography
More like this
Updating static map displayed in My House to use OS Maps API for iShare v6
Updating static map displayed in My House to use OS Maps API for iShare v6
More like this
Updating static map displayed in My House to use OS Maps API for iShare v5.8
Updating static map displayed in My House to use OS Maps API for iShare v5.8
More like this
Layer Configuration
Layer Configuration
Read with this