Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This replaces #606, fixes #605
When writing, we keep a cache of previously clipped geometries. Higher zooms will prefer to clip a cached, clipped geometry over an uncached, unclipped geometry.
With this PR:
Antarctica doesn't max out the CPU due to #596 - I think a next step there could be to have a buffer so workers can just enqueue a tile (up to some limit) and move on with their work.
I also noticed that the Antarctica mbtiles couldn't be converted by the
pmtiles convert
command. I suspect this is a pre-existing issue, but I've never generated Antarctica before. My guess is it's related totilemaker/src/tile_worker.cpp
Line 187 in 06b68df
Probably it's OK to tackle that as a separate issue.