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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2305 - (hide annotations)
Wed Jul 28 12:41:06 2004 UTC (20 years, 7 months ago) by jschuengel
File size: 3201 byte(s)
Added a new metadata line to the mapobj and added metadata to the political layer.

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     TYPE LINE
107     STATUS ON
108     CLASS
109 jschuengel 2280 NAME "Begin - 418"
110 jschuengel 2305 EXPRESSION ([RDLINE_ID]<=418)
111 jschuengel 2280 STYLE
112     COLOR 255 255 255
113     SIZE 1
114     SYMBOL 0
115     END
116     END
117     CLASS
118     NAME "419 - 836"
119     EXPRESSION ([RDLINE_ID] > 418 AND [RDLINE_ID] <= 836)
120 jschuengel 2245 STYLE
121 jschuengel 2280 COLOR 127 127 127
122     SIZE 1
123     SYMBOL 0
124 jschuengel 2245 END
125 jschuengel 2280 END
126     CLASS
127     NAME "837 - End"
128     EXPRESSION ([RDLINE_ID] > 836)
129     STYLE
130     COLOR 0 0 0
131     SIZE 1
132     SYMBOL 0
133     END
134     END
135     CLASS
136     NAME "Rest"
137     STYLE
138     COLOR 100 100 100
139     SIZE 1
140     Symbol 0
141     END
142     END
143     PROJECTION
144 jschuengel 2245 proj=latlong
145     ellps=clrk66
146 jschuengel 2280 END
147 jschuengel 2245 END
148    
149     LAYER
150     NAME "cultural"
151     DATA cultural_landmark-point
152     TYPE POINT
153     STATUS ON
154     CLASSITEM 'CLPOINT_'
155     CLASS
156     NAME "Point 9"
157     EXPRESSION '9'
158 jschuengel 2280 STATUS OFF
159 jschuengel 2245 STYLE
160     COLOR 255 200 0
161     SYMBOL 'circle'
162     SIZE 8
163     END
164     END
165     CLASS
166     NAME "test3"
167     # EXPRESSION /./
168     STYLE
169     COLOR 200 0 0
170     SYMBOL 'circle'
171     SIZE 7
172     END
173     END
174     CLASS
175     NAME "Point 11"
176     EXPRESSION "11"
177     STYLE
178     COLOR 255 150 0
179     SYMBOL 'circle'
180     SIZE 7
181     END
182     END
183    
184     PROJECTION
185     proj=latlong
186     ellps=clrk66
187     END
188     END
189    
190    
191     END

Properties

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26