martin config
This commit is contained in:
parent
cfb771dea3
commit
108290ccab
1 changed files with 53 additions and 0 deletions
53
backend/martin-config.yaml
Normal file
53
backend/martin-config.yaml
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
listen_addresses: '0.0.0.0:3001'
|
||||
|
||||
postgres:
|
||||
connection_string: ${DATABASE_URL}
|
||||
|
||||
tables:
|
||||
planet_osm_polygon:
|
||||
schema: public
|
||||
table: planet_osm_polygon
|
||||
srid: 3857
|
||||
geometry_column: way
|
||||
geometry_type: GEOMETRY
|
||||
minzoom: 4
|
||||
maxzoom: 14
|
||||
bounds: [-180.0, -85.0511, 180.0, 85.0511]
|
||||
|
||||
planet_osm_line:
|
||||
schema: public
|
||||
table: planet_osm_line
|
||||
srid: 3857
|
||||
geometry_column: way
|
||||
geometry_type: GEOMETRY
|
||||
minzoom: 8
|
||||
maxzoom: 14
|
||||
bounds: [-180.0, -85.0511, 180.0, 85.0511]
|
||||
|
||||
planet_osm_point:
|
||||
schema: public
|
||||
table: planet_osm_point
|
||||
srid: 3857
|
||||
geometry_column: way
|
||||
geometry_type: GEOMETRY
|
||||
minzoom: 10
|
||||
maxzoom: 14
|
||||
bounds: [-180.0, -85.0511, 180.0, 85.0511]
|
||||
|
||||
planet_osm_roads:
|
||||
schema: public
|
||||
table: planet_osm_roads
|
||||
srid: 3857
|
||||
geometry_column: way
|
||||
geometry_type: GEOMETRY
|
||||
minzoom: 4
|
||||
maxzoom: 14
|
||||
bounds: [-180.0, -85.0511, 180.0, 85.0511]
|
||||
|
||||
# Composite source: all four layers in a single tile
|
||||
composites:
|
||||
osm_all:
|
||||
- planet_osm_polygon
|
||||
- planet_osm_line
|
||||
- planet_osm_point
|
||||
- planet_osm_roads
|
||||
Loading…
Add table
Reference in a new issue