Finland's station labels are all-caps — R94 applies to stations too #92
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#92
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?
Finland's station labels come off the MML register verbatim, and the register stores most of
its traffic-site rows in capitals. 349 of 847 fi station names are all-caps:
The source is
fi_paikannimikohdeluokka 14201, of which 620 of 767 rows are capitalized:This is R94 ("Normalize names to the register's display casing"), the same finding #80 fixed for
places. Thestationslayer in conf/fimap.yaml takesn.teksti AS namestraight out of thelateral join with no normalization.
What to do
Apply the idiom #80 landed on
mainfor the places query, to the station name:Note the known
initcaplimit recorded in conf/fimap.yaml's places comment: it breaks a word atevery non-alphanumeric character, so
S:T MICHELcomes back asS:T Michel. The 14201 seriescarries those rows, so the same handful of names is affected here.
Why now
#86 (PR #88) wires the same 14201 join into
railwaysand was sent back for exactly this — onceit is fixed,
stationswould be the only Finnish label layer still shouting. Worth doing in thesame pass or immediately after.
Acceptance
Near zero — allowing the
S:trows above, which are not all-caps after normalization anyway.Check no other country's station names changed, and that the station count is unchanged (this is
a casing fix, not a dedupe).
Found reviewing PR #88 / #90.
Done — closed by #81 (PR #99, merged 2026-08-13 as
b667481+b3cee2e), which appliedthis exact idiom without referencing this issue.
Not a coincidence, and worth recording why: #81 needed the R94 normalisation for its
own reasons. Its importance-3 rung matches a station name against the top-tier town
list, and that list is already normalised in
fi_paikannimi_cl, so the station side hadto be normalised identically or the match would not fire. Unnormalised it found 69
sites; normalised, 112. (That is also the explanation for the discrepancy between #68's
"69 sites" estimate and #81's "112 towns".) This issue's fix was load-bearing for that
one, and fell out of it.
Acceptance query, live DB after the merge:
The two survivors are
TAYS AandTAYS B, and they are not a casing bug:TAYS is an acronym (Tampereen yliopistollinen sairaala), it is genuinely upper-case, and
those are Tampere tram stops taking their name from Digiroad's already-cased
NIMI_SU— not from the 14201 register this issue diagnosed. Nothing to normalise.The other check passes too: no other country's station names moved,
map_stations_14still 2 059 (se) / 4 052 (pl). Finland went 847 → 852 rows for reasons documented in
#81 — 25 MTK metro sites left the rail branch as duplicates of the 30 HSL metro
stations (559 + 288 → 534 + 30 + 288).
One prediction here did not materialise. This issue expected the register's
S:T MICHEL-style rows to come back as "S:T Michel". There are now zeroS:-prefixedFinnish station names, and zero mixed-case 14201 rows containing a run of capitals — the
traffic-site series does not carry those rows, whatever the places series does.
The underlying
initcaplimit this issue flagged and accepted is now tracked on its ownas #113, including the
S:T MICHELshape.