Another approach could be to edit your OSM file. You could identify the OSM
nodes of the collapsed bridge (using openstreetmap.org) and remove them from
the file.
From: Jason Dalton
Sent: Tuesday, October 29, 2019 6:54 AM
To: Mailing list to discuss Project OSRM
Subject: Re: [OSRM-talk]
Create a class in your OSM extract for the collapsed bridges. Compile two
different OSRM profiles - one that avoids class 'bridge-collapsed' and one
that doesn't.
On Tue, Oct 29, 2019 at 7:27 AM ANDRES ABARCA
wrote:
> Hi Nikhil,
>
> Thanks for the response! I was checking the car.lua and I
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
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
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?