[mkgmap-dev] ways are deleted when not routable
From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon May 13 09:20:26 BST 2013
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 at online.nl > To: mkgmap-dev at 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 at lists.mkgmap.org.uk > http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130513/b9a895ee/attachment-0001.html
- Previous message: [mkgmap-dev] ways are deleted when not routable
- Next message: [mkgmap-dev] ways are deleted when not routable
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list