Support priority attribute for dropping
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3.1k
- Forks
- 430
- PR merge metrics
- No merged PRs in 30d
Description
There are several mechanisms in Tippecanoe to determine which features to drop when necessary (smallest? densest? random?). For greater control, though, it would be handy to prepare the data to add some "priority" value to each feature, then do something like:
tippecanoe -rg --priority-attribute=priority ...
Then, whenever Tippecanoe needed to drop X features within a tile, it would sort them by the priority column, and drop those with the lowest value first.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the tippecanoe command-line entry point and trace the existing feature-dropping mechanisms described in the issue. Check how feature attributes are read and how features selected for a tile are ordered. Done means the priority attribute is accepted and features with the lowest values are dropped first when a tile must lose features.
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
- Mostly clear
- Newbie friendliness
- 35/100