logo separator

[mkgmap-dev] AngleChecker and --cycle-map option

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Thu Aug 22 18:06:14 BST 2024

Hi Gerd

I'm confused by some logic in imgfmt/app/net/AngleChecker.java and wondered if
you could help.

If not a cycle-map, sharpAnglesCheckMask is set to ACCESS...BIKE = 0x2 (~line
134)

Later (~line 294) when the code is looking at an angle and the arcs either side
it ignores a sharp angle (ie won't try and expand it) if BIKE access isn't
common to both arcs. This could result in time penalties for cars based

If it is a cycle-map, sharpAnglesCheckMask is set to all but ACCESS...FOOT,
so that if the common access of the arcs is FOOT only, sharp angles will be
ignored, but there is logic to do this anyway.

Ticker



More information about the mkgmap-dev mailing list