] Exclude bridge from OSRM calculation
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
mailto:andres.aba...@iusspavia.it>> wro
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?
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