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:46:27 BST 2021

Arg, I was too fast.

@Ticker: I think I got you wrong. The *-Ticker.patch can be ignored. Both patches set the direction flag for oneway roads.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <GPetermann_muenchen at hotmail.com>
Gesendet: Samstag, 15. Mai 2021 20:30
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] Patches ignore oneway tag for non-routable lines

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


More information about the mkgmap-dev mailing list