Hi,
I’m setting up a route for a driving-hgv through the city of The Hague, Netherlands. I use the following settings:
coordinates = [[4.35658602586403,52.06891305948028],[4.33123418082806,52.06760401674367]]
route = client.directions(coordinates=coordinates,
profile='driving-hgv',
format='geojson',
continue_straight='true',
units='km',
optimized='false',
options={'avoid_borders':'all',
'avoid_polygons':{'type':'MultiPolygon','coordinates':
[[lisserweg],[appololaan],[morsweg],[beatrixlaan]]},
'profile_params':{'restrictions':{'height':3.9,'length':16}},
'vehicle_type':'goods'})
The continue straight is not taken into account on a couple of instances. Is there an option I missed so it should work? I tried to change it into the following, and that doesn’t work neither:
continue_straight = True
optimized = False
This is the given road and as you can see it’s making a u-turn in the last part. The second pictures is where the u-turn has to be made and this is not preferable for a truck.