1 |
2678
|
harris
|
#
|
2 |
|
|
# Start of map file
|
3 |
|
|
#
|
4 |
|
|
MAP
|
5 |
|
|
IMAGETYPE PNG24
|
6 |
|
|
NAME KRUGER
|
7 |
|
|
STATUS ON
|
8 |
|
|
SIZE 400 400
|
9 |
|
|
EXTENT 30.96250 -25.7 32.010399 -22
|
10 |
|
|
UNITS dd
|
11 |
|
|
SHAPEPATH "data"
|
12 |
|
|
IMAGECOLOR 255 255 255
|
13 |
|
|
SYMBOLSET "symbols/symbols35.sym"
|
14 |
|
|
|
15 |
|
|
PROJECTION
|
16 |
|
|
"proj=latlong"
|
17 |
|
|
END
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
WEB
|
21 |
|
|
HEADER templates/header.html
|
22 |
|
|
FOOTER templates/footer.html
|
23 |
|
|
# MINSCALE 50000
|
24 |
|
|
# MAXSCALE 2550000
|
25 |
|
|
TEMPLATE 'kruger5.html'
|
26 |
|
|
IMAGEPATH '/var/www/html/mapserver/kruger/data/tmp/'
|
27 |
|
|
IMAGEURL '/mapserver/kruger/data/tmp/'
|
28 |
|
|
END
|
29 |
|
|
|
30 |
|
|
LEGEND
|
31 |
|
|
KEYSIZE 12 12
|
32 |
|
|
LABEL
|
33 |
|
|
TYPE BITMAP
|
34 |
|
|
SIZE MEDIUM
|
35 |
|
|
COLOR 0 0 89
|
36 |
|
|
END
|
37 |
|
|
STATUS ON
|
38 |
|
|
END
|
39 |
|
|
|
40 |
|
|
#
|
41 |
|
|
# Start Scalebar code
|
42 |
|
|
SCALEBAR
|
43 |
|
|
STATUS ON
|
44 |
|
|
STYLE 1
|
45 |
|
|
INTERVALS 4
|
46 |
|
|
SIZE 150 2
|
47 |
|
|
COLOR 0 0 0
|
48 |
|
|
OUTLINECOLOR 0 0 0
|
49 |
|
|
UNITS kilometers
|
50 |
|
|
LABEL
|
51 |
|
|
COLOR 0 0 0
|
52 |
|
|
SIZE small
|
53 |
|
|
END
|
54 |
|
|
END
|
55 |
|
|
# Start of reference map
|
56 |
|
|
#
|
57 |
|
|
REFERENCE
|
58 |
|
|
IMAGE 'data/raster/knp_bndry_img1.png'
|
59 |
|
|
SIZE 170 160
|
60 |
|
|
EXTENT 30.96250 -25.7 32.010399 -22
|
61 |
|
|
STATUS ON
|
62 |
|
|
MINBOXSIZE 10
|
63 |
|
|
MAXBOXSIZE 150
|
64 |
|
|
COLOR -1 -1 -1
|
65 |
|
|
OUTLINECOLOR 128 0 0
|
66 |
|
|
MARKERSIZE 8
|
67 |
|
|
MARKER 'star'
|
68 |
|
|
END
|
69 |
|
|
|
70 |
|
|
#-- Begin layer defs.---------------------
|
71 |
|
|
LAYER
|
72 |
|
|
PROJECTION
|
73 |
|
|
"proj=utm"
|
74 |
|
|
"zone=36"
|
75 |
|
|
"south"
|
76 |
|
|
"ellps=WGS84"
|
77 |
|
|
"datum=WGS84"
|
78 |
|
|
"units=m"
|
79 |
|
|
"no_defs"
|
80 |
|
|
#
|
81 |
|
|
# OR:
|
82 |
|
|
#
|
83 |
|
|
# "init=epsg:32736"
|
84 |
|
|
END
|
85 |
|
|
NAME BNDRY_KRUGERNP
|
86 |
|
|
TYPE POLYGON
|
87 |
|
|
STATUS DEFAULT
|
88 |
|
|
TRANSPARENCY 0
|
89 |
|
|
DATA BNDRY_KRUGERNP
|
90 |
|
|
CLASS
|
91 |
|
|
NAME 'Kruger Boundary'
|
92 |
|
|
OUTLINECOLOR 128 128 128
|
93 |
|
|
COLOR 225 225 185
|
94 |
|
|
END #-- End class def.
|
95 |
|
|
END #--End Layer def
|
96 |
|
|
|
97 |
|
|
LAYER
|
98 |
|
|
PROJECTION
|
99 |
|
|
"proj=utm"
|
100 |
|
|
"zone=36"
|
101 |
|
|
"south"
|
102 |
|
|
"ellps=WGS84"
|
103 |
|
|
"datum=WGS84"
|
104 |
|
|
"units=m"
|
105 |
|
|
"no_defs"
|
106 |
|
|
#
|
107 |
|
|
# OR:
|
108 |
|
|
#
|
109 |
|
|
# "init=epsg:32736"
|
110 |
|
|
END
|
111 |
|
|
NAME SOILS_KNPNORTH
|
112 |
|
|
TYPE POLYGON
|
113 |
|
|
STATUS OFF
|
114 |
|
|
DATA SOILS_KNPNORTH
|
115 |
|
|
CLASSITEM "SOIL_ID"
|
116 |
|
|
TEMPLATE "templates/soil.html"
|
117 |
|
|
CLASS
|
118 |
|
|
NAME 'Soil A1'
|
119 |
|
|
EXPRESSION 'A1'
|
120 |
|
|
COLOR 0 0 0
|
121 |
|
|
END
|
122 |
|
|
CLASS
|
123 |
|
|
NAME 'Other Soils'
|
124 |
|
|
COLOR 225 165 0
|
125 |
|
|
END #-- End class def.
|
126 |
|
|
HEADER "templates/soil_header.html"
|
127 |
|
|
FOOTER "templates/soil_footer.html"
|
128 |
|
|
TOLERANCE 10
|
129 |
|
|
DUMP TRUE # allow GML export
|
130 |
|
|
END #--End Layer def.
|
131 |
|
|
|
132 |
|
|
LAYER
|
133 |
|
|
PROJECTION
|
134 |
|
|
"proj=latlong"
|
135 |
|
|
END
|
136 |
|
|
NAME metacat_points_geocoord
|
137 |
|
|
TYPE POINT
|
138 |
|
|
STATUS DEFAULT
|
139 |
|
|
DATA metacat_points_geocoord
|
140 |
|
|
TEMPLATE "templates/metacat.html"
|
141 |
|
|
CLASS
|
142 |
|
|
NAME 'Datapackage Locations'
|
143 |
|
|
STYLE
|
144 |
|
|
COLOR 255 0 0
|
145 |
|
|
SYMBOL 'circle'
|
146 |
|
|
SIZE 7
|
147 |
|
|
END # -- End Style
|
148 |
|
|
END #-- End class def.
|
149 |
|
|
HEADER "templates/metacat_header.html"
|
150 |
|
|
FOOTER "templates/metacat_footer.html"
|
151 |
|
|
TOLERANCEUNITS pixels
|
152 |
|
|
TOLERANCE 30
|
153 |
|
|
DUMP TRUE # allow GML export
|
154 |
|
|
END #--End Layer def.
|
155 |
|
|
|
156 |
|
|
LAYER
|
157 |
|
|
PROJECTION
|
158 |
|
|
"init=epsg:32736"
|
159 |
|
|
END
|
160 |
|
|
NAME WATER_BOREHOLES
|
161 |
|
|
TYPE POINT
|
162 |
|
|
STATUS OFF
|
163 |
|
|
TEMPLATE "templates/water.html"
|
164 |
|
|
DATA WATER_BOREHOLES
|
165 |
|
|
CLASS
|
166 |
|
|
NAME 'Water Boreholes'
|
167 |
|
|
STYLE
|
168 |
|
|
COLOR 0 0 255
|
169 |
|
|
SYMBOL 'circle'
|
170 |
|
|
SIZE 7
|
171 |
|
|
END # -- End Style
|
172 |
|
|
END #-- End class def.
|
173 |
|
|
HEADER "templates/water_header.html"
|
174 |
|
|
FOOTER "templates/water_footer.html"
|
175 |
|
|
TOLERANCEUNITS pixels
|
176 |
|
|
TOLERANCE 20
|
177 |
|
|
DUMP TRUE
|
178 |
|
|
END #--End Layer def.
|
179 |
|
|
|
180 |
|
|
END #-- End Map File
|