
Hi all, the problem is not directly related to oneways. Here is what happens: The merge-line method merges some OSM ways, but it doesn't care about the direction of parallel lines or loops and it may also remove the preserved flag from a point that connnects two lines. In this special case, it joins the points of the OSM ways 6971876, 120708547, 6971870, 120708550, and 6971878 to form a rather small circle plus a long line: d-------------------------------x--c a--b The merged line starts at point x (!) and goes via a,b,c, back to x and then to d. The Douglas-Peucker-Filter finds that the small loop is all within the error tolerance and removes it, so that the remaining way is the line between x and d. d-------------------------------x I've committed r2606 to fix this error. Whenever the merge-lines method merges two lines, it sets the preserved flag for the connection point. This solves the problem and causes only a small increase of the img size. Gerd
Date: Mon, 13 May 2013 09:13:15 +0200 From: ligfietser@online.nl To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] ways are deleted when not routable
The lines are gone, even if I look with gpsmapedit there is nothing. I've even tried to delete the oneway attribute before treating the trunk road, but this doesn't solve it.
Don't know if this has anything to do with the disappearing lines though as that seems a bit odd... Are the lines really in the map and just not displayed by mapsource etc.?
I'll have a closer look again.
Gerd
mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev