Closed almccon closed 8 years ago
Thats one of those murky OSM areas. The .osh extension was "invented" for Osmium. Osmium was one of the first software to read OSM files with history and needed something to differentiate between OSM files with and without history. But the people creating the history dump don't think it should have a different extension, because it is basically the same format. It is currently unresolved what the best way forward is here. So for the time being your easiest solution is to just rename those files.
I'm not sure if this is an Osmium error or if the problem is somewhere else.
I am trying to use the osm-history-splitter to cut up the whole planet history file, which I download from http://planet.openstreetmap.org/planet/experimental/.
The full history planet files downloadable there have filenames like
history-2014-09-01.osm.pbf
. However, osm-history-splitter gives this Osmium error and segfaults:But, if I rename the file
history-2014-09-01.osm.pbf
tohistory-2014-09-01.osh.pbf
(note the change of.osm
to.osh
) everything seems to work perfectly.So, is a problem with the planet.openstreetmap.org server naming its files incorrectly? Should they be named
.osh
instead of.osm
?Or should Osmium be able to read those files correctly regardless of their file extension?