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 |
|
|
|
20 |
|
|
EXTENT 622877.17 7019306.94 1095667.78 7447709.31 |
21 |
|
|
SHAPEPATH "../../../Data/iceland" |
22 |
|
|
IMAGECOLOR 82 102 230 |
23 |
|
|
IMAGETYPE PNG |
24 |
|
|
|
25 |
|
|
PROJECTION |
26 |
|
|
proj=utm |
27 |
|
|
ellps=clrk66 |
28 |
|
|
zone=26 |
29 |
|
|
north |
30 |
|
|
|
31 |
|
|
#"init=epsg:26915" |
32 |
|
|
END |
33 |
|
|
|
34 |
|
|
WEB |
35 |
|
|
TEMPLATE iceland.html |
36 |
|
|
# IMAGEPATH "/tmp/" |
37 |
|
|
# IMAGEURL "/tmp/" |
38 |
|
|
# LOG "/tmp/iceland.log" |
39 |
|
|
MINSCALE 100000 |
40 |
|
|
MAXSCALE 3000000 |
41 |
|
|
|
42 |
|
|
METADATA |
43 |
|
|
titel "Iceland Test" |
44 |
|
|
END |
45 |
|
|
END |
46 |
|
|
|
47 |
|
|
# ############################## |
48 |
|
|
# Start of symbol definitions (we're only using one for the circle layer) |
49 |
|
|
# ############################## |
50 |
|
|
SYMBOL |
51 |
|
|
NAME 'circle' |
52 |
|
|
TYPE ELLIPSE |
53 |
|
|
POINTS 1 1 END |
54 |
|
|
FILLED TRUE |
55 |
|
|
END |
56 |
|
|
|
57 |
|
|
|
58 |
|
|
# ############################### |
59 |
|
|
# Beginn der Layer Definitionen # |
60 |
|
|
# ############################### |
61 |
|
|
LAYER # raster layer |
62 |
|
|
NAME topographie |
63 |
|
|
DATA "island.tif" |
64 |
|
|
STATUS ON |
65 |
|
|
TYPE RASTER |
66 |
|
|
PROCESSING "BANDS=1" # use it to select which bands in a multispectral image are displayed |
67 |
|
|
OFFSITE 82 102 230 # This parameters tells MapServer what pixel values to render as background (or ignore) |
68 |
|
|
|
69 |
|
|
PROJECTION |
70 |
|
|
proj=latlong |
71 |
|
|
# to_meter=0.017453 |
72 |
|
|
ellps=clrk66 |
73 |
|
|
END |
74 |
|
|
END |
75 |
|
|
|
76 |
|
|
LAYER |
77 |
|
|
NAME "political" |
78 |
|
|
DATA political |
79 |
|
|
TYPE POLYGON |
80 |
|
|
STATUS ON |
81 |
|
|
CLASS |
82 |
|
|
NAME "test" |
83 |
|
|
STYLE |
84 |
|
|
OUTLINECOLOR 0 0 0 |
85 |
|
|
COLOR 100 200 100 |
86 |
|
|
END |
87 |
|
|
SIZE 2 |
88 |
|
|
END |
89 |
|
|
|
90 |
|
|
PROJECTION |
91 |
|
|
proj=latlong |
92 |
|
|
ellps=clrk66 |
93 |
|
|
END |
94 |
|
|
END |
95 |
|
|
|
96 |
|
|
LAYER |
97 |
|
|
NAME "roads" |
98 |
|
|
DATA roads-line |
99 |
|
|
TYPE LINE |
100 |
|
|
STATUS ON |
101 |
|
|
CLASS |
102 |
|
|
NAME "test2" |
103 |
|
|
STYLE |
104 |
|
|
#OUTLINECOLOR 0 0 0 |
105 |
|
|
color 50 50 50 |
106 |
|
|
END |
107 |
|
|
END |
108 |
|
|
|
109 |
|
|
PROJECTION |
110 |
|
|
proj=latlong |
111 |
|
|
ellps=clrk66 |
112 |
|
|
END |
113 |
|
|
END |
114 |
|
|
|
115 |
|
|
LAYER |
116 |
|
|
NAME "cultural" |
117 |
|
|
DATA cultural_landmark-point |
118 |
|
|
TYPE POINT |
119 |
|
|
STATUS ON |
120 |
|
|
CLASSITEM 'CLPOINT_' |
121 |
|
|
CLASS |
122 |
|
|
NAME "Point 9" |
123 |
|
|
EXPRESSION '9' |
124 |
|
|
STYLE |
125 |
|
|
COLOR 255 200 0 |
126 |
|
|
SYMBOL 'circle' |
127 |
|
|
SIZE 8 |
128 |
|
|
END |
129 |
|
|
END |
130 |
|
|
CLASS |
131 |
|
|
NAME "test3" |
132 |
|
|
# EXPRESSION /./ |
133 |
|
|
STYLE |
134 |
|
|
COLOR 200 0 0 |
135 |
|
|
SYMBOL 'circle' |
136 |
|
|
SIZE 7 |
137 |
|
|
END |
138 |
|
|
END |
139 |
|
|
CLASS |
140 |
|
|
NAME "Point 11" |
141 |
|
|
EXPRESSION "11" |
142 |
|
|
STYLE |
143 |
|
|
COLOR 255 150 0 |
144 |
|
|
SYMBOL 'circle' |
145 |
|
|
SIZE 7 |
146 |
|
|
END |
147 |
|
|
END |
148 |
|
|
|
149 |
|
|
PROJECTION |
150 |
|
|
proj=latlong |
151 |
|
|
ellps=clrk66 |
152 |
|
|
END |
153 |
|
|
END |
154 |
|
|
|
155 |
|
|
|
156 |
|
|
END |