mapbox / vector-tile-spec

Mapbox Vector Tile specification
https://www.mapbox.com/vector-tiles/specification/
Other
892 stars 210 forks source link

Explain feature values in more depth ? #15

Closed strk closed 8 years ago

strk commented 10 years ago

Do I understand correctly that the "tags" for each feature are references to field names (even indexes) and values (odd indexes) expanded at the tile.layer level ?

Does this mean that different features (in a layer) having the same value (for any field) could point to the same element in the tile.layer.values array ? Is that done by any implementation ?

Also, doesn't this mean that a feature covering multiple tiles forces writing the same key/value pair in each and every tile it appears in ?

flippmoke commented 8 years ago

This has been updated quite a bit in the version 2.0 pull request, however, I am still worried that it may not be clear enough. Further review of the wording in v2.0 and more examples would really help more then likely!