Reputation: 35
I am trying to host OSRM server locally only for 1 city, Is it possible to get the .pbf file for the specific city (Since osrm server requires tiles in that format)? if Possible how? Or is there any alternative?
I already hosted osrm server for Berlin city using the documentation provided https://github.com/Project-OSRM/osrm-backend/wiki/Running-OSRM
Upvotes: 1
Views: 801
Reputation: 1032
bbbike.org allows you to create pbf files for custom shapes via their online tool. Also, they have some ready-made pbf extracts for some cities here.
Upvotes: 2
Reputation: 21469
You can take a look at OSM country and area extracts to check whether there is a PBF file for your city.
If not, download a larger extract containing your city and split it into a smaller geographic region, for example using osmium-tool with the extract
argument.
Upvotes: 1