| 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 |
|
|---|
| 21 |
|
|---|
| 22 | <xsl:template name="node-attributes">
|
|---|
| 23 | <xsl:param name="id" />
|
|---|
| 24 | <xsl:param name="x" />
|
|---|
| 25 | <xsl:param name="y" />
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 | <xsl:variable name="lon">
|
|---|
| 29 | <xsl:choose>
|
|---|
| 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>
|
|---|
| 34 | </xsl:choose>
|
|---|
| 35 | </xsl:variable>
|
|---|
| 36 |
|
|---|
| 37 | <xsl:variable name="lat">
|
|---|
| 38 | <xsl:choose>
|
|---|
| 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>
|
|---|
| 43 | </xsl:choose>
|
|---|
| 44 | </xsl:variable>
|
|---|
| 45 |
|
|---|
| 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 -->
|
|---|
| 94 | <xsl:element name="node">
|
|---|
| 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 |
|
|---|
| 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>
|
|---|
| 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>
|
|---|
| 128 | <xsl:attribute name="v">(any)</xsl:attribute>
|
|---|
| 129 | </xsl:element>
|
|---|
| 130 | </xsl:if>
|
|---|
| 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>
|
|---|
| 142 | <!--<xsl:element name="tag">
|
|---|
| 143 | <xsl:attribute name="k">pos</xsl:attribute>
|
|---|
| 144 | <xsl:attribute name="v">nw</xsl:attribute>
|
|---|
| 145 | </xsl:element>-->
|
|---|
| 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>
|
|---|
| 154 | <!--<xsl:element name="tag">
|
|---|
| 155 | <xsl:attribute name="k">pos</xsl:attribute>
|
|---|
| 156 | <xsl:attribute name="v">ne</xsl:attribute>
|
|---|
| 157 | </xsl:element>-->
|
|---|
| 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>
|
|---|
| 166 | <!--<xsl:element name="tag">
|
|---|
| 167 | <xsl:attribute name="k">pos</xsl:attribute>
|
|---|
| 168 | <xsl:attribute name="v">se</xsl:attribute>
|
|---|
| 169 | </xsl:element>-->
|
|---|
| 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>
|
|---|
| 178 | <!--<xsl:element name="tag">
|
|---|
| 179 | <xsl:attribute name="k">pos</xsl:attribute>
|
|---|
| 180 | <xsl:attribute name="v">sw</xsl:attribute>
|
|---|
| 181 | </xsl:element>-->
|
|---|
| 182 | </xsl:element>
|
|---|
| 183 |
|
|---|
| 184 |
|
|---|
| 185 | <xsl:element name="way">
|
|---|
| 186 | <xsl:attribute name="id"><xsl:value-of select="-number($idbase + 4)" /></xsl:attribute>
|
|---|
| 187 | <xsl:attribute name="user">overview-creator</xsl:attribute>
|
|---|
| 188 | <xsl:attribute name="visible">true</xsl:attribute>
|
|---|
| 189 |
|
|---|
| 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 |
|
|---|
| 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>
|
|---|
| 236 | </xsl:element>
|
|---|
| 237 | </xsl:template>
|
|---|
| 238 |
|
|---|
| 239 |
|
|---|
| 240 | <xsl:template name="posed_rules">
|
|---|
| 241 |
|
|---|
| 242 | <xsl:param name="key"/>
|
|---|
| 243 | <xsl:param name="index"/>
|
|---|
| 244 | <xsl:param name="xpos"/>
|
|---|
| 245 | <xsl:param name="ypos"/>
|
|---|
| 246 |
|
|---|
| 247 | <xsl:if test="rule[$index]/condition/@k=$key">
|
|---|
| 248 | <xsl:call-template name="rule">
|
|---|
| 249 | <xsl:with-param name="index" select="$index"/>
|
|---|
| 250 | <xsl:with-param name="xpos" select="$xpos"/>
|
|---|
| 251 | <xsl:with-param name="ypos" select="$ypos"/>
|
|---|
| 252 | </xsl:call-template>
|
|---|
| 253 |
|
|---|
| 254 | <xsl:choose>
|
|---|
| 255 | <xsl:when test="$ypos < 41">
|
|---|
| 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"/>
|
|---|
| 270 | <xsl:with-param name="ypos" select="30"/>
|
|---|
| 271 | </xsl:call-template>
|
|---|
| 272 | </xsl:otherwise>
|
|---|
| 273 | </xsl:choose>
|
|---|
| 274 | </xsl:if>
|
|---|
| 275 |
|
|---|
| 276 | <xsl:if test="rule[$index]/condition/@k!=$key">
|
|---|
| 277 | <!-- recursive call - only increasing the index counter -->
|
|---|
| 278 | <xsl:call-template name="posed_rules">
|
|---|
| 279 | <xsl:with-param name="key" select="$key"/>
|
|---|
| 280 | <xsl:with-param name="index" select="$index + 1"/>
|
|---|
| 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 |
|
|---|
| 289 | <xsl:template name="topic">
|
|---|
| 290 |
|
|---|
| 291 | <xsl:param name="key"/>
|
|---|
| 292 | <xsl:param name="row"/>
|
|---|
| 293 | <xsl:param name="column"/>
|
|---|
| 294 |
|
|---|
| 295 |
|
|---|
| 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>
|
|---|
| 299 |
|
|---|
| 300 |
|
|---|
| 301 | <!-- header item -->
|
|---|
| 302 | <xsl:element name="node">
|
|---|
| 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>
|
|---|
| 308 |
|
|---|
| 309 | <xsl:element name="tag">
|
|---|
| 310 | <xsl:attribute name="k"><xsl:value-of select = "'tourism'" /></xsl:attribute>
|
|---|
| 311 | <xsl:attribute name="v"><xsl:value-of select = "'information'" /></xsl:attribute>
|
|---|
| 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"/>
|
|---|
| 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)"/>
|
|---|
| 325 | </xsl:call-template>
|
|---|
| 326 | </xsl:template>
|
|---|
| 327 |
|
|---|
| 328 |
|
|---|
| 329 | <xsl:template match="rules">
|
|---|
| 330 |
|
|---|
| 331 | <xsl:comment>DO NOT EDIT! THIS FILE IS GENERATED!!!</xsl:comment>
|
|---|
| 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 |
|
|---|
| 337 | <xsl:call-template name="topic">
|
|---|
| 338 | <xsl:with-param name="key" select="'highway'"/>
|
|---|
| 339 | <xsl:with-param name="column" select="1"/>
|
|---|
| 340 | <xsl:with-param name="row" select="1"/>
|
|---|
| 341 | </xsl:call-template>
|
|---|
| 342 |
|
|---|
| 343 | <xsl:call-template name="topic">
|
|---|
| 344 | <xsl:with-param name="key" select="'cycleway'"/>
|
|---|
| 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">
|
|---|
| 349 | <xsl:with-param name="key" select="'tracktype'"/>
|
|---|
| 350 | <xsl:with-param name="column" select="2"/>
|
|---|
| 351 | <xsl:with-param name="row" select="8"/>
|
|---|
| 352 | </xsl:call-template>
|
|---|
| 353 | <xsl:call-template name="topic">
|
|---|
| 354 | <xsl:with-param name="key" select="'direction'"/>
|
|---|
| 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="'junction'"/>
|
|---|
| 360 | <xsl:with-param name="column" select="2"/>
|
|---|
| 361 | <xsl:with-param name="row" select="17"/>
|
|---|
| 362 | </xsl:call-template>
|
|---|
| 363 | <xsl:call-template name="topic">
|
|---|
| 364 | <xsl:with-param name="key" select="'restriction'"/>
|
|---|
| 365 | <xsl:with-param name="column" select="2"/>
|
|---|
| 366 | <xsl:with-param name="row" select="20"/>
|
|---|
| 367 | </xsl:call-template>
|
|---|
| 368 | <xsl:call-template name="topic">
|
|---|
| 369 | <xsl:with-param name="key" select="'tunnel'"/>
|
|---|
| 370 | <xsl:with-param name="column" select="2"/>
|
|---|
| 371 | <xsl:with-param name="row" select="36"/>
|
|---|
| 372 | </xsl:call-template>
|
|---|
| 373 | <xsl:call-template name="topic">
|
|---|
| 374 | <xsl:with-param name="key" select="'mountain_pass'"/>
|
|---|
| 375 | <xsl:with-param name="column" select="2"/>
|
|---|
| 376 | <xsl:with-param name="row" select="40"/>
|
|---|
| 377 | </xsl:call-template>
|
|---|
| 378 |
|
|---|
| 379 | <xsl:call-template name="topic">
|
|---|
| 380 | <xsl:with-param name="key" select="'barrier'"/>
|
|---|
| 381 | <xsl:with-param name="column" select="3"/>
|
|---|
| 382 | <xsl:with-param name="row" select="29"/>
|
|---|
| 383 | </xsl:call-template>
|
|---|
| 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"/>
|
|---|
| 388 | </xsl:call-template>
|
|---|
| 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"/>
|
|---|
| 397 | <xsl:with-param name="row" select="6"/>
|
|---|
| 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"/>
|
|---|
| 402 | <xsl:with-param name="row" select="10"/>
|
|---|
| 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"/>
|
|---|
| 407 | <xsl:with-param name="row" select="12"/>
|
|---|
| 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"/>
|
|---|
| 412 | <xsl:with-param name="row" select="14"/>
|
|---|
| 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"/>
|
|---|
| 417 | <xsl:with-param name="row" select="17"/>
|
|---|
| 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"/>
|
|---|
| 422 | <xsl:with-param name="row" select="19"/>
|
|---|
| 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"/>
|
|---|
| 427 | <xsl:with-param name="row" select="21"/>
|
|---|
| 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"/>
|
|---|
| 432 | <xsl:with-param name="row" select="23"/>
|
|---|
| 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"/>
|
|---|
| 437 | <xsl:with-param name="row" select="25"/>
|
|---|
| 438 | </xsl:call-template>
|
|---|
| 439 |
|
|---|
| 440 | <xsl:call-template name="topic">
|
|---|
| 441 | <xsl:with-param name="key" select="'noexit'"/>
|
|---|
| 442 | <xsl:with-param name="column" select="4"/>
|
|---|
| 443 | <xsl:with-param name="row" select="1"/>
|
|---|
| 444 | </xsl:call-template>
|
|---|
| 445 | <xsl:call-template name="topic">
|
|---|
| 446 | <xsl:with-param name="key" select="'maxweight'"/>
|
|---|
| 447 | <xsl:with-param name="column" select="4"/>
|
|---|
| 448 | <xsl:with-param name="row" select="3"/>
|
|---|
| 449 | </xsl:call-template>
|
|---|
| 450 | <xsl:call-template name="topic">
|
|---|
| 451 | <xsl:with-param name="key" select="'maxheight'"/>
|
|---|
| 452 | <xsl:with-param name="column" select="4"/>
|
|---|
| 453 | <xsl:with-param name="row" select="5"/>
|
|---|
| 454 | </xsl:call-template>
|
|---|
| 455 | <xsl:call-template name="topic">
|
|---|
| 456 | <xsl:with-param name="key" select="'maxwidth'"/>
|
|---|
| 457 | <xsl:with-param name="column" select="4"/>
|
|---|
| 458 | <xsl:with-param name="row" select="7"/>
|
|---|
| 459 | </xsl:call-template>
|
|---|
| 460 | <xsl:call-template name="topic">
|
|---|
| 461 | <xsl:with-param name="key" select="'maxlength'"/>
|
|---|
| 462 | <xsl:with-param name="column" select="4"/>
|
|---|
| 463 | <xsl:with-param name="row" select="9"/>
|
|---|
| 464 | </xsl:call-template>
|
|---|
| 465 | <xsl:call-template name="topic">
|
|---|
| 466 | <xsl:with-param name="key" select="'maxspeed'"/>
|
|---|
| 467 | <xsl:with-param name="column" select="4"/>
|
|---|
| 468 | <xsl:with-param name="row" select="11"/>
|
|---|
| 469 | </xsl:call-template>
|
|---|
| 470 | <xsl:call-template name="topic">
|
|---|
| 471 | <xsl:with-param name="key" select="'minspeed'"/>
|
|---|
| 472 | <xsl:with-param name="column" select="4"/>
|
|---|
| 473 | <xsl:with-param name="row" select="13"/>
|
|---|
| 474 | </xsl:call-template>
|
|---|
| 475 | <xsl:call-template name="topic">
|
|---|
| 476 | <xsl:with-param name="key" select="'maxstay'"/>
|
|---|
| 477 | <xsl:with-param name="column" select="4"/>
|
|---|
| 478 | <xsl:with-param name="row" select="15"/>
|
|---|
| 479 | </xsl:call-template>
|
|---|
| 480 | <xsl:call-template name="topic">
|
|---|
| 481 | <xsl:with-param name="key" select="'toll'"/>
|
|---|
| 482 | <xsl:with-param name="column" select="4"/>
|
|---|
| 483 | <xsl:with-param name="row" select="17"/>
|
|---|
| 484 | </xsl:call-template>
|
|---|
| 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>
|
|---|
| 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 |
|
|---|
| 496 | <xsl:call-template name="topic">
|
|---|
| 497 | <xsl:with-param name="key" select="'railway'"/>
|
|---|
| 498 | <xsl:with-param name="column" select="5"/>
|
|---|
| 499 | <xsl:with-param name="row" select="1"/>
|
|---|
| 500 | </xsl:call-template>
|
|---|
| 501 | <xsl:call-template name="topic">
|
|---|
| 502 | <xsl:with-param name="key" select="'service'"/>
|
|---|
| 503 | <xsl:with-param name="column" select="5"/>
|
|---|
| 504 | <xsl:with-param name="row" select="21"/>
|
|---|
| 505 | </xsl:call-template>
|
|---|
| 506 | <xsl:call-template name="topic">
|
|---|
| 507 | <xsl:with-param name="key" select="'bridge'"/>
|
|---|
| 508 | <xsl:with-param name="column" select="5"/>
|
|---|
| 509 | <xsl:with-param name="row" select="26"/>
|
|---|
| 510 | </xsl:call-template>
|
|---|
| 511 | <xsl:call-template name="topic">
|
|---|
| 512 | <xsl:with-param name="key" select="'route'"/>
|
|---|
| 513 | <xsl:with-param name="column" select="5"/>
|
|---|
| 514 | <xsl:with-param name="row" select="33"/>
|
|---|
| 515 | </xsl:call-template>
|
|---|
| 516 |
|
|---|
| 517 | <xsl:call-template name="topic">
|
|---|
| 518 | <xsl:with-param name="key" select="'aeroway'"/>
|
|---|
| 519 | <xsl:with-param name="column" select="6"/>
|
|---|
| 520 | <xsl:with-param name="row" select="1"/>
|
|---|
| 521 | </xsl:call-template>
|
|---|
| 522 | <xsl:call-template name="topic">
|
|---|
| 523 | <xsl:with-param name="key" select="'aerialway'"/>
|
|---|
| 524 | <xsl:with-param name="column" select="6"/>
|
|---|
| 525 | <xsl:with-param name="row" select="10"/>
|
|---|
| 526 | </xsl:call-template>
|
|---|
| 527 | <xsl:call-template name="topic">
|
|---|
| 528 | <xsl:with-param name="key" select="'piste:difficulty'"/>
|
|---|
| 529 | <xsl:with-param name="column" select="6"/>
|
|---|
| 530 | <xsl:with-param name="row" select="17"/>
|
|---|
| 531 | </xsl:call-template>
|
|---|
| 532 | <xsl:call-template name="topic">
|
|---|
| 533 | <xsl:with-param name="key" select="'waterway'"/>
|
|---|
| 534 | <xsl:with-param name="column" select="6"/>
|
|---|
| 535 | <xsl:with-param name="row" select="25"/>
|
|---|
| 536 | </xsl:call-template>
|
|---|
| 537 |
|
|---|
| 538 | <xsl:call-template name="topic">
|
|---|
| 539 | <xsl:with-param name="key" select="'amenity'"/>
|
|---|
| 540 | <xsl:with-param name="column" select="8"/>
|
|---|
| 541 | <xsl:with-param name="row" select="1"/>
|
|---|
| 542 | </xsl:call-template>
|
|---|
| 543 |
|
|---|
| 544 | <xsl:call-template name="topic">
|
|---|
| 545 | <xsl:with-param name="key" select="'leisure'"/>
|
|---|
| 546 | <xsl:with-param name="column" select="9"/>
|
|---|
| 547 | <xsl:with-param name="row" select="1"/>
|
|---|
| 548 | </xsl:call-template>
|
|---|
| 549 |
|
|---|
| 550 | <xsl:call-template name="topic">
|
|---|
| 551 | <xsl:with-param name="key" select="'parking'"/>
|
|---|
| 552 | <xsl:with-param name="column" select="9"/>
|
|---|
| 553 | <xsl:with-param name="row" select="22"/>
|
|---|
| 554 | </xsl:call-template>
|
|---|
| 555 |
|
|---|
| 556 | <xsl:call-template name="topic">
|
|---|
| 557 | <xsl:with-param name="key" select="'religion'"/>
|
|---|
| 558 | <xsl:with-param name="column" select="10"/>
|
|---|
| 559 | <xsl:with-param name="row" select="1"/>
|
|---|
| 560 | </xsl:call-template>
|
|---|
| 561 |
|
|---|
| 562 | <xsl:call-template name="topic">
|
|---|
| 563 | <xsl:with-param name="key" select="'information'"/>
|
|---|
| 564 | <xsl:with-param name="column" select="10"/>
|
|---|
| 565 | <xsl:with-param name="row" select="16"/>
|
|---|
| 566 | </xsl:call-template>
|
|---|
| 567 |
|
|---|
| 568 | <xsl:call-template name="topic">
|
|---|
| 569 | <xsl:with-param name="key" select="'man_made'"/>
|
|---|
| 570 | <xsl:with-param name="column" select="11"/>
|
|---|
| 571 | <xsl:with-param name="row" select="1"/>
|
|---|
| 572 | </xsl:call-template>
|
|---|
| 573 | <xsl:call-template name="topic">
|
|---|
| 574 | <xsl:with-param name="key" select="'power'"/>
|
|---|
| 575 | <xsl:with-param name="column" select="11"/>
|
|---|
| 576 | <xsl:with-param name="row" select="23"/>
|
|---|
| 577 | </xsl:call-template>
|
|---|
| 578 | <xsl:call-template name="topic">
|
|---|
| 579 | <xsl:with-param name="key" select="'power_source'"/>
|
|---|
| 580 | <xsl:with-param name="column" select="11"/>
|
|---|
| 581 | <xsl:with-param name="row" select="30"/>
|
|---|
| 582 | </xsl:call-template>
|
|---|
| 583 |
|
|---|
| 584 | <xsl:call-template name="topic">
|
|---|
| 585 | <xsl:with-param name="key" select="'shop'"/>
|
|---|
| 586 | <xsl:with-param name="column" select="12"/>
|
|---|
| 587 | <xsl:with-param name="row" select="1"/>
|
|---|
| 588 | </xsl:call-template>
|
|---|
| 589 |
|
|---|
| 590 | <xsl:call-template name="topic">
|
|---|
| 591 | <xsl:with-param name="key" select="'tourism'"/>
|
|---|
| 592 | <xsl:with-param name="column" select="13"/>
|
|---|
| 593 | <xsl:with-param name="row" select="1"/>
|
|---|
| 594 | </xsl:call-template>
|
|---|
| 595 | <xsl:call-template name="topic">
|
|---|
| 596 | <xsl:with-param name="key" select="'historic'"/>
|
|---|
| 597 | <xsl:with-param name="column" select="13"/>
|
|---|
| 598 | <xsl:with-param name="row" select="19"/>
|
|---|
| 599 | </xsl:call-template>
|
|---|
| 600 | <xsl:call-template name="topic">
|
|---|
| 601 | <xsl:with-param name="key" select="'military'"/>
|
|---|
| 602 | <xsl:with-param name="column" select="13"/>
|
|---|
| 603 | <xsl:with-param name="row" select="36"/>
|
|---|
| 604 | </xsl:call-template>
|
|---|
| 605 |
|
|---|
| 606 | <xsl:call-template name="topic">
|
|---|
| 607 | <xsl:with-param name="key" select="'sport'"/>
|
|---|
| 608 | <xsl:with-param name="column" select="14"/>
|
|---|
| 609 | <xsl:with-param name="row" select="1"/>
|
|---|
| 610 | </xsl:call-template>
|
|---|
| 611 |
|
|---|
| 612 |
|
|---|
| 613 |
|
|---|
| 614 |
|
|---|
| 615 | <xsl:call-template name="topic">
|
|---|
| 616 | <xsl:with-param name="key" select="'landuse'"/>
|
|---|
| 617 | <xsl:with-param name="column" select="16"/>
|
|---|
| 618 | <xsl:with-param name="row" select="1"/>
|
|---|
| 619 | </xsl:call-template>
|
|---|
| 620 | <xsl:call-template name="topic">
|
|---|
| 621 | <xsl:with-param name="key" select="'abutters'"/>
|
|---|
| 622 | <xsl:with-param name="column" select="16"/>
|
|---|
| 623 | <xsl:with-param name="row" select="27"/>
|
|---|
| 624 | </xsl:call-template>
|
|---|
| 625 | <xsl:call-template name="topic">
|
|---|
| 626 | <xsl:with-param name="key" select="'building'"/>
|
|---|
| 627 | <xsl:with-param name="column" select="16"/>
|
|---|
| 628 | <xsl:with-param name="row" select="35"/>
|
|---|
| 629 | </xsl:call-template>
|
|---|
| 630 |
|
|---|
| 631 | <xsl:call-template name="topic">
|
|---|
| 632 | <xsl:with-param name="key" select="'place'"/>
|
|---|
| 633 | <xsl:with-param name="column" select="17"/>
|
|---|
| 634 | <xsl:with-param name="row" select="23"/>
|
|---|
| 635 | </xsl:call-template>
|
|---|
| 636 | <xsl:call-template name="topic">
|
|---|
| 637 | <xsl:with-param name="key" select="'natural'"/>
|
|---|
| 638 | <xsl:with-param name="column" select="17"/>
|
|---|
| 639 | <xsl:with-param name="row" select="1"/>
|
|---|
| 640 | </xsl:call-template>
|
|---|
| 641 | <xsl:call-template name="topic">
|
|---|
| 642 | <xsl:with-param name="key" select="'boundary'"/>
|
|---|
| 643 | <xsl:with-param name="column" select="17"/>
|
|---|
| 644 | <xsl:with-param name="row" select="36"/>
|
|---|
| 645 | </xsl:call-template>
|
|---|
| 646 |
|
|---|
| 647 | </xsl:element>
|
|---|
| 648 | </xsl:template>
|
|---|
| 649 |
|
|---|
| 650 | </xsl:stylesheet>
|
|---|