[Tilesathome] newbie question: xmlstarlet error: Tile too complex

Florian Schmitt tah at florian-schmitt.net
Sun Nov 4 09:48:14 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

after i recieved my upload credentials yesterday, i started generating tiles,
but soon the following error occured:

- ------------------------8<---------------------------------------------------

> [#17   0% jobinit] Doing tileset 1220,1516 (area around 42.261041,-72.729492)
> [#17   0% default] Transforming zoom level 16...       ERROR
>   The following command produced an error message:
>   nice -n10 "xmlstarlet" tr osmarender/osmarender.xsl map-features-29312.xml > "/tmp/output-29312-z16.svg-temp.svg"
>   Debug output follows:
>   | I/O error : Attempt to load network entity http://xobjex.com/service/date.xsl
>   | warning: failed to load external entity "http://xobjex.com/service/date.xsl"
>   |
>   |         Processing <rule e="node|way" k="osmarender:render" v="~|yes" >
>   |         Matched by 24520 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="way" k="tunnel" v="~|no" >
>   |         Matched by 690 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="cycleway" >
>   |         Matched by 3 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="unclassified|residential|minor" >
>   |         Matched by 594 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="tertiary" >
>   |         Matched by 23 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="secondary" >
>   |         Matched by 70 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="way" k="tunnel" v="~|false|no" >
>   |         Matched by 690 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="cycleway" >
>   |         Matched by 3 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="unclassified|residential|minor" >
>   |         Matched by 594 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="tertiary" >
>   |         Matched by 23 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="secondary" >
>   |         Matched by 70 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="way" k="tunnel" v="~|false|no" >
>   |         Matched by 690 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="*" >
>   |         Matched by 690 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="way" k="oneway" v="1|yes|true" >
>   |         Matched by 7 elements for layer 0.
>   |
>   |
>   |         Processing <rule e="node|way" k="osmarender:render" v="~|yes" >
>   |         Matched by 24520 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="way" k="osmarender:renderName" v="~|yes" >
>   |         Matched by 690 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="way" k="tunnel" v="~|no|false" >
>   |         Matched by 690 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="way" k="junction" v="~" >
>   |         Matched by 690 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="cycleway" >
>   |         Matched by 3 elements for layer 5.
>   |
>   | runtime error: file osmarender/osmarender.xsl line 692 element param
>   | xsltApplyXSLTTemplate: A potential infinite template recursion was detected.
>   | You can adjust xsltMaxDepth (--maxdepth) in order to raise the maximum number of nested template calls and variables/params (currently set to 3000).
>   | Templates:
>   | #0 name getPathLength
>   | #1 name getPathLength
>   | #2 name getPathLength
>   | #3 name getPathLength
>   | #4 name getPathLength
>   | #5 name getPathLength
>   | #6 name getPathLength
>   | #7 name getPathLength
>   | #8 name getPathLength
>   | #9 name getPathLength
>   | #10 name getPathLength
>   | #11 name getPathLength
>   | #12 name getPathLength
>   | #13 name getPathLength
>   | #14 name getPathLength
>   | Variables:
>   | #0
>   | var absLengthLat
>   | #1
>   | var lengthLat
>   | #2
>   | var absLengthLon
>   | #3
>   | var lengthLon
>   | #4
>   | var toNode
>   | #5
>   | var fromNode
>   | #6
>   | pathLengthMultiplier
>   | nodes
>   | sumLat
>   | sumLon
>   | #7
>   | nodes
>   | sumLat
>   | sumLon
>   | #8
>   | sumLat
>   | sumLon
>   | #9
>   | sumLon
>   | #10
>   | var absLengthLat
>   | #11
>   | var lengthLat
>   | #12
>   | var absLengthLon
>   | #13
>   | var lengthLon
>   | #14
>   | var toNode
>   |
>   |         Processing <rule e="way" k="highway" v="unclassified|residential|minor" >
>   |         Matched by 594 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="tertiary" >
>   |         Matched by 23 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="secondary" >
>   |         Matched by 70 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="way" k="osmarender:renderRef" v="~|yes" >
>   |         Matched by 690 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="way" k="tunnel" v="~|no|false" >
>   |         Matched by 690 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="way" k="junction" v="~" >
>   |         Matched by 690 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="cycleway" >
>   |         Matched by 3 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="unclassified|residential|minor" >
>   |         Matched by 594 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="tertiary" >
>   |         Matched by 23 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="way" k="highway" v="secondary" >
>   |         Matched by 70 elements for layer 5.
>   |
>   |
>   |         Processing <rule e="node" k="osmarender:renderName" v="~|yes" >
>   |         Matched by 23830 elements for layer 5.
>   |
>   | no result for map-features-29312.xml
> 
> Additional info about the Error(s):
> 
>  * Tile too complex for Xmlstarlet, possibly an excessively long way, or too many maplint errors
> 
> [#17   0% default] File /tmp/output-29312-z16.svg-temp.svg doesn't look like svg, aborting render.


- ------------------------8<---------------------------------------------------

Is this due to lack of RAM (my machine has 1.5 GB), to the osm data or to a
configuration problem?


florian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHLZVbEZ7gvZzaN1cRAqNIAJ0bXhHj00fdxT0mRxPvZJS6duYJBwCbBqNY
HJY6ZjU6ERU1q0Hkx5HXbhk=
=TR0a
-----END PGP SIGNATURE-----




More information about the Tilesathome mailing list