mapbox / mapbox/tilesets-cli

Allow a "features.attributes.disallowed_output" in tileset recipes

Open
#152 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
141
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm not sure which of mapbox's many repos to file this issue under, but it would be nice if there was an option to filter out feature attributes we _don't_ want instead of only the `allowed_output` option to specify those we _do_. (Use-case: 3rd party data sources where we don't necessarily know all of the attributes that will be present... but know for sure we can safely filter _some_ of them out.)

If this should be filed in a different repo, feel free to close and redirect me to the correct one.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating the tileset recipe handling for the existing features.attributes.allowed_output option, then trace how attributes are filtered. Done means recipes can exclude specified attributes through disallowed_output without regressing the existing allow-list behavior, with coverage for the new option.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.