NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×83
×38
×25

question asked: 28 Jun '22, 10:44

question was seen: 780 times

last updated: 28 Jun '22, 10:44

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum