1919155d41
Basemap cleanup (after map load): - Hide OpenFreeMap boundary/admin layers (redundant with our UATs) - Keep city/town place labels, remove village-level - Hide our Martin UAT layers (not needed in ParcelSync — filtered by siruta) Martin tile optimization: - gis_terenuri_status minzoom: 10 → 13 (parcels not visible below 13) - gis_cladiri_status minzoom: 12 → 14 (buildings not visible below 14) - Prevents unnecessary tile fetches at low zoom levels Applied to both ParcelSync Harta tab and Portal map. Requires docker restart martin. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
149 lines
3.5 KiB
YAML
149 lines
3.5 KiB
YAML
# Martin v0.15 configuration — optimized tile sources for ArchiTools Geoportal
|
|
# All geometries are EPSG:3844 (Stereo70). Bounds are approximate Romania extent.
|
|
# Original table data is NEVER modified — views compute simplification on-the-fly.
|
|
|
|
postgres:
|
|
connection_string: ${DATABASE_URL}
|
|
default_srid: 3844
|
|
auto_publish: false
|
|
tables:
|
|
# ── UAT boundaries: 4 zoom-dependent simplification levels ──
|
|
|
|
gis_uats_z0:
|
|
schema: public
|
|
table: gis_uats_z0
|
|
geometry_column: geom
|
|
srid: 3844
|
|
bounds: [20.2, 43.5, 30.0, 48.3]
|
|
minzoom: 0
|
|
maxzoom: 5
|
|
properties:
|
|
name: text
|
|
siruta: text
|
|
|
|
gis_uats_z5:
|
|
schema: public
|
|
table: gis_uats_z5
|
|
geometry_column: geom
|
|
srid: 3844
|
|
bounds: [20.2, 43.5, 30.0, 48.3]
|
|
minzoom: 5
|
|
maxzoom: 8
|
|
properties:
|
|
name: text
|
|
siruta: text
|
|
|
|
gis_uats_z8:
|
|
schema: public
|
|
table: gis_uats_z8
|
|
geometry_column: geom
|
|
srid: 3844
|
|
bounds: [20.2, 43.5, 30.0, 48.3]
|
|
minzoom: 8
|
|
maxzoom: 12
|
|
properties:
|
|
name: text
|
|
siruta: text
|
|
county: text
|
|
|
|
gis_uats_z12:
|
|
schema: public
|
|
table: gis_uats_z12
|
|
geometry_column: geom
|
|
srid: 3844
|
|
bounds: [20.2, 43.5, 30.0, 48.3]
|
|
minzoom: 12
|
|
maxzoom: 16
|
|
properties:
|
|
name: text
|
|
siruta: text
|
|
county: text
|
|
|
|
# ── Administrativ (intravilan, arii speciale) — NO simplification ──
|
|
|
|
gis_administrativ:
|
|
schema: public
|
|
table: gis_administrativ
|
|
geometry_column: geom
|
|
srid: 3844
|
|
bounds: [20.2, 43.5, 30.0, 48.3]
|
|
minzoom: 10
|
|
maxzoom: 16
|
|
properties:
|
|
object_id: text
|
|
siruta: text
|
|
layer_id: text
|
|
cadastral_ref: text
|
|
|
|
# ── Terenuri (parcels) — NO simplification ──
|
|
|
|
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
|
|
|
|
# ── Terenuri cu status enrichment (ParcelSync Harta tab) ──
|
|
|
|
gis_terenuri_status:
|
|
schema: public
|
|
table: gis_terenuri_status
|
|
geometry_column: geom
|
|
srid: 3844
|
|
bounds: [20.2, 43.5, 30.0, 48.3]
|
|
minzoom: 13
|
|
maxzoom: 18
|
|
properties:
|
|
object_id: text
|
|
siruta: text
|
|
cadastral_ref: text
|
|
area_value: float8
|
|
layer_id: text
|
|
has_enrichment: int4
|
|
has_building: int4
|
|
build_legal: int4
|
|
|
|
# ── Cladiri cu status legal (ParcelSync Harta tab) ──
|
|
|
|
gis_cladiri_status:
|
|
schema: public
|
|
table: gis_cladiri_status
|
|
geometry_column: geom
|
|
srid: 3844
|
|
bounds: [20.2, 43.5, 30.0, 48.3]
|
|
minzoom: 14
|
|
maxzoom: 18
|
|
properties:
|
|
object_id: text
|
|
siruta: text
|
|
cadastral_ref: text
|
|
area_value: float8
|
|
layer_id: text
|
|
build_legal: int4
|
|
|
|
# ── Cladiri (buildings) — NO simplification ──
|
|
|
|
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
|