Crate martin

Crate martin 

Source
Expand description

Martin

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

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
  • Serve styles and generate sprites or font glyphs on the fly
  • 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

§Getting Involved

Join the #maplibre-martin slack channel at OSMUS – automatic invite is at https://slack.openstreetmap.us/

§Contributing

Like any open source project, Martin welcomes contributions from anyone who wants to help improve it.

§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.

Modules§

config
srv

Structs§

TileSources
Thread-safe registry of tile sources indexed by ID.

Enums§

MartinError

Type Aliases§

MartinResult
A convenience Result for Martin crate.