Add wildcard for attributes

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

Nobody has claimed this yet.

Assessment

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

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.

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.

Dominant language
No language data
Stars
297
Forks
51
PR merge metrics
No merged PRs in 30d

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.

More from mapbox/tilejson-spec

All issues in mapbox/tilejson-spec

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.