Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server, tile generation, and mbtiles tooling.
Go to file
Yuri Astrakhan ba65e34bef
Add .pmtiles file support (#517)
Merge after #548 

Adds a new [.pmtiles](https://protomaps.com/docs/pmtiles/) backend.
Supports all formats like png, vector, etc.

From CLI, can be as easy as adding a path to a directory that contains a
.pmtiles file:

```bash
# All *.pmtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```

From configuration file, the path can be specified in a number of ways:

```yaml
pmtiles:
  paths:
    # scan this whole dir, matching all *.pmtiles files
    - /dir-path
    # specific pmtiles file will be published as pmtiles2 source
    - /path/to/pmtiles2.pmtiles
  sources:
      # named source matching source name to a single file
      pm-src1: /tmp/pmtiles.pmtiles
      # named source, where the filename is explicitly set. This way we will be able to add more options later
      pm-src2:
        path: /tmp/pmtiles.pmtiles
```

Fixes #508
2023-01-08 14:19:11 -05:00
.cargo-husky/hooks bump to 0.6.2 2022-12-13 20:14:07 -05:00
.github Fix legacy DB, add CI tests (#547) 2023-01-01 05:03:21 +00:00
benches Require PostGIS 3 and use ST_TileEnvelope (#497) 2022-11-30 18:57:27 +02:00
martin-tile-utils Refactorings, content-type/enc, cli parsing, tests, minor fixes (#548) 2023-01-08 16:31:58 +02:00
src Add .pmtiles file support (#517) 2023-01-08 14:19:11 -05:00
tests Add .pmtiles file support (#517) 2023-01-08 14:19:11 -05:00
.dockerignore Improve Coverage tooling (#535) 2022-12-27 06:56:27 +00:00
.gitignore Refactorings, content-type/enc, cli parsing, tests, minor fixes (#548) 2023-01-08 16:31:58 +02:00
Cargo.lock Add .pmtiles file support (#517) 2023-01-08 14:19:11 -05:00
Cargo.toml Add .pmtiles file support (#517) 2023-01-08 14:19:11 -05:00
CHANGELOG.md Migrate some urbica/martin -> maplibre/martin (#347) 2022-06-11 10:51:41 +03:00
CODE_OF_CONDUCT.md feat: clean up readme and code of conduct (#382) 2022-08-11 07:06:12 -04:00
docker-compose.yml Fix legacy DB, add CI tests (#547) 2023-01-01 05:03:21 +00:00
Dockerfile Docker improvements and CI tests (#472) 2022-11-02 19:00:05 +01:00
justfile Refactorings, content-type/enc, cli parsing, tests, minor fixes (#548) 2023-01-08 16:31:58 +02:00
LICENSE-APACHE Clean up licensing per on-boarding (#364) 2022-07-06 08:25:45 -04:00
LICENSE-MIT Clean up licensing per on-boarding (#364) 2022-07-06 08:25:45 -04:00
logo.png docs: ✏️ add notes on debugging 2019-02-04 20:22:04 +03:00
nginx.conf fix: tiles attribute in tilejson with x-rewrite-url (#266) 2021-10-15 18:19:36 +03:00
README-main.md Implement postgres auto-publish (#546) 2023-01-03 16:09:41 +00:00
README.md Move README to another file 2022-12-28 22:34:31 -05:00
release.toml docs: update CHANGELOG.md 2021-10-18 16:15:26 +03:00
rustfmt.toml sort use-statements during fmt (#376) 2022-08-06 12:48:10 -04:00

Martin

CI Security audit Docker pulls

Martin is a PostGIS vector tiles server suitable for large databases. Martin is written in Rust using Actix web framework.


  • See documentation for v0.6 (latest stable).

  • If you want to see our unreleased version documentation, go here, but it may change.