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 |
|
|
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 |
jschuengel |
2262 |
STATUS OFF |
82 |
jschuengel |
2245 |
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 "test2" |
104 |
|
|
STYLE |
105 |
|
|
#OUTLINECOLOR 0 0 0 |
106 |
|
|
color 50 50 50 |
107 |
|
|
END |
108 |
|
|
END |
109 |
|
|
|
110 |
|
|
PROJECTION |
111 |
|
|
proj=latlong |
112 |
|
|
ellps=clrk66 |
113 |
|
|
END |
114 |
|
|
END |
115 |
|
|
|
116 |
|
|
LAYER |
117 |
|
|
NAME "cultural" |
118 |
|
|
DATA cultural_landmark-point |
119 |
|
|
TYPE POINT |
120 |
|
|
STATUS ON |
121 |
|
|
CLASSITEM 'CLPOINT_' |
122 |
|
|
CLASS |
123 |
|
|
NAME "Point 9" |
124 |
|
|
EXPRESSION '9' |
125 |
|
|
STYLE |
126 |
|
|
COLOR 255 200 0 |
127 |
|
|
SYMBOL 'circle' |
128 |
|
|
SIZE 8 |
129 |
|
|
END |
130 |
|
|
END |
131 |
|
|
CLASS |
132 |
|
|
NAME "test3" |
133 |
|
|
# EXPRESSION /./ |
134 |
|
|
STYLE |
135 |
|
|
COLOR 200 0 0 |
136 |
|
|
SYMBOL 'circle' |
137 |
|
|
SIZE 7 |
138 |
|
|
END |
139 |
|
|
END |
140 |
|
|
CLASS |
141 |
|
|
NAME "Point 11" |
142 |
|
|
EXPRESSION "11" |
143 |
|
|
STYLE |
144 |
|
|
COLOR 255 150 0 |
145 |
|
|
SYMBOL 'circle' |
146 |
|
|
SIZE 7 |
147 |
|
|
END |
148 |
|
|
END |
149 |
|
|
|
150 |
|
|
PROJECTION |
151 |
|
|
proj=latlong |
152 |
|
|
ellps=clrk66 |
153 |
|
|
END |
154 |
|
|
END |
155 |
|
|
|
156 |
|
|
|
157 |
|
|
END |