Workstream A: catalogue what the downloads contain vs what we import (#16) #51
No reviewers
Labels
No labels
claude-wip
map-report
map:is
map:se
needs-review
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
art/ismap!51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "night/issue-16-download-catalogue"
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?
Closes #16
Issue #16 — Workstream A: what our downloads contain vs what we import
Branch:
night/issue-16-download-catalogue· Docs:docs/workstream-a.md(new), plus an index row in AGENTS.md. Docs-only change; no code, no DB.
What this is
The catalogue the issue asked for: per country, available → imported → worth
importing, with every number measured from
data/on disk (scripts/gpkg.py overall GeoPackages, the file tree, the fetch markers) and matched against what
conf/*.yamlactually reads. Nothing was re-downloaded and nothing was invented —row counts are as-measured, and the config comments are the authority for what each
layer reads. Finland's catalogue already lived in
docs/country-finland.md; thiscloses the loop for Iceland, Sweden and Poland and points back at Finland's.
Headline "worth importing" recommendations per country
(water, peaks, waterfalls, springs are all NULL), and
is_50v_ornefniis theregister that fixes all of it at once. This is the dataset issue #29 is gated on.
Correction found:
docs/country-iceland.mdsays "fetched but not imported",but the file is not in this data/ tree —
make fetch-nameshas to run beforeany örnefni work. The fetch target and URL are documented in the Makefile/README.
texttheme is Sweden's örnefni: it is where Swedishwater names live (semap.yaml says so verbatim), and
water_bodiesnames are allNULL today. Then
hojd(contours + spot heights) andbyggnadsverk(buildings)for Iceland-parity terrain. Cheap wins already on disk:
hydropunktsprings, andthe unread
SverigepaketTPcolumns — speed limit, width, ADT, road authority(9 of 121 columns are read; the rest is a config edit away).
sankmark(peat/marsh) is worth it but needs the nationwide
ST_Differencedesign work.BU*buildings (would give Poland abuildingslayer and astationspartition — the only country without one) andKU*land-usecomplexes (airports/ports split, same difference-design cost as sankmark).
SKJZ.POLOZENIEis the standing bridge/tunnel item, already on disk. All 16downloaded classes are staged and read — nothing is wasted, unlike Sweden's dead
europavagar/rikslansvagar/funkvagklassfetches.MTK-rakennus(buildings),MTK-korkeussuhteet(contours),
DR_PYSAKKI(station importance 3).Notes for the reviewer
MTK-muutholds 83tables measured (doc says 84) and Digiroad holds 33 (confirmed). I left the
doc alone — a one-line correction could be folded into a later edit.
data/se_osm/stockholm_rail.osmis an unused Overpass OSM export from before Topo10 was approved. Nothing references it and OSM is out of scope by project rule; it
should be deleted from disk (flagged in the doc, not deleted by me — data/ is
gitignored and outside the commit).
three-layer (points/lines/polygons) dataset at 1:50 000. The atlas.lmi.is catalog
page itself 403s to bots, so the fetchable set is documented from the repo's own
README/Makefile rather than a live listing.
targets were added, no layers were imported, and örnefni/the text theme were not
fetched (re-downloading is out of scope for a catalogue pass). The natural next
issues: fetch+import örnefni (#29), fetch the Topo 10
text/hojd/byggnadsverkthemes, drop the three dead Lastkajen fetches, and a BDOT10k
BU*evaluation.Review — #51 (Workstream A download catalogue)
Good deliverable and the right shape for the issue — the
verdictcolumn is what turnsthis from an inventory into a work list, and the per-row one-liners stay on the right side
of the project's "reasoning lives next to the query" convention. Docs-only, nothing to
build.
The claimed correction was not applied
docs/workstream-a.mdline 13:"corrected there" reads as
docs/country-finland.mdhaving been updated, but the diff onlytouches
AGENTS.mdanddocs/workstream-a.md.docs/country-finland.md:59still says:Either fix that line or reword to make clear the correction is recorded here and not there.
Stale against #53
Two places will be wrong the moment #53 merges:
mannvirki_flakar | 110 | yes — places; #53 renames that layerto
settlements.make fetch-namesfirst; thefile is not on disk. Unblocks issue #29" — #53 does exactly this and closes #29.
Not a merge conflict, just a factual staleness; whichever lands second needs the touch-up.
Nit
Line 18 pins "on disk" to
/home/art/src/ismap/data/. Absolute and user-specific —data/relative to the repo root is what the rest of the docs use.
Otherwise
The Sweden section is the valuable part: the three dead fetches
(
europavagar/rikslansvagar/funkvagklass, 2.6M rows nothing reads) and the121-column
SverigepaketTPinventory are both actionable today, and identifying the Topo 10texttheme as "Sweden's örnefni" is the cross-cutting finding the issue was asking for.The Poland "none of the 16 is wasted" conclusion is a useful contrast to have measured
rather than assumed.
8e3e0fbeb5toa104f61786Review addressed in commit
a104f61(branch rebased onto current main; linear history — the force-with-lease was the pre-rebase SHA being replaced).settlements(mannvirki_flakar's name on that branch — settlement extents + population, distinct from the sharedplacesname layer), and both örnefni passages — the Iceland-section paragraph and work-list item 1 — now record the post-#53 reality: the register is fetched (2026-08-04) and its 44 506 points feed the sharedplaceslayer (issue #29 closed); what stays open is the register's lines/polygons (label-anchor machinery) and the spatial join to name peaks/waterfalls/springs on their own features.data/relative to the repo root — no absolute /home/art path.Verified by grep across docs/: no "84 layers" for MTK-muut remains, no /home/art/src/ismap/data path remains, and no "not on disk" örnefni claim remains (the only "not on disk" left is the Poland BDOT10k heading, which is a different, legitimate use).