Decode a sequence of VectorTile Commands into a Geotrellis Geometry.
Decode a sequence of VectorTile Commands into a Geotrellis Geometry. Due to the reasons stated above, this may be either the single or the Multi variety of the Geometry.
This forms an isomorphism with toCommands.
The Commands.
The location in the current CRS of the top-left corner of this Tile.
How much of the CRS's units are covered by a single VT grid coordinate..
Encode a Geotrellis Geometry into a sequence of VectorTile Commands.
Encode a Geotrellis Geometry into a sequence of VectorTile Commands.
This forms an isomorphism with fromCommands.
A Geotrellis Geometry, either a Left(Single)
or a Right(Multi)
.
The location in the current CRS of the top-left corner of this Tile.
How much of the CRS's units are covered by a single VT grid coordinate..
An isomorphism for any Geotrellis geometry type that can convert between a collection of Command Integers. As of version 2.1 of the VectorTile spec, there is no explicit difference between single and multi geometries. When there eventually is, this trait will have to be split to provide separate instances for both the single and multi forms.
Since we assume that all VectorTiles implicitely exist in some CRS, we ask for the top-left corner of the current Tile's extent, as well as its resolution in order to perform the transformation into CRS space.
Instances of this trait can be found in the package object.
Usage: