martin/tests/expected/configured
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
..
catalog_cfg.json Add .pmtiles file support (#517) 2023-01-08 14:19:11 -05:00
cmp_0_0_0.pbf Fix legacy DB, add CI tests (#547) 2023-01-01 05:03:21 +00:00
cmp_0_0_0.pbf.txt Fix legacy DB, add CI tests (#547) 2023-01-01 05:03:21 +00:00
fnc2_0_0_0.pbf Fix legacy DB, add CI tests (#547) 2023-01-01 05:03:21 +00:00
fnc2_0_0_0.pbf.txt Fix legacy DB, add CI tests (#547) 2023-01-01 05:03:21 +00:00
fnc_0_0_0.pbf Fix legacy DB, add CI tests (#547) 2023-01-01 05:03:21 +00:00
fnc_0_0_0.pbf.txt Fix legacy DB, add CI tests (#547) 2023-01-01 05:03:21 +00:00
pmt_0_0_0.png Add .pmtiles file support (#517) 2023-01-08 14:19:11 -05:00
pmt_0_0_0.png.txt Add .pmtiles file support (#517) 2023-01-08 14:19:11 -05:00
tbl_0_0_0.pbf Fix legacy DB, add CI tests (#547) 2023-01-01 05:03:21 +00:00
tbl_0_0_0.pbf.txt Fix legacy DB, add CI tests (#547) 2023-01-01 05:03:21 +00:00