mapbox / vector-tile-spec

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

Representation of coordinate attributes in GeoJSON #134

Open e-n-f opened 5 years ago

e-n-f commented 5 years ago

What is the name of the object containing the coordinate attributes?

https://github.com/mapbox/geojson-coordinate-properties puts the coordinate properties in a special property, properties.coordinateProperties.

The current Tippecanoe implementation puts them in geometry.attributes.

Is the object flat or structured?

https://github.com/mapbox/geojson-coordinate-properties and Tippecanoe use nested arrays for the coordinate attributes of nested geometry types like MultiLineString

http://github.com/mapbox/vector-tile-base uses a flat structure, as does the vector tile representation