Thanks. The merge with osmosis would probably be required as the set of seaways to be used resulted from a custom set of paths specific to the application (not based on OSM rivers). Usage of ferry would mos probably not be desired. I would like car profile to work as normal, including the possibility to use OSM provided ferry tagged routes, and would expect "my seaways" to only be used with a specific profile (say "boat") and not even be merged with road. Assuming that I would get a merge with a new set of routes tagged with a "route=boat", what kind of support would OSRM give to support adding a new mode/profile that could only use such routes ?
Thanks On Tue, 13 Jun 2017 at 10:44 Daniel Patterson <[email protected]> wrote: > Hi Ricardo, > > There is currently no built-in method for this. OSRM supports ferry > routes, but only when they're drawn explicitly in OpenStreetMap, and > tagged with route=ferry. > > To do this correctly, you would probably need to draw your own ways > down the rivers that you want to support, and connect those to the > rest of the network. It may or may not be OK to add this data to OSM > itself, I suspect you will need to maintain your own data, and merge > it into an OSM extract (using a tool like osmosis). It might be > difficult to keep the connectivity correct if you update your base > map. > > I don't think using the outlines of the river polygons for routing > will be practical - I can imagine a lot of cases where the shape might > be very bad for routing, we would route you along the edge of the > river, rather than down the center. It might get very strange when > rivers hit lakes. I also don't know if all the necessary roads/paths > would be properly connected to the edges of the river at the points > you want. > > TL;DR - there's no easy way to do it. > > daniel > > > On Jun 13, 2017, at 08:41, Ricardo Pereira <[email protected]> > wrote: > > > > Good morning. > > I'm new to OSRM and would be thankful if someone could direct me to the > right approach/documentation to achieve the following: > > > > On top of the normal OSM data supporting "road" traffic, I'd like to > also include waterway graphs, that would allow OSRM to also calculate > routes for another type of vehicle (e.g. boat). > > I would expect to provide a "waterway" graph with the same type of > variables as a road, just as maximum speed, etc, but would expected that it > was reserved vehicles of the "boat" type, so that those ways would be used > only with the right profile. > > > > Please notice also, that my preference would be to add the rivers to > normal road data, not have a separate instance "pretending rivers to be > roads". > > > > Thanks in advance, > > Ricardo > > _______________________________________________ > > OSRM-talk mailing list > > [email protected] > > https://lists.openstreetmap.org/listinfo/osrm-talk > > _______________________________________________ > OSRM-talk mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/osrm-talk >
_______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk
