Greece: contours — DEM-traced contour lines into the shared contours layer #207
Labels
No labels
blocked
claude-wip
map-report
map:is
map:se
needs-review
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
art/ismap#207
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Greece: contours — DEM-traced contour lines into the shared contours layer
Scope: Greece's
contourspartition of the sharedmap_contours_<z>tables. The last terrain gap where Iceland has data and no one else, plus Greece. (Siblings: Sweden #101, Finland #107; the Greece peaks issue is the sibling that shares the EU-DEM source and the dem.go machinery.)The source: EU-DEM v1.1 (Copernicus, 25 m) through the existing
clms:provider — same research gate as the Greece peaks issue (no national Greek vector contours; ΓΥΣ restricted; data.gov.gr municipal WMS only; EU-DEM is the sole official downloadable elevation). Read the peaks sibling for the full R6 record.The new machinery: DEM→contour line tracing does not exist in the importer. This issue is where it gets built:
importer/dem.go(or a sibling): parse the EU-DEM tiles, trace contour polylines at a fixed interval via marching-squares, assemble them across the tile grid (seams handled like dem.go's halo/own-extent convention so a line crossing a tile boundary is not cut), and assign the elevation + the interval_class/index marker thecontourscontract wants. Iceland 20 m, Sweden/Finland 5 m, EU-DEM 25 m — the trace interval for Greece should be 20 m (or 25 m to match the grid) and the index cadence (interval_class = 1) the 100 m lines, matching the contract's convention (the style strokes/labels interval_class 1).Plan:
conf/gr/downloads.yaml(clms:entry; verify the CLMS EU-DEM identifiers and download shape — per-NUTS crop vs per-sheet glob).conf/gr/NN-contours.yaml(extends: contours) with acceptance tests: the shared R119/R120 plus a Greece-specific claim (the trace interval is honest — no line carries a non-cadence elevation; Olympus's summit ring present). A zoom cascade appropriate to a 25 m-derived 20 m set (denser than Iceland's 20 m source, sparser than Sweden/Finland's 5 m — the interval_class ladder should carry the coarse-zoom thinning).make acceptance, updatedocs/country-gr.md's verdict table, and update the mechanism docs (docs/architecture.md/docs/schema.md) for the new DEM stage if it changes the pipeline.This is the largest piece of the terrain closure: the contour-tracing stage is a real importer subsystem (the size of arcgis.go/clms.go). Build it as such — a general raster→contour stage, not a Greece one-off — because Poland's #104 block is exactly the missing machinery (its national NMT is infeasible to fetch, but a working contour stage makes a future NMT-arc pilot possible).
Maintainer decision (2026-08-21): Greece contours source = COP-DEM GLO-30 via the new CDSE provider (same as #206), and the DEM→contour tracing stage is to be built as a GENERAL importer subsystem (marching squares, tile-seam assembly), usable for a future Poland NMT arc. Scope confirmed.