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

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

#19 in Geospatial

Download history 60/week @ 2024-03-31 10/week @ 2024-04-07 3/week @ 2024-04-21 18/week @ 2024-04-28 4/week @ 2024-05-05 9/week @ 2024-05-12 8/week @ 2024-05-19 6/week @ 2024-05-26 45/week @ 2024-06-02 42/week @ 2024-06-09 40/week @ 2024-06-16 337/week @ 2024-06-23 88/week @ 2024-06-30 35/week @ 2024-07-07 144/week @ 2024-07-14

608 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

~91MB
~2M SLoC