Created
June 10, 2011 16:28
-
-
Save geographika/1019212 to your computer and use it in GitHub Desktop.
WFS Sample MapFile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAP | |
NAME "MyMap" | |
WEB | |
METADATA | |
"ows_enable_request" "*" | |
"wfs_srs" "EPSG:29902 EPSG:900913" #this setting has #1 priority | |
"ows_srs" "EPSG:29902 EPSG:900913" #this setting is used if no wfs_srs is present | |
END | |
END | |
# If your map does not have a projectionobject then WMS layers will return errors such as: | |
# WMS server error. Cannot set new SRS on a map that doesn't have any projection set. | |
PROJECTION #this is the overall projection for the map | |
"init=epsg:29902" #this setting is used if no METADATA tags have been set | |
END | |
LAYER | |
NAME 'Test' | |
TYPE LINE | |
DATA "GEOM from .." | |
PROJECTION | |
"init=epsg:29902" #the projection here is critical - see notes | |
END | |
METADATA | |
"wfs_srs" "EPSG:29902" #any value here is pretty much ignored, as everything else takes priority | |
END | |
END | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment