[OSRM-talk] Exclude bridge from OSRM calculation

Nikhil VJ nikhil.js at gmail.com
Tue Oct 29 11:11:24 UTC 2019


Hi Andres,

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?

Take a look at
https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/foot.lua

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.

--
Cheers,
Nikhil VJ
https://nikhilvj.co.in


On Tue, Oct 29, 2019 at 4:03 PM ANDRES ABARCA <andres.abarca at iusspavia.it>
wrote:

> Thank you for your response!
>
> 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?
>
> 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?
>
> Thanks for the help!!
>
> Best regards,
>
> Andres
>
> Il giorno ven 25 ott 2019 alle ore 14:16 Steven M. Ottens <
> steven at minst.net> ha scritto:
>
>> Hi Andres,
>>
>> 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.
>>
>> 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.
>>
>> http://rah.surge.sh/about+
>>
>> https://github.com/WorldBank-Transport/ram-backend
>>
>> Cheers
>>
>> Steven
>> On 25-10-2019 12:31, ANDRES ABARCA wrote:
>>
>> Hi! I'm a PhD student at IUSS Pavia doing research on the impact of
>> bridge collapse.
>>
>> 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?
>>
>> We use OSM information, so we do have the OSM id numbers for the bridges
>> we would be excluding.
>>
>> Thanks for any assistance you can provide.
>>
>> Best regards,
>>
>> Andres Abarca
>> PhD Student
>> IUSS Pavia
>>
>> _______________________________________________
>> OSRM-talk mailing listOSRM-talk at openstreetmap.orghttps://lists.openstreetmap.org/listinfo/osrm-talk
>>
>> _______________________________________________
>> OSRM-talk mailing list
>> OSRM-talk at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/osrm-talk
>>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20191029/5744843a/attachment.html>


More information about the OSRM-talk mailing list