Skip to content

Instantly share code, notes, and snippets.

@brucecrevensten
Created December 1, 2011 00:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brucecrevensten/1412279 to your computer and use it in GitHub Desktop.
Save brucecrevensten/1412279 to your computer and use it in GitHub Desktop.
Trying to make a map file work
MAP
NAME "WMSSNAPTest"
STATUS ON
EXTENT -2183223.206 158412.933 4280776.794 2556412.933
UNITS METERS
WEB
IMAGEPATH "/tmp/"
METADATA
"wms_title" "Testing"
"wms_onlineresource" "http://localhost/cgi-bin/mapserv?map=test.map"
"wms_srs" "EPSG:4269"
"wms_enable_request" "*"
END
END
PROJECTION
"init=epsg:4269"
END
LAYER
NAME "country_bounds"
TYPE RASTER
STATUS ON
CONNECTION "http://localhost/cgi-bin/mapserv"
CONNECTIONTYPE WMS
METADATA
"wms_srs" "EPSG:4326"
"wms_name" "country_bounds"
"wms_server_version" "1.1.1"
"wms_format" "image/gif"
END
END
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment