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