martin/mbtiles
Yuri Astrakhan d6219a6526
Add compression and query to martin-cp (#1019)
* Use gzip compression for MVT tiles by default
* Allow user to set compression with `--encoding` parameter (same as
browser's header, e.g. use `br,gzip' to encode with brotli as first
choice, unless already encoded as gzip)
* Allow user to pass a query to the Postgres functions with
`--url-query`
* A bit of a cleanup for `mbtiles summary` output
2023-11-22 05:26:53 +00:00
..
.sqlx mbtiles summary tool cleanup (#1000) 2023-11-13 07:50:10 +00:00
src Add compression and query to martin-cp (#1019) 2023-11-22 05:26:53 +00:00
tests mbtiles improvements, minor changes (#1013) 2023-11-19 10:06:37 +00:00
.env Rename martin-mbtiles crate to mbtiles (#976) 2023-10-28 08:50:49 +00:00
Cargo.toml Add compression and query to martin-cp (#1019) 2023-11-22 05:26:53 +00:00
README.md Revert doc book links - may break a few new ones (#1018) 2023-11-21 08:06:27 +00:00

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.