source: josm/trunk/styles_nodist/standard/overview.xsl@ 6366

Last change on this file since 6366 was 3864, checked in by bastiK, 13 years ago

change in build: do not copy elemstyles.xml to data folder, but distribute the entire styles folder like it is done with 'images' and 'data' (toplevel) folders

File size: 23.9 KB
Line 
1<?xml version="1.0" encoding="iso-8859-1"?>
2<xsl:stylesheet
3 version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 xmlns:html="http://www.w3.org/1999/xhtml"
6 exclude-result-prefixes="html"
7>
8
9 <xsl:output
10 method="xml"
11 indent="yes"
12 encoding="UTF-8"
13 />
14
15
16<xsl:variable name="column-width">2</xsl:variable>
17<xsl:variable name="xscale">10</xsl:variable>
18<xsl:variable name="yscale">10</xsl:variable>
19<xsl:variable name="areaoffset">4</xsl:variable>
20<xsl:variable name="ymax">41</xsl:variable>
21<xsl:variable name="ynextcol">29</xsl:variable>
22
23
24<xsl:template name="node-attributes">
25 <xsl:param name="id" />
26 <xsl:param name="x" />
27 <xsl:param name="y" />
28
29
30 <xsl:variable name="lon">
31 <xsl:choose>
32 <xsl:when test="$x &gt;= 1000"><xsl:value-of select="$x" /></xsl:when>
33 <xsl:when test="$x &gt;= 100">0<xsl:value-of select="$x" /></xsl:when>
34 <xsl:when test="$x &gt;= 10">00<xsl:value-of select="$x" /></xsl:when>
35 <xsl:otherwise>000<xsl:value-of select="$x" /></xsl:otherwise>
36 </xsl:choose>
37 </xsl:variable>
38
39 <xsl:variable name="lat">
40 <xsl:choose>
41 <xsl:when test="$y &gt;= 1000"><xsl:value-of select="$y" /></xsl:when>
42 <xsl:when test="$y &gt;= 100">0<xsl:value-of select="$y" /></xsl:when>
43 <xsl:when test="$y &gt;= 10">00<xsl:value-of select="$y" /></xsl:when>
44 <xsl:otherwise>000<xsl:value-of select="$y" /></xsl:otherwise>
45 </xsl:choose>
46 </xsl:variable>
47
48
49 <xsl:attribute name="id"><xsl:value-of select="$id" /></xsl:attribute>
50 <xsl:attribute name="user">overview-creator</xsl:attribute>
51 <xsl:attribute name="visible">true</xsl:attribute>
52 <xsl:attribute name="lat">-0.0<xsl:value-of select="$lat" /></xsl:attribute>
53 <xsl:attribute name="lon">0.0<xsl:value-of select="$lon" /></xsl:attribute>
54
55 <!-- debugging
56 <xsl:element name="tag">
57 <xsl:attribute name="k">x</xsl:attribute>
58 <xsl:attribute name="v"><xsl:value-of select="$x" /></xsl:attribute>
59 </xsl:element>
60
61 <xsl:element name="tag">
62 <xsl:attribute name="k">y</xsl:attribute>
63 <xsl:attribute name="v"><xsl:value-of select="$y" /></xsl:attribute>
64 </xsl:element>
65 -->
66
67 <!-- debugging
68 <xsl:element name="tag">
69 <xsl:attribute name="k">lat</xsl:attribute>
70 <xsl:attribute name="v"><xsl:value-of select="$lat" /></xsl:attribute>
71 </xsl:element>
72
73 <xsl:element name="tag">
74 <xsl:attribute name="k">lon</xsl:attribute>
75 <xsl:attribute name="v"><xsl:value-of select="$lon" /></xsl:attribute>
76 </xsl:element>
77 -->
78
79</xsl:template>
80
81
82
83<xsl:template name="rule">
84 <xsl:param name="index" />
85 <xsl:param name="xpos" />
86 <xsl:param name="ypos" />
87
88
89 <xsl:variable name="xoffset"><xsl:value-of select="number( ($xpos) * ($xscale + $column-width*$xscale) )" /></xsl:variable>
90 <xsl:variable name="yoffset"><xsl:value-of select="number($ypos*$yscale)" /></xsl:variable>
91 <xsl:variable name="idbase"><xsl:value-of select="number($xpos * 20000 + $ypos * 200)" /></xsl:variable>
92
93
94
95 <!-- ICON example -->
96 <xsl:element name="node">
97 <xsl:call-template name="node-attributes">
98 <xsl:with-param name="id" select="-number($idbase + 0)"/>
99 <xsl:with-param name="x" select="number( 0*$xscale + $xoffset )"/>
100 <xsl:with-param name="y" select="$yoffset"/>
101 </xsl:call-template>
102
103 <xsl:if test="rule[$index]/condition/@v">
104 <xsl:element name="tag">
105 <xsl:attribute name="k"><xsl:value-of select = "rule[$index]/condition/@k" /></xsl:attribute>
106 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@v" /></xsl:attribute>
107 </xsl:element>
108 <xsl:element name="tag">
109 <xsl:attribute name="k">name</xsl:attribute>
110 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@v" /></xsl:attribute>
111 </xsl:element>
112 </xsl:if>
113 <xsl:if test="rule[$index]/condition/@b">
114 <xsl:element name="tag">
115 <xsl:attribute name="k"><xsl:value-of select = "rule[$index]/condition/@k" /></xsl:attribute>
116 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@b" /></xsl:attribute>
117 </xsl:element>
118 <xsl:element name="tag">
119 <xsl:attribute name="k">name</xsl:attribute>
120 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@b" /></xsl:attribute>
121 </xsl:element>
122 </xsl:if>
123 <xsl:if test="not(rule[$index]/condition/@b) and not(rule[$index]/condition/@v)">
124 <xsl:element name="tag">
125 <xsl:attribute name="k"><xsl:value-of select = "rule[$index]/condition/@k" /></xsl:attribute>
126 <xsl:attribute name="v">any</xsl:attribute>
127 </xsl:element>
128 <xsl:element name="tag">
129 <xsl:attribute name="k">name</xsl:attribute>
130 <xsl:attribute name="v">(any)</xsl:attribute>
131 </xsl:element>
132 </xsl:if>
133 </xsl:element>
134
135
136 <!-- AREA / LINE example -->
137
138 <xsl:element name="node">
139 <xsl:call-template name="node-attributes">
140 <xsl:with-param name="id" select="-number($idbase + 1)"/>
141 <xsl:with-param name="x" select="number($xoffset - $areaoffset)"/>
142 <xsl:with-param name="y" select="number($yoffset - $areaoffset)"/>
143 </xsl:call-template>
144 <!--<xsl:element name="tag">
145 <xsl:attribute name="k">pos</xsl:attribute>
146 <xsl:attribute name="v">nw</xsl:attribute>
147 </xsl:element>-->
148 </xsl:element>
149
150 <xsl:element name="node">
151 <xsl:call-template name="node-attributes">
152 <xsl:with-param name="id" select="-number($idbase + 2)"/>
153 <xsl:with-param name="x" select="number($xoffset + $areaoffset + 2*$xscale)"/>
154 <xsl:with-param name="y" select="number($yoffset - $areaoffset)"/>
155 </xsl:call-template>
156 <!--<xsl:element name="tag">
157 <xsl:attribute name="k">pos</xsl:attribute>
158 <xsl:attribute name="v">ne</xsl:attribute>
159 </xsl:element>-->
160 </xsl:element>
161
162 <xsl:element name="node">
163 <xsl:call-template name="node-attributes">
164 <xsl:with-param name="id" select="-number($idbase + 3)"/>
165 <xsl:with-param name="x" select="number($xoffset + $areaoffset + 2*$xscale)"/>
166 <xsl:with-param name="y" select="number($yoffset + $areaoffset)"/>
167 </xsl:call-template>
168 <!--<xsl:element name="tag">
169 <xsl:attribute name="k">pos</xsl:attribute>
170 <xsl:attribute name="v">se</xsl:attribute>
171 </xsl:element>-->
172 </xsl:element>
173
174 <xsl:element name="node">
175 <xsl:call-template name="node-attributes">
176 <xsl:with-param name="id" select="-number($idbase + 4)"/>
177 <xsl:with-param name="x" select="number($xoffset - $areaoffset)"/>
178 <xsl:with-param name="y" select="number($yoffset + $areaoffset)"/>
179 </xsl:call-template>
180 <!--<xsl:element name="tag">
181 <xsl:attribute name="k">pos</xsl:attribute>
182 <xsl:attribute name="v">sw</xsl:attribute>
183 </xsl:element>-->
184 </xsl:element>
185
186
187 <xsl:element name="way">
188 <xsl:attribute name="id"><xsl:value-of select="-number($idbase + 4)" /></xsl:attribute>
189 <xsl:attribute name="user">overview-creator</xsl:attribute>
190 <xsl:attribute name="visible">true</xsl:attribute>
191
192 <xsl:element name="nd">
193 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 1)" /></xsl:attribute>
194 </xsl:element>
195 <xsl:element name="nd">
196 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 2)" /></xsl:attribute>
197 </xsl:element>
198 <xsl:element name="nd">
199 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 3)" /></xsl:attribute>
200 </xsl:element>
201 <xsl:element name="nd">
202 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 4)" /></xsl:attribute>
203 </xsl:element>
204 <xsl:element name="nd">
205 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 1)" /></xsl:attribute>
206 </xsl:element>
207
208 <xsl:if test="rule[$index]/condition/@v">
209 <xsl:element name="tag">
210 <xsl:attribute name="k"><xsl:value-of select = "rule[$index]/condition/@k" /></xsl:attribute>
211 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@v" /></xsl:attribute>
212 </xsl:element>
213 <xsl:element name="tag">
214 <xsl:attribute name="k">name</xsl:attribute>
215 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@v" /></xsl:attribute>
216 </xsl:element>
217 </xsl:if>
218 <xsl:if test="rule[$index]/condition/@b">
219 <xsl:element name="tag">
220 <xsl:attribute name="k"><xsl:value-of select = "rule[$index]/condition/@k" /></xsl:attribute>
221 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@b" /></xsl:attribute>
222 </xsl:element>
223 <xsl:element name="tag">
224 <xsl:attribute name="k">name</xsl:attribute>
225 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@b" /></xsl:attribute>
226 </xsl:element>
227 </xsl:if>
228 <xsl:if test="not(rule[$index]/condition/@b) and not(rule[$index]/condition/@v)">
229 <xsl:element name="tag">
230 <xsl:attribute name="k"><xsl:value-of select = "rule[$index]/condition/@k" /></xsl:attribute>
231 <xsl:attribute name="v">any</xsl:attribute>
232 </xsl:element>
233 <xsl:element name="tag">
234 <xsl:attribute name="k">name</xsl:attribute>
235 <xsl:attribute name="v">any</xsl:attribute>
236 </xsl:element>
237 </xsl:if>
238 </xsl:element>
239</xsl:template>
240
241
242<xsl:template name="posed_rules">
243
244 <xsl:param name="key"/>
245 <xsl:param name="index"/>
246 <xsl:param name="xpos"/>
247 <xsl:param name="ypos"/>
248
249 <xsl:if test="rule[$index]/condition/@k=$key">
250 <xsl:call-template name="rule">
251 <xsl:with-param name="index" select="$index"/>
252 <xsl:with-param name="xpos" select="$xpos"/>
253 <xsl:with-param name="ypos" select="$ypos"/>
254 </xsl:call-template>
255
256 <xsl:choose>
257 <xsl:when test="$ypos &lt; $ymax">
258 <!-- recursive call - increasing index and output counters -->
259 <xsl:call-template name="posed_rules">
260 <xsl:with-param name="key" select="$key"/>
261 <xsl:with-param name="index" select="$index + 1"/>
262 <xsl:with-param name="xpos" select="$xpos"/>
263 <xsl:with-param name="ypos" select="$ypos + 1"/>
264 </xsl:call-template>
265 </xsl:when>
266 <xsl:otherwise>
267 <!-- recursive call - increasing index and output counters -->
268 <xsl:call-template name="posed_rules">
269 <xsl:with-param name="key" select="$key"/>
270 <xsl:with-param name="index" select="$index + 1"/>
271 <xsl:with-param name="xpos" select="$xpos + 1"/>
272 <xsl:with-param name="ypos" select="$ynextcol"/>
273 </xsl:call-template>
274 </xsl:otherwise>
275 </xsl:choose>
276 </xsl:if>
277
278 <xsl:if test="rule[$index]/condition/@k!=$key">
279 <!-- recursive call - only increasing the index counter -->
280 <xsl:call-template name="posed_rules">
281 <xsl:with-param name="key" select="$key"/>
282 <xsl:with-param name="index" select="$index + 1"/>
283 <xsl:with-param name="xpos" select="$xpos"/>
284 <xsl:with-param name="ypos" select="$ypos"/>
285 </xsl:call-template>
286 </xsl:if>
287
288</xsl:template>
289
290
291<xsl:template name="topic">
292
293 <xsl:param name="key"/>
294 <xsl:param name="row"/>
295 <xsl:param name="column"/>
296
297
298 <xsl:variable name="xoffset"><xsl:value-of select="number( ($column) * ($xscale + $column-width*$xscale) )" /></xsl:variable>
299 <xsl:variable name="yoffset"><xsl:value-of select="number($row*$yscale)" /></xsl:variable>
300 <xsl:variable name="idbase"><xsl:value-of select="number($column * 20000 + $row * 200)" /></xsl:variable>
301
302
303 <!-- header item -->
304 <xsl:element name="node">
305 <xsl:call-template name="node-attributes">
306 <xsl:with-param name="id" select="-number($idbase)"/>
307 <xsl:with-param name="x" select="number($xoffset)"/>
308 <xsl:with-param name="y" select="number($yoffset)"/>
309 </xsl:call-template>
310
311 <xsl:element name="tag">
312 <xsl:attribute name="k"><xsl:value-of select = "'tourism'" /></xsl:attribute>
313 <xsl:attribute name="v"><xsl:value-of select = "'information'" /></xsl:attribute>
314 </xsl:element>
315 <xsl:element name="tag">
316 <xsl:attribute name="k">name</xsl:attribute>
317 <xsl:attribute name="v"><xsl:value-of select = "$key" /></xsl:attribute>
318 </xsl:element>
319 </xsl:element>
320
321 <!-- key related items -->
322 <xsl:call-template name="posed_rules">
323 <xsl:with-param name="key" select="$key"/>
324 <xsl:with-param name="index" select="1"/>
325 <xsl:with-param name="xpos" select="$column"/>
326 <xsl:with-param name="ypos" select="number($row + 1)"/>
327 </xsl:call-template>
328</xsl:template>
329
330
331<xsl:template match="rules">
332
333 <xsl:comment>DO NOT EDIT! THIS FILE IS GENERATED!!!</xsl:comment>
334 <xsl:element name="osm">
335 <xsl:attribute name="version">0.6</xsl:attribute>
336 <xsl:attribute name="generator">overview-creator.xslt</xsl:attribute>
337
338
339 <xsl:call-template name="topic">
340 <xsl:with-param name="key" select="'highway'"/>
341 <xsl:with-param name="column" select="1"/>
342 <xsl:with-param name="row" select="1"/>
343 </xsl:call-template>
344
345 <xsl:call-template name="topic">
346 <xsl:with-param name="key" select="'cycleway'"/>
347 <xsl:with-param name="column" select="2"/>
348 <xsl:with-param name="row" select="1"/>
349 </xsl:call-template>
350 <xsl:call-template name="topic">
351 <xsl:with-param name="key" select="'tracktype'"/>
352 <xsl:with-param name="column" select="2"/>
353 <xsl:with-param name="row" select="8"/>
354 </xsl:call-template>
355 <xsl:call-template name="topic">
356 <xsl:with-param name="key" select="'direction'"/>
357 <xsl:with-param name="column" select="2"/>
358 <xsl:with-param name="row" select="15"/>
359 </xsl:call-template>
360 <xsl:call-template name="topic">
361 <xsl:with-param name="key" select="'junction'"/>
362 <xsl:with-param name="column" select="2"/>
363 <xsl:with-param name="row" select="17"/>
364 </xsl:call-template>
365 <xsl:call-template name="topic">
366 <xsl:with-param name="key" select="'restriction'"/>
367 <xsl:with-param name="column" select="2"/>
368 <xsl:with-param name="row" select="20"/>
369 </xsl:call-template>
370 <xsl:call-template name="topic">
371 <xsl:with-param name="key" select="'tunnel'"/>
372 <xsl:with-param name="column" select="2"/>
373 <xsl:with-param name="row" select="36"/>
374 </xsl:call-template>
375 <xsl:call-template name="topic">
376 <xsl:with-param name="key" select="'mountain_pass'"/>
377 <xsl:with-param name="column" select="2"/>
378 <xsl:with-param name="row" select="40"/>
379 </xsl:call-template>
380
381 <xsl:call-template name="topic">
382 <xsl:with-param name="key" select="'barrier'"/>
383 <xsl:with-param name="column" select="3"/>
384 <xsl:with-param name="row" select="28"/>
385 </xsl:call-template>
386 <xsl:call-template name="topic">
387 <xsl:with-param name="key" select="'access'"/>
388 <xsl:with-param name="column" select="3"/>
389 <xsl:with-param name="row" select="1"/>
390 </xsl:call-template>
391 <xsl:call-template name="topic">
392 <xsl:with-param name="key" select="'bicycle'"/>
393 <xsl:with-param name="column" select="3"/>
394 <xsl:with-param name="row" select="3"/>
395 </xsl:call-template>
396 <xsl:call-template name="topic">
397 <xsl:with-param name="key" select="'foot'"/>
398 <xsl:with-param name="column" select="3"/>
399 <xsl:with-param name="row" select="6"/>
400 </xsl:call-template>
401 <xsl:call-template name="topic">
402 <xsl:with-param name="key" select="'goods'"/>
403 <xsl:with-param name="column" select="3"/>
404 <xsl:with-param name="row" select="10"/>
405 </xsl:call-template>
406 <xsl:call-template name="topic">
407 <xsl:with-param name="key" select="'hgv'"/>
408 <xsl:with-param name="column" select="3"/>
409 <xsl:with-param name="row" select="12"/>
410 </xsl:call-template>
411 <xsl:call-template name="topic">
412 <xsl:with-param name="key" select="'horse'"/>
413 <xsl:with-param name="column" select="3"/>
414 <xsl:with-param name="row" select="14"/>
415 </xsl:call-template>
416 <xsl:call-template name="topic">
417 <xsl:with-param name="key" select="'motorcycle'"/>
418 <xsl:with-param name="column" select="3"/>
419 <xsl:with-param name="row" select="17"/>
420 </xsl:call-template>
421 <xsl:call-template name="topic">
422 <xsl:with-param name="key" select="'motorcar'"/>
423 <xsl:with-param name="column" select="3"/>
424 <xsl:with-param name="row" select="19"/>
425 </xsl:call-template>
426 <xsl:call-template name="topic">
427 <xsl:with-param name="key" select="'psv'"/>
428 <xsl:with-param name="column" select="3"/>
429 <xsl:with-param name="row" select="21"/>
430 </xsl:call-template>
431 <xsl:call-template name="topic">
432 <xsl:with-param name="key" select="'motorboat'"/>
433 <xsl:with-param name="column" select="3"/>
434 <xsl:with-param name="row" select="23"/>
435 </xsl:call-template>
436 <xsl:call-template name="topic">
437 <xsl:with-param name="key" select="'boat'"/>
438 <xsl:with-param name="column" select="3"/>
439 <xsl:with-param name="row" select="25"/>
440 </xsl:call-template>
441
442 <xsl:call-template name="topic">
443 <xsl:with-param name="key" select="'noexit'"/>
444 <xsl:with-param name="column" select="4"/>
445 <xsl:with-param name="row" select="1"/>
446 </xsl:call-template>
447 <xsl:call-template name="topic">
448 <xsl:with-param name="key" select="'maxweight'"/>
449 <xsl:with-param name="column" select="4"/>
450 <xsl:with-param name="row" select="3"/>
451 </xsl:call-template>
452 <xsl:call-template name="topic">
453 <xsl:with-param name="key" select="'maxheight'"/>
454 <xsl:with-param name="column" select="4"/>
455 <xsl:with-param name="row" select="5"/>
456 </xsl:call-template>
457 <xsl:call-template name="topic">
458 <xsl:with-param name="key" select="'maxwidth'"/>
459 <xsl:with-param name="column" select="4"/>
460 <xsl:with-param name="row" select="7"/>
461 </xsl:call-template>
462 <xsl:call-template name="topic">
463 <xsl:with-param name="key" select="'maxlength'"/>
464 <xsl:with-param name="column" select="4"/>
465 <xsl:with-param name="row" select="9"/>
466 </xsl:call-template>
467 <xsl:call-template name="topic">
468 <xsl:with-param name="key" select="'maxspeed'"/>
469 <xsl:with-param name="column" select="4"/>
470 <xsl:with-param name="row" select="11"/>
471 </xsl:call-template>
472 <xsl:call-template name="topic">
473 <xsl:with-param name="key" select="'minspeed'"/>
474 <xsl:with-param name="column" select="4"/>
475 <xsl:with-param name="row" select="13"/>
476 </xsl:call-template>
477 <xsl:call-template name="topic">
478 <xsl:with-param name="key" select="'maxstay'"/>
479 <xsl:with-param name="column" select="4"/>
480 <xsl:with-param name="row" select="15"/>
481 </xsl:call-template>
482 <xsl:call-template name="topic">
483 <xsl:with-param name="key" select="'toll'"/>
484 <xsl:with-param name="column" select="4"/>
485 <xsl:with-param name="row" select="17"/>
486 </xsl:call-template>
487 <xsl:call-template name="topic">
488 <xsl:with-param name="key" select="'oneway'"/>
489 <xsl:with-param name="column" select="4"/>
490 <xsl:with-param name="row" select="19"/>
491 </xsl:call-template>
492 <xsl:call-template name="topic">
493 <xsl:with-param name="key" select="'traffic_sign'"/>
494 <xsl:with-param name="column" select="4"/>
495 <xsl:with-param name="row" select="21"/>
496 </xsl:call-template>
497
498 <xsl:call-template name="topic">
499 <xsl:with-param name="key" select="'railway'"/>
500 <xsl:with-param name="column" select="5"/>
501 <xsl:with-param name="row" select="1"/>
502 </xsl:call-template>
503 <xsl:call-template name="topic">
504 <xsl:with-param name="key" select="'service'"/>
505 <xsl:with-param name="column" select="5"/>
506 <xsl:with-param name="row" select="21"/>
507 </xsl:call-template>
508 <xsl:call-template name="topic">
509 <xsl:with-param name="key" select="'bridge'"/>
510 <xsl:with-param name="column" select="5"/>
511 <xsl:with-param name="row" select="26"/>
512 </xsl:call-template>
513 <xsl:call-template name="topic">
514 <xsl:with-param name="key" select="'route'"/>
515 <xsl:with-param name="column" select="5"/>
516 <xsl:with-param name="row" select="33"/>
517 </xsl:call-template>
518
519 <xsl:call-template name="topic">
520 <xsl:with-param name="key" select="'aeroway'"/>
521 <xsl:with-param name="column" select="6"/>
522 <xsl:with-param name="row" select="1"/>
523 </xsl:call-template>
524 <xsl:call-template name="topic">
525 <xsl:with-param name="key" select="'aerialway'"/>
526 <xsl:with-param name="column" select="6"/>
527 <xsl:with-param name="row" select="11"/>
528 </xsl:call-template>
529 <xsl:call-template name="topic">
530 <xsl:with-param name="key" select="'piste:difficulty'"/>
531 <xsl:with-param name="column" select="6"/>
532 <xsl:with-param name="row" select="18"/>
533 </xsl:call-template>
534 <xsl:call-template name="topic">
535 <xsl:with-param name="key" select="'waterway'"/>
536 <xsl:with-param name="column" select="6"/>
537 <xsl:with-param name="row" select="26"/>
538 </xsl:call-template>
539
540
541
542 <xsl:call-template name="topic">
543 <xsl:with-param name="key" select="'amenity'"/>
544 <xsl:with-param name="column" select="8"/>
545 <xsl:with-param name="row" select="1"/>
546 </xsl:call-template>
547
548 <xsl:call-template name="topic">
549 <xsl:with-param name="key" select="'leisure'"/>
550 <xsl:with-param name="column" select="9"/>
551 <xsl:with-param name="row" select="1"/>
552 </xsl:call-template>
553 <xsl:call-template name="topic">
554 <xsl:with-param name="key" select="'parking'"/>
555 <xsl:with-param name="column" select="9"/>
556 <xsl:with-param name="row" select="22"/>
557 </xsl:call-template>
558
559 <xsl:call-template name="topic">
560 <xsl:with-param name="key" select="'religion'"/>
561 <xsl:with-param name="column" select="10"/>
562 <xsl:with-param name="row" select="1"/>
563 </xsl:call-template>
564<xsl:call-template name="topic">
565 <xsl:with-param name="key" select="'information'"/>
566 <xsl:with-param name="column" select="11"/>
567 <xsl:with-param name="row" select="33"/>
568</xsl:call-template>
569
570 <xsl:call-template name="topic">
571 <xsl:with-param name="key" select="'man_made'"/>
572 <xsl:with-param name="column" select="11"/>
573 <xsl:with-param name="row" select="1"/>
574 </xsl:call-template>
575<xsl:call-template name="topic">
576 <xsl:with-param name="key" select="'power'"/>
577 <xsl:with-param name="column" select="10"/>
578 <xsl:with-param name="row" select="20"/>
579</xsl:call-template>
580 <xsl:call-template name="topic">
581 <xsl:with-param name="key" select="'power_source'"/>
582 <xsl:with-param name="column" select="11"/>
583 <xsl:with-param name="row" select="20"/>
584 </xsl:call-template>
585 <xsl:call-template name="topic">
586 <xsl:with-param name="key" select="'vending'"/>
587 <xsl:with-param name="column" select="11"/>
588 <xsl:with-param name="row" select="40"/>
589 </xsl:call-template>
590
591 <xsl:call-template name="topic">
592 <xsl:with-param name="key" select="'shop'"/>
593 <xsl:with-param name="column" select="12"/>
594 <xsl:with-param name="row" select="1"/>
595 </xsl:call-template>
596
597 <xsl:call-template name="topic">
598 <xsl:with-param name="key" select="'tourism'"/>
599 <xsl:with-param name="column" select="13"/>
600 <xsl:with-param name="row" select="1"/>
601 </xsl:call-template>
602 <xsl:call-template name="topic">
603 <xsl:with-param name="key" select="'historic'"/>
604 <xsl:with-param name="column" select="13"/>
605 <xsl:with-param name="row" select="19"/>
606 </xsl:call-template>
607 <xsl:call-template name="topic">
608 <xsl:with-param name="key" select="'military'"/>
609 <xsl:with-param name="column" select="13"/>
610 <xsl:with-param name="row" select="36"/>
611 </xsl:call-template>
612
613 <xsl:call-template name="topic">
614 <xsl:with-param name="key" select="'sport'"/>
615 <xsl:with-param name="column" select="14"/>
616 <xsl:with-param name="row" select="1"/>
617 </xsl:call-template>
618
619
620
621 <xsl:call-template name="topic">
622 <xsl:with-param name="key" select="'landuse'"/>
623 <xsl:with-param name="column" select="16"/>
624 <xsl:with-param name="row" select="1"/>
625 </xsl:call-template>
626 <xsl:call-template name="topic">
627 <xsl:with-param name="key" select="'building'"/>
628 <xsl:with-param name="column" select="16"/>
629 <xsl:with-param name="row" select="28"/>
630 </xsl:call-template>
631 <xsl:call-template name="topic">
632 <xsl:with-param name="key" select="'boundary'"/>
633 <xsl:with-param name="column" select="16"/>
634 <xsl:with-param name="row" select="34"/>
635 </xsl:call-template>
636
637 <xsl:call-template name="topic">
638 <xsl:with-param name="key" select="'place'"/>
639 <xsl:with-param name="column" select="17"/>
640 <xsl:with-param name="row" select="22"/>
641 </xsl:call-template>
642 <xsl:call-template name="topic">
643 <xsl:with-param name="key" select="'natural'"/>
644 <xsl:with-param name="column" select="17"/>
645 <xsl:with-param name="row" select="1"/>
646 </xsl:call-template>
647
648 </xsl:element>
649</xsl:template>
650
651</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.