-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsnippets.map
55 lines (46 loc) · 1.12 KB
/
snippets.map
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
MAP
NAME 'snippets'
EXTENT -20026376.39 -20048966.10 20026376.39 20048966.10
UNITS METERS
SIZE 500 500
SHAPEPATH ./data
IMAGETYPE PNG
PROJECTION
"init=epsg:3857" # web Mercator
END
WEB
METADATA
"wms_title" "MapServer Snippets"
"ows_enable_request" "*"
"wms_onlineresource" "http://my.host.com/cgi-bin/mapserv?map=ows.map&"
"wfs_getfeature_formatlist" "gml,geojson"
"ows_srs" "EPSG:4326 EPSG:3857"
END
END
OUTPUTFORMAT
NAME "geojson"
DRIVER "OGR/GEOJSON"
MIMETYPE "application/json; subtype=geojson"
FORMATOPTION "STORAGE=stream"
FORMATOPTION "FORM=SIMPLE"
FORMATOPTION "USE_FEATUREID=true"
END
SCALEBAR
STYLE 0
INTERVALS 2
COLOR "#000000"
# BACKGROUNDCOLOR "#999999"
OUTLINECOLOR "#000000"
END
# Using MNDNR Data
#
INCLUDE 'snippets/color01.snippet'
INCLUDE 'snippets/regex01.snippet'
INCLUDE 'snippets/regex02.snippet'
INCLUDE 'snippets/regex03.snippet'
INCLUDE 'snippets/regex04.snippet'
# Using Natural Earth Data
#
INCLUDE 'snippets/raster01.snippet'
INCLUDE 'snippets/label01.snippet'
END