make Tippecanoe to not hide geometry that --accumulate-attribute
- Dominant language
- C++
- Stars
- 3.1k
- Forks
- 430
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
Research direction
Start by reproducing the reported Tippecanoe command with the --accumulate-attribute=population_c:sum option and inspect output at zoom levels 1–5. Trace the geometry-dropping behavior associated with accumulation; done means geometries carrying the accumulated attribute remain visible at all requested zoom levels and Mapbox queryRenderedFeatures returns correct population totals.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100