Sweden's peaks come from a geodetic control network, not summits — no point above 2000 m exists in the layer #203
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#203
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?
Sweden's
peakspartition, landed in #101 (PR !202), is built from a source thatdoes not contain peaks. Either find a real one or drop the partition. Do not
synthesize one — see "Not the fix" below.
What the source actually is
Topo 10 tema Höjd, layer
hojdpunkt, is a geodetic control network, not aterrain spot-height set:
89% is levelling benchmarks — markers set along levelling lines, on bedrock,
bridges and buildings. The layer records where Lantmäteriet has measured, not
where the land is high.
The symptom
summits. Only 32 points nationwide clear 1500 m.
1584 m; the nearest is a 773 m Triangelpunkt 5.7 km away, which is what the map
currently draws as the peak of the Kebnekaise massif.
Härjedalen — the highest mountain south of the Arctic Circle, roughly Sweden's
13th overall. Kebnekaise, Sarek and Akka are all absent.
The contours from the same theme are correct and stay: within 5 km of Kebnekaise
they run to 2090 m in closed rings. The terrain data has the mountain; the
peaks layer does not.
Why the acceptance tests did not catch it
They are honest and they pass.
R120: every Sweden peak made it throughcomparesthe map partition to the source row for row — true, and irrelevant, because the
source is the wrong register. Nothing asserts the layer contains the mountains.
Whatever replaces the source should come with a check that would have failed
here: the highest point in each country's partition should be within some margin
of that country's actual high point, or the partition's maximum should be at
least as high as its own contours' maximum.
The contrast that makes it a contract problem
Iceland's
haedarpunktartops out at 2110 m at 64.0142/-16.6771 — Hvannadalshnúkur,the country's actual highest point. The two partitions of the shared
peakscontract are therefore semantically different things: Iceland's samples terrain
and hits the summits, Sweden's samples the survey network and misses them. The
contract (
conf/shared/contracts/19-peaks.yaml) says "a surveyed spot height",which is loose enough to admit both — worth tightening to say what the layer is
for once the Sweden source is settled.
Not the fix: deriving summits from the contours
The obvious move — take the innermost closed contour ring, call its centroid a
peak — was considered and rejected. It is technically easy (the rings are
genuinely closed; Kebnekaise's 2090 m ring has 11 points), but it manufactures
map data that no survey produced, and peaks are garnish: a nice-to-have label
layer, not something the map needs badly enough to invent. Prefer removing the
partition over synthesizing one.
Options, in order of preference
hojdpunkt,hojdlinjeandhojdkurvstext— nosummit class;
texttheme'sTERRTX(273 311 terrain names, andKebnekaiseis inthere at 67.9004/18.4658) carries no elevation and no category — it is
undifferentiated terrain text covering islands, headlands and moors as well
as summits, so it cannot be filtered to peaks;
markandadministrativindelningonly.Still unexplored: other Lantmäteriet products (Topo 100/250 generalized
height points), and Ortnamnsregistret's name-type codes, if any of them
distinguish a summit as a class rather than as a name.
conf/se/17-peaks.yamland these_hojdpunkt_t10staging entry go;map_peaks_<z>holds Iceland only again,as it did before #101. The shared contract and Iceland's partition are
unaffected, and the layer stops making a false claim about the fjäll. This is
the right outcome if (1) comes up empty.
Sweden's
contoursfrom the same import are unaffected either way and stay.Notes
Triangelpunkt, not a summit.
read this before picking their sources — "the national spot-height layer" is
not automatically a peaks layer.