I am in possession of a geojson datafile that contains paths labeled as highway=footway
, and I am interested in utilizing OSRM for finding routes between multiple points (similar to the travelling salesman problem rather than just the most direct route from A to B).
After examining the OSRM documentation, I discovered that in order to use customized data instead of OpenStreetMap data, I would require an OSRM file. This can allegedly be created by executing the OSRM binaries located in node_modules/osrm/lib/binding/ along with default profiles.
I find this process to be quite ambiguous and I am unsure how to proceed. Although the aforementioned documentation references the OSRM-backend documentation, I could not locate any information regarding the creation of OSRM files there. Even after obtaining the node_modules/osrm
directory via npm, the osrm/lib/binding
directory is empty...
What steps should I take to incorporate my data into OSRM routing? Alternatively, if there exists a simpler solution to my goal, what approach would you recommend?