Open zerebubuth opened 8 years ago
Apparently Mapbox encodes raw JSON for nested properties (e.g.: for their file uploader > tiles tool).
I just made an implementation proposal for objects and lists at https://github.com/mapbox/vector-tile-spec/issues/75#issuecomment-249655916
MVT doesn't have a native list value type, but we can fake it by encoding lists to something like
"list:" + value.to_json
, and parse it from JSON when the prefix islist:
when decoding. This runs the risk of decoding things which start withlist:
which aren't actually lists, but I think there are few enough of them?