some function parity with MVT #7
CraigglesO
started this conversation in
General
Replies: 1 comment 1 reply
-
In MVT, layers are stored as an array of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With MVT the
VectorTile
has a 'layers' object property where you access theVectorTileLayer
via its layer name as the key.The
VectorTileLayer
has a feature function for accessing features like so:lastly, the
VectorTileFeature
has aloadGeometry()
function and the before mentioned S2 spec has aloadGeometryFlat()
function.While this may not take full advantage of the COVT performance benefits, I argue that at a minimum the same function names should exist/overlap with existing tools. That way existing tools can look something like this:
While this is much less important but to showcase the current code for parsing polygons:
Beta Was this translation helpful? Give feedback.
All reactions