martin/tests/fixtures
Yuri Astrakhan 9e5ed2fc02
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.

From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)

```bash
# All *.mbtiles 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
(same as pmtiles)

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

Fixes #494
2023-01-09 00:10:23 -05:00
..
functions Improve Coverage tooling (#535) 2022-12-27 06:56:27 +00:00
tables Improve Coverage tooling (#535) 2022-12-27 06:56:27 +00:00
geography-class-jpg.mbtiles Add .mbtiles support (#549) 2023-01-09 00:10:23 -05:00
geography-class-png-no-bounds.mbtiles Add .mbtiles support (#549) 2023-01-09 00:10:23 -05:00
geography-class-png.mbtiles Add .mbtiles support (#549) 2023-01-09 00:10:23 -05:00
initdb-dc.sh Refactor CI tests into separate scripts (#432) 2022-10-25 14:54:36 -04:00
initdb.sh Improve Coverage tooling (#535) 2022-12-27 06:56:27 +00:00
stamen_toner__raster_CC-BY+ODbL_z3.pmtiles Add .pmtiles file support (#517) 2023-01-08 14:19:11 -05:00
vtzero-check Implement postgres auto-publish (#546) 2023-01-03 16:09:41 +00:00
vtzero-show Implement postgres auto-publish (#546) 2023-01-03 16:09:41 +00:00
world_cities.mbtiles Add .mbtiles support (#549) 2023-01-09 00:10:23 -05:00