martin/mbtiles
Yuri Astrakhan 74c67a3812
Use ORDERBY in calc_agg_tiles_hash - SQLite v3.44 (#1156)
Require SQLite v3.44+ ORDER BY clause inside aggregate function instead
of the windowing one - might solve out of memory issues reported by
users - see #1154
2024-01-27 21:48:54 -05:00
..
.sqlx Improve mbtiles update, update min/max zoom on martin-cp (#1096) 2023-12-24 17:30:45 +08:00
src Use ORDERBY in calc_agg_tiles_hash - SQLite v3.44 (#1156) 2024-01-27 21:48:54 -05:00
tests Improve mbtiles update, update min/max zoom on martin-cp (#1096) 2023-12-24 17:30:45 +08:00
.env Rename martin-mbtiles crate to mbtiles (#976) 2023-10-28 08:50:49 +00:00
Cargo.toml Implement tile caching (#1105) 2023-12-30 22:48:23 -05:00
README.md doc links 2023-12-25 01:49:39 -05:00

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.