<div dir="ltr">Thanks.<div>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).</div><div>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.</div><div>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 ?</div><div><br></div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, 13 Jun 2017 at 10:44 Daniel Patterson <<a href="mailto:daniel@mapbox.com">daniel@mapbox.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ricardo,<br>
<br>
There is currently no built-in method for this. OSRM supports ferry<br>
routes, but only when they're drawn explicitly in OpenStreetMap, and<br>
tagged with route=ferry.<br>
<br>
To do this correctly, you would probably need to draw your own ways<br>
down the rivers that you want to support, and connect those to the<br>
rest of the network. It may or may not be OK to add this data to OSM<br>
itself, I suspect you will need to maintain your own data, and merge<br>
it into an OSM extract (using a tool like osmosis). It might be<br>
difficult to keep the connectivity correct if you update your base<br>
map.<br>
<br>
I don't think using the outlines of the river polygons for routing<br>
will be practical - I can imagine a lot of cases where the shape might<br>
be very bad for routing, we would route you along the edge of the<br>
river, rather than down the center. It might get very strange when<br>
rivers hit lakes. I also don't know if all the necessary roads/paths<br>
would be properly connected to the edges of the river at the points<br>
you want.<br>
<br>
TL;DR - there's no easy way to do it.<br>
<br>
daniel<br>
<br>
> On Jun 13, 2017, at 08:41, Ricardo Pereira <<a href="mailto:ricardo.pereira@gmail.com" target="_blank">ricardo.pereira@gmail.com</a>> wrote:<br>
><br>
> Good morning.<br>
> I'm new to OSRM and would be thankful if someone could direct me to the right approach/documentation to achieve the following:<br>
><br>
> 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).<br>
> 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.<br>
><br>
> 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".<br>
><br>
> Thanks in advance,<br>
> Ricardo<br>
> _______________________________________________<br>
> OSRM-talk mailing list<br>
> <a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br>
> <a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
<br>
_______________________________________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
</blockquote></div>