logo separator

[mkgmap-dev] Patches ignore oneway tag for non-routable lines

From Gerd Petermann GPetermann_muenchen at hotmail.com on Sat May 15 19:30:15 BST 2021

Hi all,

following the discussion about commit r4715 here is a small patch to change mkgmap so that it doesn't set the direction flag in IMG when an OSM way has a oneway=1 or oneway=-1 tag when the corresponding line is not a road (a routable line with roadclass or road speed).

Two patches because Ticker suggests to evaluate oneway also for lines and assume that the style will set mkgmap:has-direction=no to overwrite it.
The other patch simply doesn't evaluate oneway for the direction flag. This gives smaller image files for styles which wee not yet changed.

Gerd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ignore-oneway-for-lines-Ticker.patch
Type: application/octet-stream
Size: 2296 bytes
Desc: ignore-oneway-for-lines-Ticker.patch
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20210515/32db7743/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ignore-oneway-for-lines.patch
Type: application/octet-stream
Size: 3045 bytes
Desc: ignore-oneway-for-lines.patch
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20210515/32db7743/attachment-0003.obj>


More information about the mkgmap-dev mailing list