mapbox / mapbox/vector-tile-spec
How are property values that are objects/arrays encoded in vector tiles?
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 1k
- Forks
- 213
- PR merge metrics
- No merged PRs in 30d
Description
It would be great to add an example of encoding an `Array` or `Object` from the original GeoJSON to the PBF value (from the [`4.5` example](https://github.com/mapbox/vector-tile-spec/tree/master/2.1#45-example)) to make it clear how the v2 spec should encode these values. Are the values encoded as string values and required to be parsed by the user?
i.e. for an array value:
```
values: {
string_value: "[\"one\",\"two\",3]"
}
```
Related to https://github.com/mapbox/vector-tiles/issues/12
cc @flippmoke @danswick
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 with the linked 4.5 example in the vector-tile-spec repository and compare it with the question about Array and Object values. Then review the related vector-tiles issue #12 for prior discussion. Done means the v2 specification clearly documents how these values are encoded, including an example if that is the agreed resolution.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100