Skip to content

Conversation

@joto
Copy link
Collaborator

@joto joto commented Aug 22, 2025

New osm2pgsql-expire command that helps with debugging/visualizing expire tiles issues.

The command can be used for two things:

  1. To check what tiles some OSM data is in: If an OSM file is specified osm2pgsql-expire will calculate the tiles covering the objects in that file. Note that the file must not be a change file but a regular OSM data file! Output is, by default, a tile file, but GeoJSON is also possible.
  2. Visualize tile list: If a tile file (presumably generated by osm2pgsql) is specified, a GeoJSON file is generated showing all mentioned tiles. In this mode all command line options are ignored.

New osm2pgsql-expire command that helps with debugging/visualizing
expire tiles issues.

The command can be used for two things:

1. To check what tiles some OSM data is in: If an OSM file is specified
   osm2pgsql-expire will calculate the tiles covering the objects in that file.
   Note that the file must not be a change file but a regular OSM data file!
   Output is, by default, a tile file, but GeoJSON is also possible.
2. Visualize tile list: If a tile file (presumably generated by osm2pgsql)
   is specified, a GeoJSON file is generated showing all mentioned tiles. In
   this mode all command line options are ignored.
@lonvia lonvia merged commit 96a1d75 into osm2pgsql-dev:master Sep 15, 2025
24 checks passed
@joto joto deleted the expire-command branch September 15, 2025 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants