You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thx for your great work of orienternet. I have a question about the loading of osm data. I found that in reader.py, it supports loading OSMData from "from_dict", "from_json" and "from_xml". But the main format of osm.data is "xx.osm.pbf". I wonder the utils functions of openstreetmap is written by yourself or from other resources. Or can you provide a "from_pbf" function in the code.
Thank you very much!
The text was updated successfully, but these errors were encountered:
Geofabrik also serves compressed XML files as .osm.bz2, which you just need to extract. Alternatively, you can convert a binary file .osm.pbf to an XML file .osmusing the osmium tool. I will check whether this can be done in the code using pyosmium or so - feel free to send a PR if you get it working.
Hello, thx for your great work of orienternet. I have a question about the loading of osm data. I found that in reader.py, it supports loading OSMData from "from_dict", "from_json" and "from_xml". But the main format of osm.data is "xx.osm.pbf". I wonder the utils functions of openstreetmap is written by yourself or from other resources. Or can you provide a "from_pbf" function in the code.
Thank you very much!
The text was updated successfully, but these errors were encountered: