Im trying to make a little app which creates a diversion route around closed roads using the rest api for HERE with python,
im using the: https://cre.api.here.com/2/overlays/upload.json?... https://cre.api.here.com/2/calculateroute.json?... to return a list of lat/long coords
to upload and calculate the best route (please advise if there is a better way)
I was wondering if there was a way to work out the best route but sticking to specific roads for example if the first waypoint was on A road it would stick to an A road, same for B roads etc