File: mapfile-test.xml

package info (click to toggle)
mapserver 5.6.5-2%2Bsqueeze3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 15,900 kB
  • ctags: 25,593
  • sloc: ansic: 201,813; cpp: 49,629; cs: 11,792; python: 5,233; perl: 3,249; sh: 1,199; makefile: 884; lex: 592; java: 466; xml: 373; yacc: 334; tcl: 158; ruby: 53
file content (212 lines) | stat: -rw-r--r-- 6,946 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<?xml version="1.0" encoding="UTF-8"?>
<Map name="xmlmapfile" xmlns="http://www.mapserver.org/mapserver" status="ON" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mapserver.org/mapserver ../mapfile.xsd" version="5.6.0">
	<angle>10</angle>
	<Config>
		<item name="CGI_CONTEXT_URL">http://mapgears.com/context/mapgears.xml</item>
		<item name="MS_ENCRYPTION_KEY">dfas2klaed2v 3384knkju3k23</item>
		<item name="MS_ERRORFILE">/tmp/ms_error.txt</item>
	</Config>
	<dataPattern>$#[a-e]?</dataPattern>
	<debug>2</debug>
	<defResolution>72</defResolution>
	<extent>-180.0 -90.0 180.0 90.0</extent>
	<fontSet>../etc/fonts.txt</fontSet>
	<imageColor red="0" green="255" blue="255"/>
	<imageType>png</imageType>
        <include>/tmp/myLayerSet.map</include>
	<Legend status="ON">
		<imageColor red="255" green="255" blue="255"/>
		<keySize x="20" y="10"/>
		<keySpacing x="5" y="5"/>
		<Label type="TRUETYPE">
			<align>CENTER</align>
			<angle>FOLLOW</angle>
			<antialias>TRUE</antialias>
			<backgroundColor red="244" green="43" blue="22"/>
			<backgroundShadowColor red="244" green="43" blue="22"/>
			<backgroundShadowSize x="2" y="2"/>
			<buffer>2</buffer>
			<colorAttribute>[myColor]</colorAttribute>
			<encoding>ISO 8859-1</encoding>
			<font>serif</font>
			<force>TRUE</force>
			<maxLength>244</maxLength>
			<maxSize>244</maxSize>
			<minDistance>24</minDistance>
			<minFeatureSize>AUTO</minFeatureSize>
			<minSize>6</minSize>
			<offset x="12" y="33"/>
			<outlineColor red="244" green="43" blue="22"/>
			<outlineWidth>13</outlineWidth>
			<partials>TRUE</partials>
			<position>LL</position>
			<priority>5</priority>
			<shadowColor red="244" green="43" blue="22"/>
			<shadowSize x="15" y="14"/>
			<size>SMALL</size>
			<wrap>\n</wrap>
		</Label>
		<outlineColor red="244" green="43" blue="22"/>
		<position>LR</position>
		<postLabelCache>FALSE</postLabelCache>
		<template>ttt.html</template>
	</Legend>
	<maxSize>2048</maxSize>
        <OutputFormat name="GTiff">
          <driver>GDAL/GTIFF</driver>
          <extension>tiff</extension>
          <formatOption>TILED=YES</formatOption>
          <imageMode>FLOAT32</imageMode>
          <mimeType>image/tiff</mimeType>
          <transparent>OFF</transparent>
        </OutputFormat>
        <OutputFormat name="PNG">
          <driver>AGG/PNG</driver>
          <extension>png</extension>
          <formatOption>TILED=YES</formatOption>
          <imageMode>RGB</imageMode>
          <mimeType>image/png</mimeType>
          <transparent>ON</transparent>
        </OutputFormat>
	<projection>
          proj=utm
          ellps=GRS80
          datum=NAD83
          zone=15
          units=m
          north
          no_defs
        </projection>
	<QueryMap status="ON">
		<color red="244" green="43" blue="22"/>
		<size x="600" y="400"/>
		<style>SELECTED</style>
	</QueryMap>
	<Reference status="ON">
		<color red="244" green="43" blue="22"/>
		<extent>-10.0 -9.0 10.0 9.0</extent>
		<image>/home/myusername/ref1.png</image>
		<marker>star</marker>
		<markerSize>3</markerSize>
		<maxBoxSize>24</maxBoxSize>
		<minBoxSize>4</minBoxSize>
		<outlineColor red="244" green="43" blue="22"/>
		<size x="6" y="4"/>
	</Reference>
	<resolution>72</resolution>
	<scaleDenom>24000</scaleDenom>
	<ScaleBar status="EMBED">
		<align>CENTER</align>
		<backgroundColor red="244" green="43" blue="22"/>
		<color red="244" green="43" blue="22"/>
		<imageColor red="0" green="255" blue="255"/>
		<intervals>5</intervals>
		<Label type="TRUETYPE">
			<align>CENTER</align>
			<angle>[myAngle]</angle>
			<antialias>FALSE</antialias>
			<backgroundColor red="244" green="43" blue="22"/>
			<backgroundShadowColor red="244" green="43" blue="22"/>
			<backgroundShadowSize x="2" y="2"/>
			<buffer>2</buffer>
			<colorAttribute>[myColor]</colorAttribute>
			<encoding>ISO 8859-1</encoding>
			<font>serif</font>
			<force>TRUE</force>
			<maxLength>244</maxLength>
			<maxSize>244</maxSize>
			<minDistance>24</minDistance>
			<minFeatureSize>AUTO</minFeatureSize>
			<minSize>6</minSize>
			<offset x="12" y="33"/>
			<outlineColor red="244" green="43" blue="22"/>
			<outlineWidth>13</outlineWidth>
			<partials>TRUE</partials>
			<position>LL</position>
			<priority>5</priority>
			<shadowColor red="244" green="43" blue="22"/>
			<shadowSize x="15" y="14"/>
			<size>SMALL</size>
			<wrap>\n</wrap>
		</Label>
		<outlineColor red="12" green="45" blue="12"/>
		<position>LR</position>
		<postLabelCache>TRUE</postLabelCache>
		<size x="90" y="8"/>
		<style>0</style>
                <transparent>ON</transparent>
		<units>NAUTICALMILES</units>
	</ScaleBar>
	<shapePath>../data</shapePath>
	<size x="600" y="400"/>
	<symbolSet>/tmp/mySymbolSet.sym</symbolSet>
	<Symbol name="mySymbol2-test2" type="CARTOLINE">
		<antialias>FALSE</antialias>
		<character>C</character>
		<filled>TRUE</filled>
		<font>serif</font>
		<gap>13</gap>
		<image>/tmp/test.gif</image>
		<lineCap>ROUND</lineCap>
		<lineJoin>BEVEL</lineJoin>
		<lineJoinMaxSize>3</lineJoinMaxSize>
		<pattern>2 3</pattern>
		<Points>
			<point x="2" y="-3"/>
		</Points>
		<transparent>123</transparent>
	</Symbol>
        <Symbol name="mySymbol222-test1" type="CARTOLINE">
          <antialias>FALSE</antialias>
          <character>C</character>
          <filled>TRUE</filled>
          <font>serif</font>
          <gap>13</gap>
          <image>/tmp/test.gif</image>
          <lineCap>ROUND</lineCap>
          <lineJoin>BEVEL</lineJoin>
          <lineJoinMaxSize>3</lineJoinMaxSize>
          <pattern>2 3</pattern>
          <Points>
            <point x="2" y="-3"/>
          </Points>
          <transparent>123</transparent>
        </Symbol>
	<templatePattern>[$ir-wz]*.html</templatePattern>
	<units>MILES</units>
        <Web>
          <browseFormat>text/html</browseFormat>
          <empty>../errors/queryfail1.html</empty>
          <error>../errors/error1.html</error>
          <footer>../templates/footer1.html</footer>
          <header>../templates/header.html</header>
          <imagePath>/tmp/ms_tmp/</imagePath>
          <imageUrl>/ms_tmp/</imageUrl>
          <legendFormat>text/html</legendFormat>
          <log>../logs/ms.log</log>
          <maxScaleDenom>240000</maxScaleDenom>
          <maxTemplate>../templates/maxtemplate1.html</maxTemplate>
          <Metadata>
            <item name="description">Cities</item>
            <item name="title">The Cities</item>
            <item name="author">Norm</item>
          </Metadata>
          <minScaleDenom>120000</minScaleDenom>
          <minTemplate>../templates/mintemplate1.html</minTemplate>
          <queryFormat>text/html</queryFormat>
          <template>http://mapgears.com/templates/myTemplates1.html</template>
          <Validation>
            <item name="firstname">^[a-zA-Z\-]+$</item>
            <item name="taxid">^[A-Z]{2}[0-9]{6}$</item>
          </Validation>
	</Web>
</Map>