I m trying to build a system that compute a ROUTE to use with my Android application usgin openstreetmap.
I have start point as (longitude and latitude), I have also end point as (longitude and latitude), but I need to pass for a specifics paths to arrive at the end point.
So I m using the following API
".894217,41.623532;15.894137,41.623432;15.89456,41.623219;15.896971,41.621665;15.896446,41.621274;15.896515,41.621215;15.896444,41.620727;15.896152,41.619867;15.897701,41.619943;15.897882,41.618745;15.898118,41.618746;15.898118,41.618746;15.897882,41.618745;15.897306,41.618126;15.897796,41.617731;15.896262,41.616782?alternatives=false&overview=full&steps=true"
I receive the response from web service but without directions instructions and with a path for me not correct. The question is: Is there a way to use this routing API by passing it a start point, end point and also passing it a path to follow to get from the start point to the end point?
I m trying to build a system that compute a ROUTE to use with my Android application usgin openstreetmap.
I have start point as (longitude and latitude), I have also end point as (longitude and latitude), but I need to pass for a specifics paths to arrive at the end point.
So I m using the following API
"https://routing.openstreetmap.de/routed-foot/route/v1/walking/15.894217,41.623532;15.894137,41.623432;15.89456,41.623219;15.896971,41.621665;15.896446,41.621274;15.896515,41.621215;15.896444,41.620727;15.896152,41.619867;15.897701,41.619943;15.897882,41.618745;15.898118,41.618746;15.898118,41.618746;15.897882,41.618745;15.897306,41.618126;15.897796,41.617731;15.896262,41.616782?alternatives=false&overview=full&steps=true"
I receive the response from web service but without directions instructions and with a path for me not correct. The question is: Is there a way to use this routing API by passing it a start point, end point and also passing it a path to follow to get from the start point to the end point?
Share Improve this question asked Mar 31 at 13:18 bircastribircastri 2,16714 gold badges55 silver badges132 bronze badges 01 Answer
Reset to default 0If you want routing instructions for a predefined path then use a routing engine that supports map matching. Valhalla supports map matching. There could be others, check the list of available OSM online routers.