Hi Nikhil, 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).
Best regards, Andres Il giorno mar 29 ott 2019 alle ore 12:14 Nikhil VJ <[email protected]> ha scritto: > 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 <[email protected]> > 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 < >> [email protected]> 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 >>> [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 >> > _______________________________________________ > 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
