Skip to content

This crate includes a low level implementation of the PMTiles format based on the standard Read and Write trait.

License

Notifications You must be signed in to change notification settings

arma-place/pmtiles-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PMTiles (for Rust) crates.io docs.rs build status

This crate includes a low level implementation of the PMTiles format based on the standard Read and Write (or AsyncRead and AsyncWrite from the futures-crate) traits.

It also contains some utilities, which might become handy when working with PMTiles archives. Among others these include functions for (de-)compression with all algorithms supported by PMTiles, as well as functions to convert from and to tile ids.

Documentation

See RustDoc Documentation.

The documentation includes some examples.

Installation

Add following lines to your Cargo.toml:

# Cargo.toml
[dependencies]
pmtiles2 = "0.3"

Features

serde

With this feature enabled most public types are (de-)serializable by serde.

async

With this feature enabled all readable / writable types also support asynchronous readers / writers via the AsyncRead and AsyncWrite traits from the futures-crate.

About

This crate includes a low level implementation of the PMTiles format based on the standard Read and Write trait.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages