Crate s2_pmtiles

Source
Expand description

The s2-pmtiles Rust crate provides functionalities to read and write S2-PMTiles Spec messages. This crate supports no_std and is intended to be used in embedded systems and WASM applications.

Re-exports§

pub use buffer::*;
pub use cache::*;
pub use pmtiles::*;
pub use s2pmtiles::*;

Modules§

bit_cast
All encoding and decoding is done via u64. So all types must implement this trait to be able to be encoded and decoded.
buffer
The Buffer struct is used to read and write Buffer messages.
cache
A simple cache system with a maximum size.
pmtiles
The PMTiles specification tools
reader
The S2PMTiles tool for reading S2PMTiles and PMTiles messages
s2pmtiles
The S2PMTiles specification tools
writer
The S2PMTiles tool for writing S2PMTiles and PMTiles messages