I am trying to use the osrmtime command in order to calculate travel time for a large dataset of students (over 1,000,000 thus making APIs involving payment out of the question). I have followed the directions in this article https://www.uni-regensburg.de/wirtsc...per_online.pdf
However, I have run into a strange problem with the osrmprepare command that must be run prior to the osrmtime command. I have downloaded an osm map from Geofabrik (I tried it in both the osm.pbf and the bz2 format and neither has worked). I have verified that all data is in the correct location. However, when I run the osrmprepare command I get an error saying that the map is in the wrong format.
I get the following error
Anyone know what I am missing? I haven´t seen anything posted on this topic in a couple of years. Is this code still working? Is there an alternative open source mapping/ routing option with Stata?
Thank you in advance for any help!
However, I have run into a strange problem with the osrmprepare command that must be run prior to the osrmtime command. I have downloaded an osm map from Geofabrik (I tried it in both the osm.pbf and the bz2 format and neither has worked). I have verified that all data is in the correct location. However, when I run the osrmprepare command I get an error saying that the map is in the wrong format.
Code:
osrmprepare, mapfile(¨C:/mymaps/tennessee-latest.osm.pbf¨) osrmdir(¨ C:/osrm/¨) diskspace(5000) profile(car)
Code:
OSRM is only capable to parse .osm (XML) formatted data and pbf or bzip2 compressed files, please use an appropriate file ending! r(198);
Thank you in advance for any help!
Comment