Request: "off-track" sections


#1

Hi

ORS is a very good tool, however, sometimes OSM data can be lacking (i.e. a trail is not on there) or faulty (e.g. two tracks not connecting properly). It is not always practical to correct the OSM data and wait for OSM to update the map and then wait for ORS to update the maps. Moreover, this may not even always be applicable, like in the case of a grass field that can be crossed to reach another track, for example.

So would it be possible to add a feature that one can create “off-track” sections in a route that are not calculated using tracks in the OSM data, but can just be added for example as straight lines between via points? This way such issues could be bypassed.

Cheers

P.S.: Keep up the great work


#2

If you are querying directly querying the API, you have the ability to use the skip_segments parameter to specify sections of the route that should be skipped in the routing process. For example, if you set the start and end points of the route, and then add via points at the start and end of the area you want to skip, you can then use the skip_segments parameter to skip that segment:

{
    "coordinates": [[52.5, 8.6], [52.6, 8.5], [52.7, 8.4], [52.8, 8.3]],
    "skip_segments": [2]
}

The above would do a route between [52.5, 8.6] and [52.6, 8.5], skip the route between [52.6,8.5] and [52.7,8.4], and then do a route between [52.7,8.4] and [52.8,8.3].

There is unfortunately no way of doing this yet though using the maps client


#3

Ok, that’s interesting, thanks. Maybe I should start to look into that.

Any chances of this skip_segment option coming to the maps client any time soon?

Cheers


#4

I second that request. There is an option on gpsies.com to turn off following tracks, and I have had to use that instead of ORS for some tracks.