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

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@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <GPetermann_muenchen@hotmail.com> Gesendet: Samstag, 15. Mai 2021 20:30 An: mkgmap-dev@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
participants (2)
-
Gerd Petermann
-
Gerd Petermann