felt / tippecanoe

Build vector tilesets from large collections of GeoJSON features.
BSD 2-Clause "Simplified" License
906 stars 78 forks source link

Add point retention multiplier #179

Closed e-n-f closed 7 months ago

e-n-f commented 8 months ago

This PR adds a --retain-points-multiplier option to tippecanoe to preserve additional point features beyond what is normally retained at the low zoom levels, and a corresponding addition to tippecanoe-overzoom to remove additional points to return to the normal point density. This would just be a waste of time and space, except that there is also a new -j filter option to tippecanoe-overzoom to select the best feature from each point cluster, so that high-value points whose value is only known after tiling can be made more likely to appear in the low zooms.