logo separator

[mkgmap-dev] Problem in AngleFixer?

From Thorsten Kukuk kukuk at thkukuk.de on Tue Aug 13 16:06:40 BST 2024

Hi Ticker,

Am 2024-08-12 13:14, schrieb Ticker Berkin:
> Really sorry, previous patch was wrong. Correct one attached

Sorry, but for https://www.openstreetmap.org/#map=18/49.47851/10.94281 
this has still no effect.
But I think I found the problem.

The part from the log file is:
sharp angle 15.375715 ° at 49.478507,10.942814 headings 328° 343° speeds 
2 2 classes 2 1
increasing arc with heading 343° by 30.624285

The other sharp angle a few meters away 
(https://www.openstreetmap.org/#map=19/49.47966/10.94146),
which works, has:
sharp angle 40.094727 ° at 49.479659,10.941464 headings 132° 172° speeds 
2 2 classes 2 2
increasing arc with heading 172° by 2.3486972
decreasing arc with heading 132° by 3.5565763

Difference: in the first case, the heading is >> 180°
In the second case, it's < 180°.

So I did go through the log and tested some more cases:
If the heading is >> 180°, the navigation instruction is wrong.
If the heading is < 180°, the navigation instruction is correct.

Looks like if an angle is >> 180°, we have to code another one in the 
map.

Regards,
Thorsten

> Ticker
> 
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list