I've downloaded the United States .osm.pbf from Geofabrik. To convert the map data from .osm.pbf to GeoJSON, I used the following osmium command: The output GeoJSON appears to only contain points (e.g trees, buildings, powerlines) and no roads/polygons. The progress bar in the terminal indicates that osmium has finished. Do I need to include extra arguments to export other geometries? asked 23 Jul '21, 15:48 tussiez |
One Answer:
The program isn't finished when the progress bar is finished but when the program is finished. The progress bar is, unfortunately, not working that great for Also: When using answered 23 Jul '21, 16:36 Jochen Topf |
I'll wait longer. When adding the file name to
dense_file_array
, osmium throws an argument error.Unknown index type 'dense_file_array,index.dat'. Use --show-index-types or -I to get a list.
Then your osmium is too old. There was a bug in osmium a while back but that has been fixed.