/[thuban]/branches/WIP-pyshapelib-bramz/Extensions/umn_mapserver/sample/iceland.map
ViewVC logotype

Annotation of /branches/WIP-pyshapelib-bramz/Extensions/umn_mapserver/sample/iceland.map

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2320 - (hide annotations)
Tue Aug 3 11:58:55 2004 UTC (20 years, 7 months ago) by jschuengel
Original Path: trunk/thuban/Extensions/umn_mapserver/sample/iceland.map
File size: 3714 byte(s)
Added the group parameter to the roads and cultural layers. Also added a new
Annotation Layer for the cultural points.

1 jschuengel 2245 # 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 jschuengel 2262 UNITS METERS
20 jschuengel 2245
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 jschuengel 2305 author "Jan Schuengel"
46 jschuengel 2245 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 jschuengel 2262 STATUS OFF
83 jschuengel 2245 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 jschuengel 2305
97     METADATA
98     "landinfo" "Iceland"
99     "origin" "Thuban Sample Data"
100     END
101 jschuengel 2245 END
102    
103     LAYER
104     NAME "roads"
105     DATA roads-line
106 jschuengel 2320 GROUP infrastructure
107 jschuengel 2245 TYPE LINE
108     STATUS ON
109     CLASS
110 jschuengel 2280 NAME "Begin - 418"
111 jschuengel 2305 EXPRESSION ([RDLINE_ID]<=418)
112 jschuengel 2280 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 jschuengel 2245 STYLE
122 jschuengel 2280 COLOR 127 127 127
123     SIZE 1
124     SYMBOL 0
125 jschuengel 2245 END
126 jschuengel 2280 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 jschuengel 2245 proj=latlong
146     ellps=clrk66
147 jschuengel 2280 END
148 jschuengel 2245 END
149    
150     LAYER
151     NAME "cultural"
152     DATA cultural_landmark-point
153 jschuengel 2320 GROUP infrastructure
154 jschuengel 2245 TYPE POINT
155     STATUS ON
156     CLASSITEM 'CLPOINT_'
157     CLASS
158     NAME "Point 9"
159     EXPRESSION '9'
160 jschuengel 2280 STATUS OFF
161 jschuengel 2245 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 jschuengel 2320 LAYER
193     NAME "cultural_type"
194     TYPE ANNOTATION
195     DATA cultural_landmark-point
196     STATUS DEFAULT
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 jschuengel 2245
220     END

Properties

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26