Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalization: Get extent of source layer also for raster layers #2218

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

joto
Copy link
Collaborator

@joto joto commented Aug 10, 2024

When generalizations are calculated by tile we need to know which extent to work on. If we are not working with a full planet we get that information from the (estimated) extent of the source layer. This adds support for determining the extent for raster-based source layers.

This is needed when we generalize source layers into rasters and then use those rasters as source for even lower level tiles.

joto added 2 commits August 10, 2024 16:30
When generalizations are calculated by tile we need to know which extent
to work on. If we are not working with a full planet we get that
information from the (estimated) extent of the source layer. This adds
support for determining the extent for raster-based source layers.

This is needed when we generalize source layers into rasters and then
use those rasters as source for even lower level tiles.
It appears that with C++20 the fmt library expects the format string to
be constexpr.
@lonvia lonvia merged commit f9c1650 into osm2pgsql-dev:master Aug 12, 2024
26 checks passed
@joto joto deleted the gen-raster-column branch August 14, 2024 11:50
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