tippecanoe icon indicating copy to clipboard operation
tippecanoe copied to clipboard

make Tippecanoe to not hide geometry that --accumulate-attribute

Open benderlidze opened this issue 5 years ago • 1 comments

I use these options to create mbtiles for mapbox --accumulate-attribute to accumulate population from polygons, so I can get population with mapbox.queryRenderedFeatures in bbox

tippecanoe -o out_sum.mbtiles -P --coalesce-smallest-as-needed --detect-shared-borders --extend-zooms-if-still-dropping -z12 --accumulate-attribute=population_c:sum joined_output_z_F.geojson

but at small zoom levels like 1-2-3-4-5, some of the geometry is dropped, and I got wrong results of population in this bbox. Is it possible somehow to not drop geometry that accumulate-attribute? I need the geometry(that accumulate-attribute population_c) visible at all zoom levels. Thanks

benderlidze avatar Dec 15 '20 14:12 benderlidze

If you can upload a sample of your data, I can look at this and try to figure out what is going wrong. The --coalesce-smallest-as-needed should cause features to be merged instead of dropped.

e-n-f avatar Feb 03 '21 06:02 e-n-f