Crate s2_tilejson

Source
Expand description

The s2-tilejson Rust crate… TODO

Structs§

BBox
The Bounding box, whether the tile bounds or lon-lat bounds or whatever.
Center
Store where the center of the data lives
FaceBounds
Track the S2 tile bounds of each face and zoom
LayerMetaData
Each layer has metadata associated with it. Defined as blueprints pre-construction of vector data.
MapboxTileJSONMetadata
TileJSON V3.0.0
Metadata
S2 TileJSON Metadata for the tile data
MetadataBuilder
Builder for the metadata
TileStatsMetadata
Tilestats is simply a tracker to see where most of the tiles live
VectorLayer
Old spec tracks basic vector data

Enums§

DrawType
1: points, 2: lines, 3: polys, 4: points3D, 5: lines3D, 6: polys3D
Encoding
Store the encoding of the data
Face
S2 Face
PrimitiveShape
Primitive types that can be found in a shape
Scheme
Default S2 tile scheme is fzxy Default Web Mercator tile scheme is xyz Adding a t prefix to the scheme will change the request to be time sensitive TMS is an oudated version that is not supported by s2maps-gpu
ShapePrimitiveType
Arrays may contain either a primitive or an object whose values are primitives
ShapeType
Shape types that can be found in a shapes object. Either a primitive, an array containing any type, or a nested shape. If the type is an array, all elements must be the same type
SourceType
Check the source type of the layer

Type Aliases§

Attribution
Attribution data is stored in an object. The key is the name of the attribution, and the value is the link
LayersMetaData
Each layer has metadata associated with it. Defined as blueprints pre-construction of vector data.
LonLatBounds
Use bounds as floating point numbers for longitude and latitude
Shape
The Shape Object
TileBounds
Use bounds as u64 for the tile index range
WMBounds
Track the WM tile bounds of each zoom [zoom: number]: BBox