<div dir="ltr">Hi Nikhil,<div><br></div><div>Thanks for the response! I was checking the car.lua and I will keep looking into it, but I think this would work for a generalized restriction. But I don't want to exclude all bridges, I want to exclude some specific ones (detected as collapsed).</div><div><br></div><div>Best regards,</div><div><br></div><div>Andres </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mar 29 ott 2019 alle ore 12:14 Nikhil VJ <<a href="mailto:nikhil.js@gmail.com">nikhil.js@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Andres,<div><br></div><div>Instead of trying to actually remove the bridge data, why not instruct (your own instance of) OSRM to avoid bridges when reading the OSM data?</div><div><br></div><div>Take a look at <a href="https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/foot.lua" target="_blank">https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/foot.lua</a></div><div><br></div><div>I don't know right now about bridges, but I was able to enable pedestrian routing over trunk roads by tinkering around in this file and then building and running OSRM.</div><div><br></div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>--<br>Cheers,<br>Nikhil VJ<br><a href="https://nikhilvj.co.in" target="_blank">https://nikhilvj.co.in</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 29, 2019 at 4:03 PM ANDRES ABARCA <<a href="mailto:andres.abarca@iusspavia.it" target="_blank">andres.abarca@iusspavia.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you for your response!<div><br></div><div>I'm still inclining to use OSRM directly. Do you know if it would be possible to exclude bridges from the analysis if I use one of the Docker images?</div><div><br></div><div>Also, in general, how would I proceed about removing a bridge? Should I (temporarily) remove it from the road data? Or could I query it out?</div><div><br></div><div>Thanks for the help!!</div><div><br></div><div>Best regards,</div><div><br></div><div>Andres</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 25 ott 2019 alle ore 14:16 Steven M. Ottens <<a href="mailto:steven@minst.net" target="_blank">steven@minst.net</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Hi Andres,</p>
<p>The public web service doesn't allow for exclusion of
roads/bridges. If you setup your own copy of OSRM you obviously do
have the freedom to exclude anything.</p>
<p>Alternatively you could look into Rural Accessibility Map. An
application on top of OSRM developed for the Worldbank which is
used to calculate the impact of road improvements on the
accessibility of a region. You can use it to other way around as
well: Calculate the impact of a bridge collapse.</p>
<p><a href="http://rah.surge.sh/about+" target="_blank">http://rah.surge.sh/about+</a></p>
<p><a href="https://github.com/WorldBank-Transport/ram-backend" target="_blank">https://github.com/WorldBank-Transport/ram-backend</a><br>
</p>
<p>Cheers</p>
<p>Steven<br>
</p>
<div>On 25-10-2019 12:31, ANDRES ABARCA
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi! I'm a PhD student at IUSS Pavia doing research
on the impact of bridge collapse.
<div>
<div> </div>
<div>I want to use the OSRM public web server to calculate a
duration matrix using the Table Service. How can I exclude a
specific bridge (or several) from the query?</div>
<div><br>
</div>
<div>We use OSM information, so we do have the OSM id numbers
for the bridges we would be excluding.</div>
<div> <br>
</div>
<div>Thanks for any assistance you can provide.</div>
<div><br>
</div>
<div>Best regards,</div>
<div><br>
</div>
<div>Andres Abarca</div>
<div>PhD Student</div>
<div>IUSS Pavia</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
OSRM-talk mailing list
<a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a>
</pre>
</blockquote>
</div>
_______________________________________________<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>
_______________________________________________<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>
_______________________________________________<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>