This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

Data error when extract region from planet file

0

I use osmium tool to extract smaller regions from the latest planet file:

mirror: https://ftp5.gwdg.de/pub/misc/openstreetmap/planet.openstreetmap.org/pbf/planet-220620.osm.pbf md5sum: https://ftp5.gwdg.de/pub/misc/openstreetmap/planet.openstreetmap.org/pbf/planet-220620.osm.pbf.md5

The osmium extract command ends with:

failed to uncompress data: data error

I checked the md5sum of downloaded planet file and seems to be correct:

$md5sum planet-latest.osm.pbf
9cad5ab2818bb5abe08695974965407e  planet-latest.osm.pbf

When osmium fileinfo -e

osmium fileinfo planet-latest.osm.pbf
File:
  Name: planet-latest.osm.pbf
  Format: PBF
  Compression: none
  Size: 68838422488
Header:
  Bounding boxes:
    (-180,-90,180,90)
  With history: no
  Options:
    generator=planet-dump-ng 1.2.3
    osmosis_replication_timestamp=2022-06-19T23:59:47Z
    pbf_dense_nodes=true
    pbf_optional_feature_0=Has_Metadata
    pbf_optional_feature_1=Sort.Type_then_ID
    sorting=Type_then_ID
    timestamp=2022-06-19T23:59:47Z
[======================================================================] 100%
failed to uncompress data: data error

I don't expect there to be any problem with the planet file or osmium-tool. However, could I ask you for advice on how to solve this problem?

Thanks, Petr

asked 28 Jun '22, 10:44

VOLDY's gravatar image

VOLDY
11112
accept rate: 0%