GIScience / openrouteservice

🌍 The open source route planner api with plenty of features.
https://openrouteservice.org
GNU General Public License v3.0
1.33k stars 379 forks source link

Consider side of road for departure and destination points #1781

Open dhasselol opened 2 months ago

dhasselol commented 2 months ago

Is there an existing issue for this?

Feature/Enhancement Proposal

I am using the matrix api to get travel times for a high number of relations. Most turn out reasonable, but some end up unreasonably short. I have determined that this is caused by instances where you in reality are required to drive past the destination, find somewhere to turn around and then arrive at the location at the correct side of the road.

See attached for an example. I have deliberately set the start and end points on the side of the road as the travel link is specifically to a bus stop on one side of the road. ORS does not seem to consider this and goes straight between the points, taking the shortest path and does not seem to consider what side of the road is used. The desired result here would be for the route to start at point 1, then continue north to the roundabout, take the 4th exit and then return to point 2 at the correct side of the road. It would be appreciated if we could toggle side of road to be respected.

ORS Maps (openrouteservice.org)

image

Additional context

No response

Possible Implementation

No response

Forum Topic Link

https://ask.openrouteservice.org/t/respect-side-of-the-road-of-destination-point/5990

aoles commented 2 months ago

Thanks for filing in a feature request! It sounds familiar to the curbside feature introduced a while ago in graphhopper, the routing engine ORS piggybacks on. More details can be found in the blogpost. Might be worth looking into how easy it would be to integrate it into ORS as well.