#tile #maps #mvt #command-line #tilejson

bin+lib mbtiles

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

15 releases (4 breaking)

0.11.1 Jul 9, 2024
0.10.0 Jun 25, 2024
0.9.1 Feb 1, 2024
0.9.0 Dec 25, 2023
0.8.1 Nov 22, 2023

#172 in Geospatial

Download history 26/week @ 2024-07-20 63/week @ 2024-07-27 131/week @ 2024-08-03 24/week @ 2024-08-10 30/week @ 2024-08-17 62/week @ 2024-08-24 26/week @ 2024-08-31 25/week @ 2024-09-07 50/week @ 2024-09-14 69/week @ 2024-09-21 49/week @ 2024-09-28 13/week @ 2024-10-05 22/week @ 2024-10-12 38/week @ 2024-10-19 25/week @ 2024-10-26 47/week @ 2024-11-02

133 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

~55MB
~1M SLoC