Hi easbar,
With the change you suggested in DefaultTurnCostProvider the path is:
Distance: 631.6836163724382 and time: 111466
(0,Rua Mouzinho da Silveira,226.0795480812837,27129) (38.72264052206826, -9.15029732577064)
(2,Rua Alexandre Herculano,276.2953867363474,16578) (38.7223916, -9.1500762)
(3,Rua Alexandre Herculano,129.30868155480707,7759) (38.7209899, -9.1527059)
(4,,0.0,0) (38.72164558115734, -9.15147490378864)
The 3rd instruction is a turn sharp right (should be left at least, not right) is in a place where I cannot turn:
Without the change the suggested path is:
Distance: 458.7996163724382 and time: 101092
(0,Rua Mouzinho da Silveira,226.0795480812837,27129) (38.72264052206826, -9.15029732577064)
(2,Rua Alexandre Herculano,189.85338673634737,11391) (38.7223916, -9.1500762)
(3,Rua Alexandre Herculano,42.866681554807066,2572) (38.721428, -9.1518828)
(4,,0.0,0) (38.72164558115734, -9.15147490378864)
My u turn costs are set to 30.
Do you have anymore ideas of how to workaround this?
Thank you,
ML