Run OSRM in R to generate isochrones, but editing the road network?
phcantis opened this issue · 3 comments
Hi! I am interested in comparing isochrone maps based on different road closure scenarios. I have a couple of polygon layers that I would use to "remove" closed roads (e.g. due to flooding). Is there a way to use the osrm package doing this? would it be viable to have an added input that overlays with the OSM road network to remove overlapping lines? Another way would be to use OSM road data pulled previously, pre-edited, and use it as input in a function.
Would appreciate any guidance for other methods / packages in R if OSRM is unable to do this or it is not planned to have this functionality in the future.
Thank you
Hello,
osrm
(the package) uses results from an OSRM (the routing engine) instance.
OSRM uses OSM.
So it is more : use OSM road data pulled previously, pre-edited, and use it as input in of your own instance of the OSRM routing engine.
Hi,
Thank you for your response. Since my last comment, I have learnt a lot about OSRM and OSM. I have managed to create my own OSRM instances using unedited data downloaded from Geofabrik. The thing that I am struggling to learn how to do is pre-editing OSM data before processing it into an instance. This pre-processing would preferably be done using GIS approaches to a) delete the roads of interest or b) alter their speed limits. If you are aware of any tutorial / have any guidance to do this, I am happy to hear. Otherwise feel free to close this issue.
I don't have a tutorial to suggest. I would probably do it with QGIS, It is not an easy task though.