osm.pbf is an initialism for Open Street Map Protocolbuffer Binary Format and is primarily intended as an alternative to the OSM XML format.
Questions tagged [osm.pbf]
60 questions
0
votes
0 answers
Imposm how to import a new osm .pbf without erasing an existing db?
I have an existing PostgreSQL db in which I had imported OSM data extracts in .pbf format for North America.
Suppose that I now need to import a new .pbf file for Europe in the dame db.
How can I make sure it doesn't erase my existing tables with…

Fabian
- 229
- 3
- 8
0
votes
0 answers
How to write geopandas data into osm.pbf file using python?
I have sample nodes, edges data like below. I am using ElementTree to write the data into .osm file and then trying to convert into .osm.pbf using osmosis but when trying to convert from .osm to .osm.pbf osmosis throws error saying "osm format is…

data en
- 431
- 1
- 2
- 9
0
votes
0 answers
Open Route Service initialisation takes forever
I've set up an Open Route Service on-premise docker on my server. I added the Europe pbf map from geofabrik.de which is around 44GB. I understand it should take a lot of time to analyse this big map but I let it run for 2 weeks and still no result.…

Shahin Shemshian
- 356
- 1
- 11
0
votes
0 answers
Optimize planet .mbtiles files to smaller size
I have an planet.mbtiles file downloaded from openstreetmap and which is around 90GB in size, when I serve this file through tileserver-gl(consbio/mbtileserver), my average tile size is really large, for levels '0/0/0.pbf' the tile size is in MBs.…

Siddharth
- 859
- 8
- 16
0
votes
0 answers
Edited .shp to osm.pbf
I have the following workflow in the mind:
Finding shortest paths using Open Source Routing Machine using osm.pbf file of Switzerland. (It works fine.)
Now I would like to edit some of the roads as not passable (i.e. either access=no or maxspeed=0)…

Tsolmon
- 61
- 2
0
votes
0 answers
Converting TomTom API Tile to Lat/Long using Python
I am using TomTom API to retrieve Traffic Data in PBF format
example /traffic/map/{versionNumber}/tile/flow/{style}/{zoom}/{x}/{y}.{format}
api call tried…

JavaLeer0328
- 11
- 4
0
votes
0 answers
Convert OpenStreetMap POI Data to CSV
I am looking to extract some Point of Interest (POI) data from OpenStreetMap in a tabular format. I have used this link navigated to the relevant country and downloaded the file,
http://download.geofabrik.de/
What I get is a file with the .osm.pbf…

Minura Punchihewa
- 1,498
- 1
- 12
- 35
0
votes
1 answer
How can I download historical file from OpenStreetMap?
I need the .pbf file for one country but from last year. Is there any possibility to find it on the OSM ?

HappyProgrammer
- 139
- 1
- 10
0
votes
1 answer
Feed formats other than pbf to Osmosis
I've written code in Java using the Osmosis framework and specifically OsmosisReader for Java, for OSM processing.
As far as I understand, OsmosisReader can only work with *.pbf files, which means I need to convert .osm files before using them…

Kfir Ettinger
- 584
- 4
- 13
0
votes
1 answer
Error using Openlayer vectortile custom renderfunction for vectortiles
Error using Openlayer vectortile custom renderfunction vector tiles
Openlayer layers allow to set a custom render function, as mentioned in https://openlayers.org/en/latest/apidoc/module-ol_layer_Layer-Layer.html. It says the render function takes…

johnny
- 1
- 1
0
votes
1 answer
How to convert nominatim file to osm file pbf?
I have a backup file from postgresql of nominatim. Now I want to convert that backup file into OSM's PBF file, is it possible? If yes give me some suggestions on the conversion . Thanks a lot

bin
- 33
- 5
0
votes
0 answers
Which type of map content only road in offline mode and manage that with python?
I used osm and osm.pbf, but I have some problems whit those.
I manage These types, with pyrosm library and got the driving network, but output of this, is very static.
In addition the roads don't have name.
I want use just roads, with their name,…

Mamad 989331727735
- 31
- 3
0
votes
1 answer
Extract addresses zip street city form openstreetmap pbf files
to build up a database of German cities where ic can query cities around a cup with a defined distance, i want wo export from pbf files the address data into a mysql database. I already found a good source where i can get the pbf files, but could…

Georg Stein
- 69
- 3
0
votes
1 answer
Postgres data to osm-pbf creation failed using osmosis snapshot schema
I have imported pbf to postgres using osmosis snapshot schema
now wanted to create pbf from that schema, using following command
osmosis --read-pgsql host=localhost database=osmosisv1 user=postgres password=postgres postgresSchema=contry_snapshot…

sawan
- 2,341
- 3
- 25
- 51
0
votes
1 answer
Converting .pbf file to .osm using pyosmium
I have downloaded a rather large file from geofabrik.de and it is in the form of a pbf. I need to convert it into an osm file so I can extract the nodes and edges from the file. I have downloaded the osmium library by using pip install osmium but it…

Alicewonderland
- 1
- 1