8 releases
0.2.1 | Jan 8, 2023 |
---|---|
0.2.0 | Jan 5, 2023 |
0.1.0 | Jan 5, 2023 |
0.0.5 | Oct 22, 2022 |
#24 in Geospatial
701 downloads per month
Used in martin
4.5MB
805 lines
PMTiles (for Rust)
This crate implements the PMTiles v3 spec, originally created by Brandon Liu for Protomaps.
THIS CRATE IS NOT READY FOR PRODUCTION USE! However, you might be able to use it for a demo project.
Features
- Opening and validating PMTile archives
- Querying tiles
- Backends supported:
- Async
mmap
(Tokio) for local files - Async
http
andhttps
(Reqwuest + Tokio) for URLs
- Async
Plans & TODOs
- Documentation and example code
- Support writing and conversion to and from MBTiles +
x/y/z
- Support additional backends (sync
mmap
andhttp
at least) - Support additional async styles (e.g.,
async-std
)
PRs welcome!
License
This project is dual-licensed as MIT and Apache 2.0. You may select the license most appropriate for your project.
Test Data License
Some PMTile fixtures copied from official PMTiles repository.
Dependencies
~11–20MB
~418K SLoC