logo separator

[mkgmap-dev] Problem in AngleFixer?

From Thorsten Kukuk kukuk at thkukuk.de on Thu Aug 8 16:11:20 BST 2024

Am 2024-08-08 16:52, schrieb Ticker Berkin:
> Hi
> 
> First of all did you have these values in AngleChecker
>   COMPACT_DIR_DEGREES = 45+1;
>   SHARP_DEGREES = COMPACT_DIR_DEGREES;
> If SHARP_DEGREES is less than this, then, with compactDir format, there 
> might
> not be big enough distinction between the directions of the 2 exit ways 
> to get
> the correct turn instruction.

Yes, I haven't changed them. I'm using mkgmap r4921 with your patch.

> Your second example isn't quite clear; there are 3 3-way junctions near 
> the
> coords you gave, and, for one of them, the continuous way bends with 
> the other
> way, starting at the node, almost straight on going south. Without 
> loading these
> nodes and checking all the initial headings I can't tell which angles 
> are
> "sharp" and AngleChecker doesn't do anything if there are no sharp 
> angles.

The point is https://www.openstreetmap.org/node/261582603
The ways are https://www.openstreetmap.org/way/24147681 and 
https://www.openstreetmap.org/way/24147729

Thorsten


More information about the mkgmap-dev mailing list