source: josm/trunk/test/data/wms/geofabrik-osm-inspector.xml@ 15456

Last change on this file since 15456 was 13733, checked in by wiktorn, 7 years ago

Imagery definition refactor

Extend imagery definitions by:

  • allowing setting default layers for WMS_ENDPOINT and WMTS
  • allowing setting minimum expires time for tile for this imagery
  • allowing setting custom headers that will be sent for all requests

(get map, get capabilities) for this imagery

Additional changes in code:

  • use TileJobOptions to pass miscellaneous options to loaders
  • refactor WMSImagery to use SAX parser

See: #15981, #7953, #16224, #15940, #16249

File size: 18.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<WMS_Capabilities version="1.3.0" xmlns="http://www.opengis.net/wms" xmlns:sld="http://www.opengis.net/sld" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd http://mapserver.gis.umn.edu/mapserver https://tools.geofabrik.de/osmi/views/geometry/wxs?service=WMS&amp;version=1.3.0&amp;request=GetSchemaExtension">
3
4<!-- MapServer version 7.0.0 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
5
6<Service>
7 <Name>WMS</Name>
8 <Title>Geofabrik Tools: OSM Inspector (Geometry)</Title>
9 <Abstract>OSM Inspector is a debugging tool for OpenStreetMap data.</Abstract>
10 <KeywordList>
11 <Keyword>Geofabrik</Keyword>
12 <Keyword>OpenStreetMap</Keyword>
13 <Keyword>OSM</Keyword>
14 <Keyword>OSM Inspector</Keyword>
15 </KeywordList>
16 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?"/>
17 <ContactInformation>
18 <ContactPersonPrimary>
19 <ContactPerson>Jochen Topf</ContactPerson>
20 <ContactOrganization>Geofabrik GmbH</ContactOrganization>
21 </ContactPersonPrimary>
22 <ContactVoiceTelephone>+49-721-1803560-0</ContactVoiceTelephone>
23 <ContactElectronicMailAddress>info@geofabrik.de</ContactElectronicMailAddress>
24 </ContactInformation>
25 <MaxWidth>2048</MaxWidth>
26 <MaxHeight>2048</MaxHeight>
27</Service>
28
29<Capability>
30 <Request>
31 <GetCapabilities>
32 <Format>text/xml</Format>
33 <DCPType>
34 <HTTP>
35 <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?"/></Get>
36 <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?"/></Post>
37 </HTTP>
38 </DCPType>
39 </GetCapabilities>
40 <GetMap>
41 <Format>image/png</Format>
42 <Format>image/jpeg</Format>
43 <Format>image/png; mode=8bit</Format>
44 <Format>application/x-pdf</Format>
45 <Format>image/svg+xml</Format>
46 <Format>image/tiff</Format>
47 <DCPType>
48 <HTTP>
49 <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?"/></Get>
50 <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?"/></Post>
51 </HTTP>
52 </DCPType>
53 </GetMap>
54 <GetFeatureInfo>
55 <Format>text/html</Format>
56 <Format>application/vnd.ogc.gml</Format>
57 <Format>text/plain</Format>
58 <DCPType>
59 <HTTP>
60 <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?"/></Get>
61 <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?"/></Post>
62 </HTTP>
63 </DCPType>
64 </GetFeatureInfo>
65 <sld:DescribeLayer>
66 <Format>text/xml</Format>
67 <DCPType>
68 <HTTP>
69 <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?"/></Get>
70 <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?"/></Post>
71 </HTTP>
72 </DCPType>
73 </sld:DescribeLayer>
74 <sld:GetLegendGraphic>
75 <Format>image/png</Format>
76 <Format>image/jpeg</Format>
77 <Format>image/png; mode=8bit</Format>
78 <DCPType>
79 <HTTP>
80 <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?"/></Get>
81 <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?"/></Post>
82 </HTTP>
83 </DCPType>
84 </sld:GetLegendGraphic>
85 <ms:GetStyles>
86 <Format>text/xml</Format>
87 <DCPType>
88 <HTTP>
89 <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?"/></Get>
90 <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?"/></Post>
91 </HTTP>
92 </DCPType>
93 </ms:GetStyles>
94 </Request>
95 <Exception>
96 <Format>XML</Format>
97 <Format>INIMAGE</Format>
98 <Format>BLANK</Format>
99 </Exception>
100 <sld:UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1" RemoteWFS="0" InlineFeature="0" RemoteWCS="0"/>
101 <Layer>
102 <Name>geofabrik_tools_osminspector_geometry</Name>
103 <Title>Geofabrik Tools: OSM Inspector (Geometry)</Title>
104 <Abstract>OSM Inspector is a debugging tool for OpenStreetMap data.</Abstract>
105 <KeywordList>
106 <Keyword>Geofabrik</Keyword>
107 <Keyword>OpenStreetMap</Keyword>
108 <Keyword>OSM</Keyword>
109 <Keyword>OSM Inspector</Keyword>
110 </KeywordList>
111 <CRS>EPSG:4326</CRS>
112 <CRS>EPSG:900913</CRS>
113 <EX_GeographicBoundingBox>
114 <westBoundLongitude>-180</westBoundLongitude>
115 <eastBoundLongitude>180</eastBoundLongitude>
116 <southBoundLatitude>-83</southBoundLatitude>
117 <northBoundLatitude>83</northBoundLatitude>
118 </EX_GeographicBoundingBox>
119 <BoundingBox CRS="EPSG:900913" minx="-2.00375e+07" miny="-1.78219e+07" maxx="2.00375e+07" maxy="1.78219e+07"/>
120 <Attribution>
121 <Title>Geofabrik GmbH/OpenStreetMap Contributors</Title>
122 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.geofabrik.de/"/>
123 </Attribution>
124 <Layer queryable="1" opaque="0" cascaded="0">
125 <Name>long_segments</Name>
126 <Title>Long segments</Title>
127 <Abstract>Segments (direct connection between two nodes in a way) longer than 20 km.</Abstract>
128 <KeywordList>
129 <Keyword>datasrc=OSM</Keyword>
130 <Keyword>min=2</Keyword>
131 <Keyword>max=22</Keyword>
132 </KeywordList>
133 <CRS>EPSG:4326</CRS>
134 <CRS>EPSG:900913</CRS>
135 <EX_GeographicBoundingBox>
136 <westBoundLongitude>-180</westBoundLongitude>
137 <eastBoundLongitude>180</eastBoundLongitude>
138 <southBoundLatitude>-89</southBoundLatitude>
139 <northBoundLatitude>84.6946</northBoundLatitude>
140 </EX_GeographicBoundingBox>
141 <BoundingBox CRS="EPSG:4326" minx="-89" miny="-180" maxx="84.6946" maxy="180"/>
142 <Style>
143 <Name>default</Name>
144 <Title>default</Title>
145 <LegendURL width="123" height="23">
146 <Format>image/png</Format>
147 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?version=1.3.0&amp;service=WMS&amp;request=GetLegendGraphic&amp;sld_version=1.1.0&amp;layer=long_segments&amp;format=image/png&amp;STYLE=default"/>
148 </LegendURL>
149 </Style>
150 <MinScaleDenominator>1</MinScaleDenominator>
151 <MaxScaleDenominator>2e+08</MaxScaleDenominator>
152 </Layer>
153 <Layer queryable="1" opaque="0" cascaded="0">
154 <Name>ways_with_long_segments</Name>
155 <Title>Ways with long segments</Title>
156 <Abstract>Ways containing segments longer than 20 km.</Abstract>
157 <KeywordList>
158 <Keyword>datasrc=OSM</Keyword>
159 <Keyword>min=2</Keyword>
160 <Keyword>max=22</Keyword>
161 <Keyword>label=tags</Keyword>
162 <Keyword>labelmin=10</Keyword>
163 <Keyword>labelmax=22</Keyword>
164 </KeywordList>
165 <CRS>EPSG:4326</CRS>
166 <CRS>EPSG:900913</CRS>
167 <EX_GeographicBoundingBox>
168 <westBoundLongitude>-180</westBoundLongitude>
169 <eastBoundLongitude>180</eastBoundLongitude>
170 <southBoundLatitude>-89</southBoundLatitude>
171 <northBoundLatitude>84.6946</northBoundLatitude>
172 </EX_GeographicBoundingBox>
173 <BoundingBox CRS="EPSG:4326" minx="-89" miny="-180" maxx="84.6946" maxy="180"/>
174 <Style>
175 <Name>default</Name>
176 <Title>default</Title>
177 <LegendURL width="190" height="23">
178 <Format>image/png</Format>
179 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?version=1.3.0&amp;service=WMS&amp;request=GetLegendGraphic&amp;sld_version=1.1.0&amp;layer=ways_with_long_segments&amp;format=image/png&amp;STYLE=default"/>
180 </LegendURL>
181 </Style>
182 <MinScaleDenominator>1</MinScaleDenominator>
183 <MaxScaleDenominator>2e+08</MaxScaleDenominator>
184 </Layer>
185 <Layer queryable="1" opaque="0" cascaded="0">
186 <Name>long_ways</Name>
187 <Title>Long ways</Title>
188 <Abstract>Ways with more than 1900 nodes. The API allows a way to have up to 2000 nodes, but shorter ways are easier to edit.</Abstract>
189 <KeywordList>
190 <Keyword>datasrc=OSM</Keyword>
191 <Keyword>min=4</Keyword>
192 <Keyword>max=22</Keyword>
193 <Keyword>label=tags</Keyword>
194 <Keyword>labelmin=10</Keyword>
195 <Keyword>labelmax=22</Keyword>
196 </KeywordList>
197 <CRS>EPSG:4326</CRS>
198 <CRS>EPSG:900913</CRS>
199 <EX_GeographicBoundingBox>
200 <westBoundLongitude>-176.788</westBoundLongitude>
201 <eastBoundLongitude>176.947</eastBoundLongitude>
202 <southBoundLatitude>-83.335</southBoundLatitude>
203 <northBoundLatitude>82.9911</northBoundLatitude>
204 </EX_GeographicBoundingBox>
205 <BoundingBox CRS="EPSG:4326" minx="-83.335" miny="-176.788" maxx="82.9911" maxy="176.947"/>
206 <Style>
207 <Name>default</Name>
208 <Title>default</Title>
209 <LegendURL width="96" height="23">
210 <Format>image/png</Format>
211 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?version=1.3.0&amp;service=WMS&amp;request=GetLegendGraphic&amp;sld_version=1.1.0&amp;layer=long_ways&amp;format=image/png&amp;STYLE=default"/>
212 </LegendURL>
213 </Style>
214 <MinScaleDenominator>1</MinScaleDenominator>
215 <MaxScaleDenominator>1e+08</MaxScaleDenominator>
216 </Layer>
217 <Layer queryable="1" opaque="0" cascaded="0">
218 <Name>single_node_in_way</Name>
219 <Title>Way with single node</Title>
220 <Abstract>Ways containing just a single node. This should not happen and needs to be fixed.</Abstract>
221 <KeywordList>
222 <Keyword>datasrc=OSM</Keyword>
223 <Keyword>min=3</Keyword>
224 <Keyword>max=22</Keyword>
225 <Keyword>label=tags</Keyword>
226 <Keyword>labelmin=10</Keyword>
227 <Keyword>labelmax=22</Keyword>
228 </KeywordList>
229 <CRS>EPSG:4326</CRS>
230 <CRS>EPSG:900913</CRS>
231 <EX_GeographicBoundingBox>
232 <westBoundLongitude>-9.37981</westBoundLongitude>
233 <eastBoundLongitude>112.258</eastBoundLongitude>
234 <southBoundLatitude>14.8906</southBoundLatitude>
235 <northBoundLatitude>53.8984</northBoundLatitude>
236 </EX_GeographicBoundingBox>
237 <BoundingBox CRS="EPSG:4326" minx="14.8906" miny="-9.37981" maxx="53.8984" maxy="112.258"/>
238 <Style>
239 <Name>default</Name>
240 <Title>default</Title>
241 <LegendURL width="151" height="23">
242 <Format>image/png</Format>
243 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?version=1.3.0&amp;service=WMS&amp;request=GetLegendGraphic&amp;sld_version=1.1.0&amp;layer=single_node_in_way&amp;format=image/png&amp;STYLE=default"/>
244 </LegendURL>
245 </Style>
246 <MinScaleDenominator>1</MinScaleDenominator>
247 <MaxScaleDenominator>1e+08</MaxScaleDenominator>
248 </Layer>
249 <Layer queryable="1" opaque="0" cascaded="0">
250 <Name>duplicate_node_in_way</Name>
251 <Title>Way with duplicate node</Title>
252 <Abstract>Ways containing a node twice (or more times) right next to each other. This should not happen and needs to be fixed. Subsequent nodes with the same location (but different ID) are flagged as errors, too.</Abstract>
253 <KeywordList>
254 <Keyword>datasrc=OSM</Keyword>
255 <Keyword>min=4</Keyword>
256 <Keyword>max=22</Keyword>
257 </KeywordList>
258 <CRS>EPSG:4326</CRS>
259 <CRS>EPSG:900913</CRS>
260 <EX_GeographicBoundingBox>
261 <westBoundLongitude>-175.067</westBoundLongitude>
262 <eastBoundLongitude>174.828</eastBoundLongitude>
263 <southBoundLatitude>-45.9067</southBoundLatitude>
264 <northBoundLatitude>73.4486</northBoundLatitude>
265 </EX_GeographicBoundingBox>
266 <BoundingBox CRS="EPSG:4326" minx="-45.9067" miny="-175.067" maxx="73.4486" maxy="174.828"/>
267 <Style>
268 <Name>default</Name>
269 <Title>default</Title>
270 <LegendURL width="170" height="23">
271 <Format>image/png</Format>
272 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?version=1.3.0&amp;service=WMS&amp;request=GetLegendGraphic&amp;sld_version=1.1.0&amp;layer=duplicate_node_in_way&amp;format=image/png&amp;STYLE=default"/>
273 </LegendURL>
274 </Style>
275 <MinScaleDenominator>1</MinScaleDenominator>
276 <MaxScaleDenominator>5e+07</MaxScaleDenominator>
277 </Layer>
278 <Layer queryable="1" opaque="0" cascaded="0">
279 <Name>duplicate_node_in_way_way</Name>
280 <Title>Way with duplicate node</Title>
281 <Abstract>Ways containing a node twice (or more times) right next to each other. This should not happen and needs to be fixed. Subsequent nodes with the same location (but different ID) are flagged as errors, too.</Abstract>
282 <KeywordList>
283 <Keyword>datasrc=OSM</Keyword>
284 <Keyword>min=12</Keyword>
285 <Keyword>max=22</Keyword>
286 </KeywordList>
287 <CRS>EPSG:4326</CRS>
288 <CRS>EPSG:900913</CRS>
289 <EX_GeographicBoundingBox>
290 <westBoundLongitude>-175.067</westBoundLongitude>
291 <eastBoundLongitude>174.829</eastBoundLongitude>
292 <southBoundLatitude>-45.907</southBoundLatitude>
293 <northBoundLatitude>73.4615</northBoundLatitude>
294 </EX_GeographicBoundingBox>
295 <BoundingBox CRS="EPSG:4326" minx="-45.907" miny="-175.067" maxx="73.4615" maxy="174.829"/>
296 <Style>
297 <Name>default</Name>
298 <Title>default</Title>
299 <LegendURL width="170" height="23">
300 <Format>image/png</Format>
301 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?version=1.3.0&amp;service=WMS&amp;request=GetLegendGraphic&amp;sld_version=1.1.0&amp;layer=duplicate_node_in_way_way&amp;format=image/png&amp;STYLE=default"/>
302 </LegendURL>
303 </Style>
304 <MinScaleDenominator>1</MinScaleDenominator>
305 <MaxScaleDenominator>200000</MaxScaleDenominator>
306 </Layer>
307 <Layer queryable="1" opaque="0" cascaded="0">
308 <Name>self_intersection_ways</Name>
309 <Title>Self-intersecting ways</Title>
310 <Abstract>Ways that touch or intersect themselves. Only closed ways (where first and last nodes are the same) are tested. In most cases ways should not self-intersect, but there could be cases where it is ok. Check the tags before fixing.</Abstract>
311 <KeywordList>
312 <Keyword>datasrc=OSM</Keyword>
313 <Keyword>min=6</Keyword>
314 <Keyword>max=22</Keyword>
315 </KeywordList>
316 <CRS>EPSG:4326</CRS>
317 <CRS>EPSG:900913</CRS>
318 <EX_GeographicBoundingBox>
319 <westBoundLongitude>-179.999</westBoundLongitude>
320 <eastBoundLongitude>180</eastBoundLongitude>
321 <southBoundLatitude>-85.0546</southBoundLatitude>
322 <northBoundLatitude>87.0001</northBoundLatitude>
323 </EX_GeographicBoundingBox>
324 <BoundingBox CRS="EPSG:4326" minx="-85.0546" miny="-179.999" maxx="87.0001" maxy="180"/>
325 <Style>
326 <Name>default</Name>
327 <Title>default</Title>
328 <LegendURL width="65" height="20">
329 <Format>image/png</Format>
330 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?version=1.3.0&amp;service=WMS&amp;request=GetLegendGraphic&amp;sld_version=1.1.0&amp;layer=self_intersection_ways&amp;format=image/png&amp;STYLE=default"/>
331 </LegendURL>
332 </Style>
333 <MinScaleDenominator>1</MinScaleDenominator>
334 <MaxScaleDenominator>1.25e+07</MaxScaleDenominator>
335 </Layer>
336 <Layer queryable="1" opaque="0" cascaded="0">
337 <Name>self_intersection_points</Name>
338 <Title>Intersection points</Title>
339 <Abstract>Points where a way intersects itself.</Abstract>
340 <KeywordList>
341 <Keyword>datasrc=OSM</Keyword>
342 <Keyword>min=10</Keyword>
343 <Keyword>max=22</Keyword>
344 </KeywordList>
345 <CRS>EPSG:4326</CRS>
346 <CRS>EPSG:900913</CRS>
347 <EX_GeographicBoundingBox>
348 <westBoundLongitude>-179.989</westBoundLongitude>
349 <eastBoundLongitude>179.968</eastBoundLongitude>
350 <southBoundLatitude>-85.0542</southBoundLatitude>
351 <northBoundLatitude>87.0001</northBoundLatitude>
352 </EX_GeographicBoundingBox>
353 <BoundingBox CRS="EPSG:4326" minx="-85.0542" miny="-179.989" maxx="87.0001" maxy="179.968"/>
354 <Style>
355 <Name>default</Name>
356 <Title>default</Title>
357 <LegendURL width="111" height="20">
358 <Format>image/png</Format>
359 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://tools.geofabrik.de/osmi/views/geometry/wxs?version=1.3.0&amp;service=WMS&amp;request=GetLegendGraphic&amp;sld_version=1.1.0&amp;layer=self_intersection_points&amp;format=image/png&amp;STYLE=default"/>
360 </LegendURL>
361 </Style>
362 <MinScaleDenominator>1</MinScaleDenominator>
363 <MaxScaleDenominator>750000</MaxScaleDenominator>
364 </Layer>
365 </Layer>
366</Capability>
367</WMS_Capabilities>
Note: See TracBrowser for help on using the repository browser.