/martin

Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server, tile generation, and mbtiles tooling.

Primary LanguageRustApache License 2.0Apache-2.0

Martin

Book docs.rs docs GitHub crates.io version Security audit CI build

Martin is a tile server and a set of tools able to generate vector tiles on the fly from large PostgreSQL databases, and serve tiles from PMTiles and MBTiles files. Martin optimizes for speed and heavy traffic, and is written in Rust.

Features

  • Serve vector tiles from
    • PostGIS databases, automatically discovering compatible tables and functions
    • PMTile, both local files and over HTTP
    • MBTile files
  • Combine multiple tile sources into one
  • Generate sprites and font glyphs
  • Generate tiles in bulk from any Martin-supported sources into an MBTiles file with martin-cp tool
  • Examine, copy, validate, compare, and apply diffs between MBTiles files with mbtiles tool

Documentation

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.