[Tilesathome] close-areas producing very long ways -> inkscape crashing

Damian Sulewski Damian.Sulewski at uni-dortmund.de
Fri Oct 19 16:39:58 BST 2007


Hi,

here is what i found out trying to render tile 142 88 z8:

First off all: the t at h client crashes when inkscape tries to render this
tile.

1. I tried to load the data-PID.osm into JOSM this did not work, looked
into it and found several nodes without lat lon values. Just a line like
 
<node id='7234234' />  

this looked strange and i deleted them, josm could load the file but
inkscape still crashed. 
-- where did the nodes came from? (they were used in ways!)

2. IMPORTANT:
Transfered data-PID.osm to svg using xmlstarlet and tried to render it
with inkscape, THIS WORKS (but oceans are not shown)
Transfered data-PID-close-areas.osm to svg and tried to render it:
inkscape crash.

vim showed me that the first way created by close-areas has exactly 5988
nodes, so i splited this into 6 ways with about 1000 nodes and gues
what: inkscape was able to render it, but without oceans (because of my
splitting i think)

Question, could close-areas.pl check the length of a way and cut it in
pieces so inkscape can render it? 

Greetings,

Damian








More information about the Tilesathome mailing list