Crates.io | versatiles_image |
lib.rs | versatiles_image |
version | |
source | src |
created_at | 2024-07-06 13:20:58.29324 |
updated_at | 2024-11-29 16:08:48.327987 |
description | A toolbox for converting, checking and serving map tiles in various formats. |
homepage | https://versatiles.org |
repository | https://github.com/versatiles-org/versatiles-rs |
max_upload_size | |
id | 1294041 |
Cargo.toml error: | TOML parse error at line 28, column 1 | 28 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Table of contents:
cargo install
, from sourceVersaTiles is a Rust-based project designed for processing and serving tile data efficiently. It supports multiple tile formats and offers various functionalities for handling tile data.
Use the installation script to download the correct precompiled binary and copy it to /usr/local/bin/
:
curl -Ls "https://github.com/versatiles-org/versatiles-rs/raw/main/helpers/install-unix.sh" | bash
Install VersaTiles using Homebrew:
brew tap versatiles-org/versatiles
brew install versatiles
VersaTiles is available via nixpkgs beginning with 24.05. An up to date version is part of nixpkgs-unstable.
For installation add following snippet into your configuration.nix:
environment.systemPackages = with pkgs; [ versatiles ];
You can also use versatiles via shell environments:
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
versatiles
];
}
Additional information can be found at Nix search.
Pull the prepared Docker Images for easy deployment:
docker pull versatiles-org/versatiles
cargo install
You need Rust. Just run:
cargo install versatiles
Ensure you have Rust installed. Then, run:
git clone https://github.com/versatiles-org/versatiles-rs.git
cd versatiles-rs
cargo build --bin versatiles --release
cp ./target/release/versatiles /usr/local/bin/
Running the versatiles
command will list all available commands:
Usage: versatiles [OPTIONS] <COMMAND>
Commands:
convert Convert between different tile containers
probe Show information about a tile container
serve Serve tiles via http
help Show detailed help
Convert between different tile formats:
versatiles convert --tile-format webp satellite_tiles.tar satellite_tiles.versatiles
Serve tiles via HTTP:
versatiles serve satellite_tiles.versatiles
*.versatiles
, *.mbtiles
, *.pmtiles
, etc.For more details, guides, and advanced usage, please refer to the official documentation.
VersaTiles is under active development, and the documentation may not always be up to date. We appreciate your understanding and patience. If you encounter any issues or have questions, feel free to open an issue or contribute to our code or documentation.
This project is licensed under the MIT License - see the LICENSE file for details.