⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@joto
Copy link
Collaborator

@joto joto commented Feb 6, 2026

Expire (multi)polygons based on their shape, not the complete bounding box. We use the existing implementation for the boundary expire, to get the boundary right including the configured buffer. For the rest of the area inside the polygon we use a "polygon drawing algorithm" to figure out all tiles which are inside the polygon.

This also contains some changes to the BDD test code to allow running the osm2pgsql-expire program and check its output against a file.

Expire (multi)polygons based on their shape, not the complete bounding
box. We use the existing implementation for the boundary expire, to get
the boundary right including the configured buffer. For the rest of the
area inside the polygon we use a "polygon drawing algorithm" to figure
out all tiles which are inside the polygon.

This also contains some changes to the BDD test code to allow running
the osm2pgsql-expire program and check its output against a file.
@lonvia lonvia merged commit 6ce2bc0 into osm2pgsql-dev:master Feb 7, 2026
43 of 44 checks passed
@joto joto deleted the expire-polygon branch February 8, 2026 09:13
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