#tile #postgis #mbtiles #maps #pmtiles #font

bin+lib martin

Blazing fast and lightweight tile server with PostGIS, MBTiles, and PMTiles support

24 releases (7 breaking)

1.0.0-alpha.0 Oct 18, 2021
0.14.2 Jul 15, 2024
0.14.1 Jun 26, 2024
0.13.0 Feb 1, 2024
0.6.1 Nov 21, 2022

#130 in HTTP server

Download history 34/week @ 2024-07-22 134/week @ 2024-07-29 18/week @ 2024-08-05 23/week @ 2024-08-12 13/week @ 2024-08-19 32/week @ 2024-08-26 15/week @ 2024-09-02 24/week @ 2024-09-09 43/week @ 2024-09-16 80/week @ 2024-09-23 30/week @ 2024-09-30 14/week @ 2024-10-07 24/week @ 2024-10-14 15/week @ 2024-10-21 20/week @ 2024-10-28 25/week @ 2024-11-04

85 downloads per month

MIT/Apache

465KB
11K SLoC

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.

Dependencies

~95MB
~2M SLoC