From 2dc4bc660cb525f0245874d1d3ba80eb45c9cf07 Mon Sep 17 00:00:00 2001 From: Oliver Wipfli Date: Thu, 1 Dec 2022 21:48:53 +0100 Subject: [PATCH] Link to pyosmium-up-to-date (#402) --- PLANET.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PLANET.md b/PLANET.md index f8c99686..1a3b97f2 100644 --- a/PLANET.md +++ b/PLANET.md @@ -21,6 +21,11 @@ First decide where to get the `planet.osm.pbf` file: osmium apply-changes daylight.osm.pbf admin.osc.bz2 -o everything.osm.pbf osmium renumber everything.osm.pbf -o planet.osm.pbf ``` +- If you would like to update your `planet.osm.pbf` file to the latest changes from OpenStreetMap, you can use [pyosmium-up-to-date](https://docs.osmcode.org/pyosmium/latest/tools_uptodate.html): + + ```bash + pyosmium-up-to-date --size 20000 -v planet.osm.pbf + ``` NOTE: you need at least `admin.osc.bz2` for the `boundary` layer to show. This takes about 2.5 hours and needs as much RAM as the `planet.osm.pbf` size.