I want to extract some information from a .osm.pbf
file. I looked through OpenStreetMapX.jl
package but didn't find a function to read this data. I am wondering if anyone know a method to read this data. Alternatively is there a way to convert .osm.pbf
to .osm
file so that I found just use the get_map_data()
method offered by OpenStreetMapX
package
I would use Osmosis for that:
osmosis --read-pbf myFile.osm.pbf --write-xml myFile.osm