Skip to content

Unable to download new maps using download-osm #454

@dlewis152

Description

@dlewis152

I am trying to use download-osm from openmaptiles-tools download the latest map.

download-osm plant -f -o "/maps/planet-latest.osm.pbf"

This returns the following error:

Unable to load md5 hash for planet-latest.osm.pbf from https://ftp.snt.utwente.nl/pub/misc/openstreetmap/planet-latest.osm.pbf.md5 (NL): Received status=404
Unable to use TW source https://free.nchc.org.tw/osm.planet/pbf/: Received status=404
Unable to load md5 hash for planet-241230.osm.pbf from https://object-storage.tyo1.conoha.io/v1/nc_f9ef0675dc0b40128854d76b0bd2f5be/PlanetOSM/planet-241230.osm.pbf.md5 (JP): Invalid md5 hash ''
Unable to load md5 hash for planet-latest.osm.pbf from https://planet.passportcontrol.net/pbf/planet-latest.osm.pbf.md5 (JP): Invalid md5 hash ''
Retrieving available files...
ERROR: Multiple files with the same length have different hashes:
* planet-241230.osm.pbf from https://ftp.spline.de/pub/openstreetmap/pbf/planet-241230.osm.pbf (DE), length=84354073816, hash=aab72dc4a20a9b735fdd2824940cc93d
* planet-250106.osm.pbf from https://planet.openstreetmap.org/pbf/planet-250106.osm.pbf (GB), length=None, hash=bb5e9fb48aaddd7e61add647d43fc24c
Unable to use sources - unable to match "latest" without date/md5:
planet-241230.osm.pbf from https://object-storage.tyo1.conoha.io/v1/nc_f9ef0675dc0b40128854d76b0bd2f5be/PlanetOSM/planet-241230.osm.pbf (JP)
planet-latest.osm.pbf from https://ftp.snt.utwente.nl/pub/misc/openstreetmap/planet-latest.osm.pbf (NL)

Latest available files:

date          mirror_count  md5                               size
----------  --------------  --------------------------------  ----------------------------
2025-01-06               7  bb5e9fb48aaddd7e61add647d43fc24c  80,549.5 MB (84,462,321,071)
2024-12-30               6  aab72dc4a20a9b735fdd2824940cc93d  80,446.3 MB (84,354,073,816)

Will download planet published on 2025-01-06, size=80,549.5 MB (84,462,321,071), md5=bb5e9fb48aaddd7e61add647d43fc24c, using 6 sources (will not use primary)

  aria2c --checksum=md5=bb5e9fb48aaddd7e61add647d43fc24c --split=6 --http-accept-gzip "--user-agent=OpenMapTiles download-osm 0.0.0 (https://github.com/openmaptiles/openmaptiles-tools)" --dir=/data --out=planet-latest.osm.pbf --auto-file-renaming=false --allow-overwrite=true https://ftp.spline.de/pub/openstreetmap/pbf/planet-250106.osm.pbf https://ftp5.gwdg.de/pub/misc/openstreetmap/planet.openstreetmap.org/pbf/planet-250106.osm.pbf https://ftp.fau.de/osm-planet/pbf/planet-250106.osm.pbf https://ftpmirror.your.org/pub/openstreetmap/pbf/planet-250106.osm.pbf https://ftp.osuosl.org/pub/openstreetmap/pbf/planet-latest.osm.pbf https://download.bbbike.org/osm/planet/planet-latest.osm.pbf


01/13 12:50:10 [NOTICE] Downloading 1 item(s)

01/13 12:50:10 [ERROR] CUID#7 - Download aborted. URI=https://ftp.spline.de/pub/openstreetmap/pbf/planet-250106.osm.pbf
Exception: [AbstractCommand.cc:403] errorCode=1 URI=https://ftp.spline.de/pub/openstreetmap/pbf/planet-250106.osm.pbf
  -> [RequestGroup.cc:760] errorCode=1 Download aborted.
  -> [DefaultBtProgressInfoFile.cc:298] errorCode=1 total length mismatch. expected: 84462321071, actual: 84354073816

I've been searching on Google but cannot find a work around / fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions