From 108290ccab77032f14ca9b3654f6701ab6ca0660 Mon Sep 17 00:00:00 2001 From: Shautvast Date: Sat, 4 Apr 2026 15:22:26 +0200 Subject: [PATCH] martin config --- backend/martin-config.yaml | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 backend/martin-config.yaml 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