martin/tests/expected/generated_config.yaml
Yuri Astrakhan 0fce9641c0
A few cleanups on tile hashing (#861)
* Rename `global_hash` to `agg_tiles_hash`

This is still a big sticking point: what should be the name for the
metadata key for this value? The value represents the hash of all
`z,x,y,tile` over all rows of the `tiles` table (or view). Should it
include `md5` in its name, or should the hash be auto-detected by its
length? (details in #856)

* Generate it based on `tiles` table/view
* validate or generate, but not both (it will always fail otherwise)
* break up logic for per-tile, total, and integrity checks
* delete unused sqlx prep file
2023-09-05 16:25:59 -04:00

189 lines
4.8 KiB
YAML

listen_addresses: localhost:3111
postgres:
default_srid: 900913
disable_bounds: true
auto_publish: true
tables:
MixPoints:
schema: MixedCase
table: MixPoints
srid: 4326
geometry_column: Geom
extent: 4096
buffer: 64
clip_geom: true
geometry_type: POINT
properties:
Gid: int4
TABLE: text
auto_table:
schema: autodetect
table: auto_table
srid: 4326
geometry_column: geom
extent: 4096
buffer: 64
clip_geom: true
geometry_type: POINT
properties:
feat_id: int4
gid: int4
bigint_table:
schema: autodetect
table: bigint_table
srid: 4326
geometry_column: geom
extent: 4096
buffer: 64
clip_geom: true
geometry_type: POINT
properties:
big_feat_id: int8
id: int4
points1:
schema: public
table: points1
srid: 4326
geometry_column: geom
extent: 4096
buffer: 64
clip_geom: true
geometry_type: POINT
properties:
gid: int4
points1_vw:
schema: public
table: points1_vw
srid: 4326
geometry_column: geom
extent: 4096
buffer: 64
clip_geom: true
geometry_type: POINT
properties:
gid: int4
points2:
schema: public
table: points2
srid: 4326
geometry_column: geom
extent: 4096
buffer: 64
clip_geom: true
geometry_type: POINT
properties:
gid: int4
points3857:
schema: public
table: points3857
srid: 3857
geometry_column: geom
extent: 4096
buffer: 64
clip_geom: true
geometry_type: POINT
properties:
gid: int4
points_empty_srid:
schema: public
table: points_empty_srid
srid: 900913
geometry_column: geom
extent: 4096
buffer: 64
clip_geom: true
geometry_type: GEOMETRY
properties:
gid: int4
table_source:
schema: public
table: table_source
srid: 4326
geometry_column: geom
extent: 4096
buffer: 64
clip_geom: true
geometry_type: GEOMETRY
properties:
gid: int4
table_source_multiple_geom:
schema: public
table: table_source_multiple_geom
srid: 4326
geometry_column: geom1
extent: 4096
buffer: 64
clip_geom: true
geometry_type: POINT
properties:
gid: int4
table_source_multiple_geom.1:
schema: public
table: table_source_multiple_geom
srid: 4326
geometry_column: geom2
extent: 4096
buffer: 64
clip_geom: true
geometry_type: POINT
properties:
gid: int4
functions:
function_Mixed_Name:
schema: MixedCase
function: function_Mixed_Name
function_null:
schema: public
function: function_null
function_null_row:
schema: public
function: function_null_row
function_null_row2:
schema: public
function: function_null_row2
function_zoom_xy:
schema: public
function: function_zoom_xy
function_zxy:
schema: public
function: function_zxy
function_zxy2:
schema: public
function: function_zxy2
function_zxy_query:
schema: public
function: function_zxy_query
function_zxy_query_jsonb:
schema: public
function: function_zxy_query_jsonb
function_zxy_query_test:
schema: public
function: function_zxy_query_test
function_zxy_row:
schema: public
function: function_zxy_row
function_zxy_row_key:
schema: public
function: function_zxy_row_key
pmtiles:
paths: tests/fixtures/files
sources:
png: tests/fixtures/files/png.pmtiles
stamen_toner__raster_CC-BY-ODbL_z3: tests/fixtures/files/stamen_toner__raster_CC-BY+ODbL_z3.pmtiles
webp2: tests/fixtures/files/webp2.pmtiles
mbtiles:
paths: tests/fixtures/files
sources:
geography-class-jpg: tests/fixtures/files/geography-class-jpg.mbtiles
geography-class-jpg-diff: tests/fixtures/files/geography-class-jpg-diff.mbtiles
geography-class-jpg-modified: tests/fixtures/files/geography-class-jpg-modified.mbtiles
geography-class-png: tests/fixtures/files/geography-class-png.mbtiles
geography-class-png-no-bounds: tests/fixtures/files/geography-class-png-no-bounds.mbtiles
json: tests/fixtures/files/json.mbtiles
uncompressed_mvt: tests/fixtures/files/uncompressed_mvt.mbtiles
webp: tests/fixtures/files/webp.mbtiles
world_cities: tests/fixtures/files/world_cities.mbtiles
world_cities_diff: tests/fixtures/files/world_cities_diff.mbtiles
world_cities_modified: tests/fixtures/files/world_cities_modified.mbtiles
zoomed_world_cities: tests/fixtures/files/zoomed_world_cities.mbtiles