#mbtiles #tile #maps #mvt #tilejson

bin+lib mbtiles

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

17 releases

Uses new Rust 2024

0.12.1 Apr 7, 2025
0.12.0 Jan 27, 2025
0.11.1 Jul 9, 2024
0.9.1 Feb 1, 2024
0.8.1 Nov 22, 2023

#235 in Geospatial

Download history 34/week @ 2025-01-07 24/week @ 2025-01-14 88/week @ 2025-01-21 76/week @ 2025-01-28 20/week @ 2025-02-04 130/week @ 2025-02-11 98/week @ 2025-02-18 69/week @ 2025-02-25 108/week @ 2025-03-04 124/week @ 2025-03-11 42/week @ 2025-03-18 34/week @ 2025-03-25 152/week @ 2025-04-01 123/week @ 2025-04-08 63/week @ 2025-04-15 51/week @ 2025-04-22

391 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

195KB
4.5K SLoC

mbtiles

Book docs.rs docs 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

~56MB
~1M SLoC