1 |
# Copyright (c) 2004 by Intevation GmbH |
2 |
# Authors: |
3 |
# Jan Schüngel <[email protected]> |
4 |
# |
5 |
# This program is free software under the GPL (>=v2) |
6 |
# Read the file COPYING coming with Thuban for details. |
7 |
|
8 |
# This is a sample .map-to test the umn_mapserver extension |
9 |
# of Thuban. |
10 |
|
11 |
# $Revision$ |
12 |
# $Source$ |
13 |
# $Id$ |
14 |
|
15 |
MAP |
16 |
NAME ISLAND |
17 |
STATUS ON |
18 |
SIZE 600 450 |
19 |
UNITS METERS |
20 |
|
21 |
EXTENT 622877.17 7019306.94 1095667.78 7447709.31 |
22 |
SHAPEPATH "../../../Data/iceland" |
23 |
IMAGECOLOR 82 102 230 |
24 |
IMAGETYPE PNG |
25 |
|
26 |
PROJECTION |
27 |
proj=utm |
28 |
ellps=clrk66 |
29 |
zone=26 |
30 |
north |
31 |
|
32 |
#"init=epsg:26915" |
33 |
END |
34 |
|
35 |
WEB |
36 |
TEMPLATE iceland.html |
37 |
# IMAGEPATH "/tmp/" |
38 |
# IMAGEURL "/tmp/" |
39 |
# LOG "/tmp/iceland.log" |
40 |
MINSCALE 100000 |
41 |
MAXSCALE 3000000 |
42 |
|
43 |
METADATA |
44 |
titel "Iceland Test" |
45 |
author "Jan Schuengel" |
46 |
END |
47 |
END |
48 |
|
49 |
# ############################## |
50 |
# Start of symbol definitions (we're only using one for the circle layer) |
51 |
# ############################## |
52 |
SYMBOL |
53 |
NAME 'circle' |
54 |
TYPE ELLIPSE |
55 |
POINTS 1 1 END |
56 |
FILLED TRUE |
57 |
END |
58 |
|
59 |
|
60 |
# ############################### |
61 |
# Beginn der Layer Definitionen # |
62 |
# ############################### |
63 |
LAYER # raster layer |
64 |
NAME topographie |
65 |
DATA "island.tif" |
66 |
STATUS ON |
67 |
TYPE RASTER |
68 |
PROCESSING "BANDS=1" # use it to select which bands in a multispectral image are displayed |
69 |
OFFSITE 82 102 230 # This parameters tells MapServer what pixel values to render as background (or ignore) |
70 |
|
71 |
PROJECTION |
72 |
proj=latlong |
73 |
# to_meter=0.017453 |
74 |
ellps=clrk66 |
75 |
END |
76 |
END |
77 |
|
78 |
LAYER |
79 |
NAME "political" |
80 |
DATA political |
81 |
TYPE POLYGON |
82 |
STATUS OFF |
83 |
CLASS |
84 |
NAME "test" |
85 |
STYLE |
86 |
OUTLINECOLOR 0 0 0 |
87 |
COLOR 100 200 100 |
88 |
END |
89 |
SIZE 2 |
90 |
END |
91 |
|
92 |
PROJECTION |
93 |
proj=latlong |
94 |
ellps=clrk66 |
95 |
END |
96 |
|
97 |
METADATA |
98 |
"landinfo" "Iceland" |
99 |
"origin" "Thuban Sample Data" |
100 |
END |
101 |
END |
102 |
|
103 |
LAYER |
104 |
NAME "roads" |
105 |
DATA roads-line |
106 |
GROUP infrastructure |
107 |
TYPE LINE |
108 |
STATUS ON |
109 |
CLASS |
110 |
NAME "Begin - 418" |
111 |
EXPRESSION ([RDLINE_ID]<=418) |
112 |
STYLE |
113 |
COLOR 255 255 255 |
114 |
SIZE 1 |
115 |
SYMBOL 0 |
116 |
END |
117 |
END |
118 |
CLASS |
119 |
NAME "419 - 836" |
120 |
EXPRESSION ([RDLINE_ID] > 418 AND [RDLINE_ID] <= 836) |
121 |
STYLE |
122 |
COLOR 127 127 127 |
123 |
SIZE 1 |
124 |
SYMBOL 0 |
125 |
END |
126 |
END |
127 |
CLASS |
128 |
NAME "837 - End" |
129 |
EXPRESSION ([RDLINE_ID] > 836) |
130 |
STYLE |
131 |
COLOR 0 0 0 |
132 |
SIZE 1 |
133 |
SYMBOL 0 |
134 |
END |
135 |
END |
136 |
CLASS |
137 |
NAME "Rest" |
138 |
STYLE |
139 |
COLOR 100 100 100 |
140 |
SIZE 1 |
141 |
Symbol 0 |
142 |
END |
143 |
END |
144 |
PROJECTION |
145 |
proj=latlong |
146 |
ellps=clrk66 |
147 |
END |
148 |
END |
149 |
|
150 |
LAYER |
151 |
NAME "cultural" |
152 |
DATA cultural_landmark-point |
153 |
GROUP infrastructure |
154 |
TYPE POINT |
155 |
STATUS ON |
156 |
CLASSITEM 'CLPOINT_' |
157 |
CLASS |
158 |
NAME "Point 9" |
159 |
EXPRESSION '9' |
160 |
STATUS OFF |
161 |
STYLE |
162 |
COLOR 255 200 0 |
163 |
SYMBOL 'circle' |
164 |
SIZE 8 |
165 |
END |
166 |
END |
167 |
CLASS |
168 |
NAME "test3" |
169 |
# EXPRESSION /./ |
170 |
STYLE |
171 |
COLOR 200 0 0 |
172 |
SYMBOL 'circle' |
173 |
SIZE 7 |
174 |
END |
175 |
END |
176 |
CLASS |
177 |
NAME "Point 11" |
178 |
EXPRESSION "11" |
179 |
STYLE |
180 |
COLOR 255 150 0 |
181 |
SYMBOL 'circle' |
182 |
SIZE 7 |
183 |
END |
184 |
END |
185 |
|
186 |
PROJECTION |
187 |
proj=latlong |
188 |
ellps=clrk66 |
189 |
END |
190 |
END |
191 |
|
192 |
LAYER |
193 |
NAME "cultural_type" |
194 |
TYPE ANNOTATION |
195 |
DATA cultural_landmark-point |
196 |
STATUS OFF |
197 |
|
198 |
LABELITEM "CLPTLABEL" |
199 |
CLASSITEM "CLPTLABEL" |
200 |
CLASS |
201 |
EXPRESSION /./ |
202 |
# COLOR 232 232 232 |
203 |
LABEL |
204 |
COLOR 0 0 0 |
205 |
# SHADOWCOLOR 218 218 218 |
206 |
# SHADOWSIZE 2 2 |
207 |
TYPE BITMAP |
208 |
SIZE Small |
209 |
POSITION AUTO |
210 |
BUFFER 0 |
211 |
END |
212 |
END |
213 |
|
214 |
PROJECTION |
215 |
proj=latlong |
216 |
ellps=clrk66 |
217 |
END |
218 |
END |
219 |
|
220 |
END |