76c19449f3
PostGIS: - gis_uats view: ST_SimplifyPreserveTopology(geom, 50) + only name/county/siruta - gis_uats_simple view: ST_SimplifyPreserveTopology(geom, 500) for z0-z9 Martin config (martin.yaml): - Explicit source definitions (auto_publish: false) - gis_uats_simple (z0-9): only name+siruta, 500m simplified geometry - gis_uats (z0-14): name+siruta+county, 50m simplified - gis_terenuri (z10-18): object_id+siruta+cadastral_ref+area_value+layer_id - gis_cladiri (z12-18): same properties - 24h cache headers on all tiles MapViewer: - Dual UAT sources: simplified (z0-9) + detailed (z9+) with seamless handoff - Zoom-interpolated paint: thin lines at z5, thicker at z12 - UAT labels only z9+, fill opacity z-interpolated (0.03→0.08) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
63 lines
1.4 KiB
YAML
63 lines
1.4 KiB
YAML
# Martin v0.15 configuration — optimized tile sources for ArchiTools Geoportal
|
|
# All geometries are EPSG:3844 (Stereo70). Bounds are approximate Romania extent.
|
|
|
|
# Disable auto-discovery — only serve explicitly configured sources
|
|
postgres:
|
|
connection_string: ${DATABASE_URL}
|
|
default_srid: 3844
|
|
auto_publish: false
|
|
tables:
|
|
gis_uats:
|
|
schema: public
|
|
table: gis_uats
|
|
geometry_column: geom
|
|
srid: 3844
|
|
bounds: [20.2, 43.5, 30.0, 48.3]
|
|
minzoom: 0
|
|
maxzoom: 14
|
|
properties:
|
|
name: text
|
|
siruta: text
|
|
|
|
gis_uats_simple:
|
|
schema: public
|
|
table: gis_uats_simple
|
|
geometry_column: geom
|
|
srid: 3844
|
|
bounds: [20.2, 43.5, 30.0, 48.3]
|
|
minzoom: 0
|
|
maxzoom: 9
|
|
properties:
|
|
name: text
|
|
siruta: text
|
|
|
|
gis_terenuri:
|
|
schema: public
|
|
table: gis_terenuri
|
|
geometry_column: geom
|
|
srid: 3844
|
|
bounds: [20.2, 43.5, 30.0, 48.3]
|
|
minzoom: 10
|
|
maxzoom: 18
|
|
properties:
|
|
object_id: text
|
|
siruta: text
|
|
cadastral_ref: text
|
|
area_value: float8
|
|
layer_id: text
|
|
|
|
gis_cladiri:
|
|
schema: public
|
|
table: gis_cladiri
|
|
geometry_column: geom
|
|
srid: 3844
|
|
bounds: [20.2, 43.5, 30.0, 48.3]
|
|
minzoom: 12
|
|
maxzoom: 18
|
|
properties:
|
|
object_id: text
|
|
siruta: text
|
|
cadastral_ref: text
|
|
area_value: float8
|
|
layer_id: text
|