diff --git a/backend/martin-config.yaml b/backend/martin-config.yaml new file mode 100644 index 0000000..bf25491 --- /dev/null +++ b/backend/martin-config.yaml @@ -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 \ No newline at end of file