tangrams / tangram-es

2D and 3D map renderer using OpenGL ES
MIT License
826 stars 238 forks source link

Add support for complex properties from MVT formats #1618

Open nvkelso opened 7 years ago

nvkelso commented 7 years ago

Similar to https://github.com/tangrams/tangram-es/issues/1617 and related to the root cause of https://github.com/tangrams/tangram-es/issues/1616.

I've split off here MVT here from GeoJSON and TopoJSON as the Tilezen MVT format currently drops properties with lists (or other nesting) no the server during the format conversion.

The sister issue over in Tilezen is https://github.com/tilezen/mapbox-vector-tile/issues/94 to add stringified MVT properties.

matteblair commented 5 years ago

Tangram JS is adding support for structured property data in the form of stringified JSON: https://github.com/tangrams/tangram/pull/715

Tangram ES will add matching support. This involves several both parsing string properties as JSON where appropriate and changing our feature data model to accommodate list and mapping properties in addition to scalar values.