logo separator

[mkgmap-dev] overlaid lines and reversed oneways

From Gerd Petermann gpetermann_muenchen at hotmail.com on Tue May 14 08:07:10 BST 2013

Hi,

see also 
http://gis.19327.n5.nabble.com/merge-lines-and-routing-tp5758913p5759595.html

I wonder how this feature (overlaid line shows oneway direction) works with ways
that are tagged oneway=-1 or oneway=reverse like this?
http://www.openstreetmap.org/browse/way/6971216

or with the recent example from Minko 
http://www.openstreetmap.org/browse/way/6971876

The current implementation in r2606 works like this:
1) If the tag is found after style evaluation, the points of a road are reversed, but the points 
of the overlaying line(s) are not. 
2) The merge-lines function connects lines without checking the direction.

I want to correct the merge-lines method so that it doesn't connect oneway lines with opposite directions,
so I have to make sure that all copies of a way have the same order of points.

Will this change cause arrows showing into the wrong directions in existing styles?

Gerd

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130514/7fb1eb49/attachment.html 


More information about the mkgmap-dev mailing list