#maps #tiles #mvt #tilejson

bin+lib mbtiles

A simple low-level MbTiles access and processing library, with some tile format detection and other relevant heuristics

7 releases

new 0.8.2 Dec 6, 2023
0.8.1 Nov 22, 2023
0.7.3 Nov 13, 2023
0.7.2 Oct 31, 2023

#86 in Geospatial

Download history 79/week @ 2023-10-27 47/week @ 2023-11-03 53/week @ 2023-11-10 90/week @ 2023-11-17 35/week @ 2023-11-24 81/week @ 2023-12-01

269 downloads per month
Used in martin

MIT/Apache

140KB
3K SLoC

mbtiles

Book docs.rs docs Slack chat GitHub crates.io version CI build

A library to help tile servers like Martin work with MBTiles files. When using as a lib, you may want to disable default features (i.e. the unused "cli" feature).

This crate also has a small utility that allows users to interact with the *.mbtiles files from the command line. See tools documentation for more information.

Development

Any changes to SQL commands require running of just prepare-sqlite. This will install cargo sqlx command if it is not already installed, and update the ./sqlx-data.json file.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~33–47MB
~806K SLoC