martin/tests/config.yaml

71 lines
1.8 KiB
YAML
Raw Normal View History

2018-10-12 18:18:34 +03:00
---
# Maximum connections pool size [default: 20]
2018-10-12 18:18:34 +03:00
pool_size: 20
# Connection keep alive timeout [default: 75]
2018-10-12 18:18:34 +03:00
keep_alive: 75
# Number of web server workers
2018-10-12 18:18:34 +03:00
worker_processes: 8
# The socket address to bind [default: 0.0.0.0:3000]
listen_addresses: '0.0.0.0:3000'
# associative arrays of table sources
2018-10-12 18:18:34 +03:00
table_sources:
public.table_source:
# table source id
2018-10-12 18:18:34 +03:00
id: public.table_source
# table schema
2018-10-12 18:18:34 +03:00
schema: public
# table name
2018-10-12 18:18:34 +03:00
table: table_source
# geometry column name
2018-10-12 18:18:34 +03:00
geometry_column: geom
# geometry srid
2018-10-12 18:18:34 +03:00
srid: 4326
# tile extent in tile coordinate space
2018-10-12 18:18:34 +03:00
extent: 4096
# buffer distance in tile coordinate space to optionally clip geometries
2018-10-12 18:18:34 +03:00
buffer: 64
# boolean to control if geometries should be clipped or encoded as is
2018-10-12 18:18:34 +03:00
clip_geom: true
# geometry type
2018-10-12 18:18:34 +03:00
geometry_type: GEOMETRY
# list of columns, that should be encoded as tile properties
2018-10-12 18:18:34 +03:00
properties:
gid: int4
public.points:
# table source id
2018-10-12 18:18:34 +03:00
id: public.points
# table schema
2018-10-12 18:18:34 +03:00
schema: public
# table name
2018-10-12 18:18:34 +03:00
table: points
# geometry column name
2018-10-12 18:18:34 +03:00
geometry_column: geom
# geometry srid
2018-10-12 18:18:34 +03:00
srid: 4326
# tile extent in tile coordinate space
2018-10-12 18:18:34 +03:00
extent: 4096
# buffer distance in tile coordinate space to optionally clip geometries
2018-10-12 18:18:34 +03:00
buffer: 64
# boolean to control if geometries should be clipped or encoded as is
2018-10-12 18:18:34 +03:00
clip_geom: true
# geometry type
2018-10-12 18:18:34 +03:00
geometry_type: GEOMETRY
# list of columns, that should be encoded as tile properties
2018-10-12 18:18:34 +03:00
properties:
gid: int4
# associative arrays of function sources
2018-10-12 18:18:34 +03:00
function_sources:
public.function_source:
# function source id
2018-10-12 18:18:34 +03:00
id: public.function_source
# schema name
2018-10-12 18:18:34 +03:00
schema: public
# function name
function: function_source