Skip to content

Commit

Permalink
Fix comment about needing admin.osc.bz2 (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zverik authored Sep 26, 2024
1 parent 0495a20 commit a1a6bcf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions PLANET.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,17 @@ First decide where to get the `planet.osm.pbf` file:
osmium apply-changes daylight.osm.pbf admin.osc.bz2 <buildings.osc.bz2, ...> -o everything.osm.pbf
osmium renumber everything.osm.pbf -o 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.

- 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/user_manual/10-Replication-Tools/#updating-a-planet-or-extract):

```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.

### 2) Run Planetiler

Download the [latest release](https://github.com/onthegomap/planetiler/releases/latest) of `planetiler.jar`.
Expand Down

0 comments on commit a1a6bcf

Please sign in to comment.