mapbox / mapbox/tilejson-spec

Add wildcard for attributes

Open
#57 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
296
Forks
51
PR merge metrics
No merged PRs in 30d

Description

For data-centric layers (e.g. dynamically updated layers containing lots of additional info for features) it will be useful to allow a wildcard definition for the layer fields:

```
"fields": {
"*": "All attributes"
}
```

This let's an application know that there are various attributes available, without being limited to a predefined set.

Contributor guide

Open the contributing guide

Research direction

Start by locating the TileJSON specification section that defines layer fields and review how field definitions are represented. Add support for the proposed "*" wildcard with its descriptive value, then verify that the specification clearly permits dynamic attributes without requiring a predefined set.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.