qk
is a fast geographic quadtree indexer for Rust
cargo test --lib
cargo fmt
Geometry types use geo_types whenever available. Additional structs are exposed for types unique to qk
, such as the Tile struct.
An X,Y,Z tile struct.
A bounded rectangle geometry, also known as a bounding box or bbox.
Converts a lon,lat point to a quadkey index.
Converts a lon,lat point to an X,Y,Z tile.
Converts a lon,lat point to a fractional X,Y,Z tile.
Converts a quadkey index string to an X,Y,Z tile.
Converts an X,Y,Z tile to a quadkey index string.
Converts an X,Y,Z tile to a bounding box Rect.
Converts a quadkey index string to a bounding box Rect.
Converts a lon,lat point to a bounding box Rect.
- Mapbox tilebelt (co-author)
- Mapbox tile-cover (co-author)
- Google S2 (co-author of bindings)
- Uber H3
- JPL/NASA healpix
- Bing Maps Tile System
- OpenStreetMap QuadTiles
- G. Niemeyer's geohash