logo separator

[mkgmap-dev] Problem in AngleFixer?

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Thu Aug 8 13:22:30 BST 2024

Hi Thorsten

Is the problem still with node https://www.osm.org/node/27550903 and ways
36138336 / 144732811

I've loaded this example and looked at the angles before and after adjustment
with my patch. From the south the way enters the node with heading 161.6 and
leaves with heading -16, giving an angle of 178.6 (almost straight). The other
way leaves with heading -32.4, giving a sharp angle of 15.4 degrees that the
logic will want to increase.

After the adjustments, the main way isn't changed and the other way is given a
new heading of -63 degrees.

In compactDir format the main way enters in seg 7 and leaves in seg 15 (direct
opposite) and the other way now leaves in seg 13 (a clear segment between the
other exit). This, I thought, would be enough to get the turn instruction on the
correct road.

I've forgotten how some of the forward and reverse arc stuff works and, if there
is still a problem, I need to re-understand it to make sure that the
manipulations that we do to the angles at a node make sense for all routes
through it

Ticker

PS: no ideal about your mail error


On Thu, 2024-08-08 at 11:45 +0200, Thorsten Kukuk wrote:
> 
> Hi,
> 
> trying from another email account, with the other I always get an error 
> when trying to send to the mailing list:
> TLS Negotiation failed: FAILED_PRECONDITION: starttls error (71): 
> 123617668315712:error:1000012e:SSL 
> routines:OPENSSL_internal:KEY_USAGE_BIT_INCORRECT:third_party/openssl/boringss
> l/src/ssl/ssl_cert.cc:431:
> 
> 
> I tried the patch from Ticker, it fixes routing problems with sharp 
> angles for me,
> where previously Garmin devices would avoid the Junction.
> But it does not fix the wrong turn instruction for me.
> 
> Regards,
> Thorsten



More information about the mkgmap-dev mailing list