[Tile-serving] [osm2pgsql-dev/osm2pgsql] Add osm2pgsql-expire command (PR #2409)
Jochen Topf
notifications at github.com
Fri Aug 22 20:00:18 UTC 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.
You can view, comment on, or merge this pull request online at:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2409
-- Commit Summary --
* Add osm2pgsql-expire command
-- File Changes --
M CMakeLists.txt (3)
M man/CMakeLists.txt (8)
A man/osm2pgsql-expire.1 (80)
A man/osm2pgsql-expire.md (74)
M src/command-line-app.cpp (64)
M src/command-line-app.hpp (6)
M src/command-line-parser.cpp (3)
M src/expire-output.cpp (2)
M src/gen/osm2pgsql-gen.cpp (2)
A src/osm2pgsql-expire.cpp (439)
M src/tile.cpp (37)
M src/tile.hpp (8)
M tests/test-tile.cpp (17)
-- Patch Links --
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2409.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2409.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2409
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/pull/2409 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250822/e77eeccd/attachment-0001.htm>
More information about the Tile-serving
mailing list