/[thuban]/trunk/thuban/Extensions/umn_mapserver/sample/iceland.map
ViewVC logotype

Contents of /trunk/thuban/Extensions/umn_mapserver/sample/iceland.map

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2280 - (show annotations)
Wed Jul 14 10:33:24 2004 UTC (20 years, 7 months ago) by jschuengel
File size: 3089 byte(s)
Include three new classes in the Line Layer, to test logical Expressions.
Set the status of the class "Point9" in the Point Layer to off

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 END
46 END
47
48 # ##############################
49 # Start of symbol definitions (we're only using one for the circle layer)
50 # ##############################
51 SYMBOL
52 NAME 'circle'
53 TYPE ELLIPSE
54 POINTS 1 1 END
55 FILLED TRUE
56 END
57
58
59 # ###############################
60 # Beginn der Layer Definitionen #
61 # ###############################
62 LAYER # raster layer
63 NAME topographie
64 DATA "island.tif"
65 STATUS ON
66 TYPE RASTER
67 PROCESSING "BANDS=1" # use it to select which bands in a multispectral image are displayed
68 OFFSITE 82 102 230 # This parameters tells MapServer what pixel values to render as background (or ignore)
69
70 PROJECTION
71 proj=latlong
72 # to_meter=0.017453
73 ellps=clrk66
74 END
75 END
76
77 LAYER
78 NAME "political"
79 DATA political
80 TYPE POLYGON
81 STATUS OFF
82 CLASS
83 NAME "test"
84 STYLE
85 OUTLINECOLOR 0 0 0
86 COLOR 100 200 100
87 END
88 SIZE 2
89 END
90
91 PROJECTION
92 proj=latlong
93 ellps=clrk66
94 END
95 END
96
97 LAYER
98 NAME "roads"
99 DATA roads-line
100 TYPE LINE
101 STATUS ON
102 CLASS
103 NAME "Begin - 418"
104 EXPRESSION ([RDLINE_ID] <= 418)
105 STYLE
106 COLOR 255 255 255
107 SIZE 1
108 SYMBOL 0
109 END
110 END
111 CLASS
112 NAME "419 - 836"
113 EXPRESSION ([RDLINE_ID] > 418 AND [RDLINE_ID] <= 836)
114 STYLE
115 COLOR 127 127 127
116 SIZE 1
117 SYMBOL 0
118 END
119 END
120 CLASS
121 NAME "837 - End"
122 EXPRESSION ([RDLINE_ID] > 836)
123 STYLE
124 COLOR 0 0 0
125 SIZE 1
126 SYMBOL 0
127 END
128 END
129 CLASS
130 NAME "Rest"
131 STYLE
132 COLOR 100 100 100
133 SIZE 1
134 Symbol 0
135 END
136 END
137 PROJECTION
138 proj=latlong
139 ellps=clrk66
140 END
141 END
142
143 LAYER
144 NAME "cultural"
145 DATA cultural_landmark-point
146 TYPE POINT
147 STATUS ON
148 CLASSITEM 'CLPOINT_'
149 CLASS
150 NAME "Point 9"
151 EXPRESSION '9'
152 STATUS OFF
153 STYLE
154 COLOR 255 200 0
155 SYMBOL 'circle'
156 SIZE 8
157 END
158 END
159 CLASS
160 NAME "test3"
161 # EXPRESSION /./
162 STYLE
163 COLOR 200 0 0
164 SYMBOL 'circle'
165 SIZE 7
166 END
167 END
168 CLASS
169 NAME "Point 11"
170 EXPRESSION "11"
171 STYLE
172 COLOR 255 150 0
173 SYMBOL 'circle'
174 SIZE 7
175 END
176 END
177
178 PROJECTION
179 proj=latlong
180 ellps=clrk66
181 END
182 END
183
184
185 END

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26