openstreetmap / openstreetmap/mod_tile
openstreetmap-tiles-update-expire and osm2pgsql 1.6.0 : --expire-tiles
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 318
- Forks
- 199
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Stumbled upon this error in openstreetmap-tiles-update-expire with osm2pgsql
osm2pgsql version 1.6.0
ERROR: Minimum and maximum zoom level for tile expiry must be separated by '-'
-e$EXPIRY_METAZOOM:$EXPIRY_METAZOOM should be replaced by --expire-tiles "$EXPIRY_METAZOOM-$EXPIRY_METAZOOM" for the script to work with osm2pgsql 1.6.0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the openstreetmap-tiles-update-expire script and inspect how it builds the --expire-tiles argument for osm2pgsql. Update the zoom-range syntax for osm2pgsql 1.6.0, then run the script or a corresponding expiry invocation to confirm the error is gone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100