Crate s2_tilejson

Source
Expand description

The s2-tilejson Rust crate… TODO

Structs§

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

Enums§

  • 1: points, 2: lines, 3: polys, 4: points3D, 5: lines3D, 6: polys3D
  • Store the encoding of the data
  • S2 Face
  • Primitive types that can be found in a shape
  • 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
  • Arrays may contain either a primitive or an object whose values are primitives
  • 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
  • Check the source type of the layer

Type Aliases§

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