martin/mbtiles
Yuri Astrakhan f88fd10aa8
Add martin-cp tool to bulk-copy tiles from any Martin-supported sources (#1011)
This adds a new utility called `martin-cp` that allows copying any
number of tiles from a single source (or a composite source) to an
mbtiles file.

`martin-cp` is a tool for generating tiles in bulk, and save retrieved
tiles into a new or an existing MBTiles file. It can be used to generate
tiles for a large area or multiple areas. If multiple areas overlap, it
will generate tiles only once. `martin-cp` supports the same
configuration file and CLI arguments as Martin server, so it can support
all sources and even combining sources.
2023-11-20 06:27:51 +00:00
..
.sqlx mbtiles summary tool cleanup (#1000) 2023-11-13 07:50:10 +00:00
src Add martin-cp tool to bulk-copy tiles from any Martin-supported sources (#1011) 2023-11-20 06:27:51 +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 Minor cleanup (#1008) 2023-11-17 18:55:05 +00:00
README.md fix CI status badges 2023-10-28 16:29:38 -04: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.