[OSRM-talk] Island hopping
Zenon Panoussis
oracle at provocation.net
Tue Oct 14 01:18:00 UTC 2014
> There needs to
> be some logic that says "if at_sea: ignore_all_intersections"
> to get rid of this behaviour.
Looking at the OSM tag definitions at
http://wiki.openstreetmap.org/wiki/Key:route?uselang=en-US
this would be
if (route == ferry) {
skip_intersections()
}
A more flexible alternative might be
if (route != road) {
skip_intersections()
}
The latter allows future expansions of OSRM to bike, hike and
public transport with less hassle.
Z
More information about the OSRM-talk
mailing list