#78: Iceland's places rank the settlement footprint, not the toponym register #91
No reviewers
Labels
No labels
blocked
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!91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-78-is-places-footprint"
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 #78
#78: Iceland's places rank the settlement footprint, not the toponym register — and settlement_points is retired
What changed
Iceland's
placespartition now ranks settlements by their built-up footprint. Theold partition read the whole LMÍ
örnefnitoponym register (44 506 points) and graded itby
örnefnaflokkurkenni, which is a category code (land/sea/water/ice + a Stórt/Mið/Lítið sub-digit) rather than a size signal — so Ísland ranked 1, a skerry and a crater row
filled the top five, and Reykjavík did not make z7. The new source is
mannvirki_flakar,IS 50V's populated-place polygons, staged into PG (
mannvirki_flakar); the rank ordersimportance first, then the summed polygon area in EPSG:3057 (ISN2004, R88), then name.
Importance is cut from the same footprint (≥ 2 km² towns, ≥ 0.5 km² villages, else
hamlets), so the whole ladder is one signal. R82 is amended to record Iceland's
footprint exception — LMÍ's print-size code was a category code, so footprint (the
polygons' own geometry, not "from elsewhere") is the survey's genuine size call.
settlements/settlement_pointsare retired fromconf/ismap.yaml, from theissource list, and
place_labelsfromhtml/style.json. The shared places layer now doeseverything settlement_points did — the same
ST_ClusterDBSCAN(eps 15 000 ≈ 6.5 kmground,
PARTITION BY nafnfitju) plus one centroid per (name, cluster), which keeps thetwo Reykholt (67 km apart) two labels. One place-label layer per town remains
(
place_names). The style drops from 65 to 64 layers.Verification (live DB, post-import)
SELECT name FROM map_places_14 WHERE country='is' ORDER BY rank LIMIT 5→Reykjavík, Hafnarfjörður, Kópavogur, Akureyri, Garðabær (the acceptance query).
Ísland,Kolbeinsey,Sundhnúkur,1000 manna hellir,ABC Garðurinn) are absent frommap_places_14.name/importance/rankat every zoom; partitions present at all of z4–z14.grep -c place_labels html/style.jsonis 0;gl-style-validatepasses.zxy_isno longer calls the retired layers.28/17 carries Reykjavík/Hafnarfjörður/Kópavogur/Garðabær; z5 shows only Reykjavík.
place_labelslayer; z9 shows only real towns (Keflavík, Akranes, Reykjavík, …).make build;go test ./...in importer and mapsrv all pass.Notes
make fetch-namesand thedatabases: ornefnientry stay: the örnefni registerremains the documented future source for naming water/peaks by spatial join (R93).
ismap_settlements_*/ismap_settlement_points_*tables and their zxyfunctions remain in the database, orphaned but harmless (same class as the pre-
unification orphans of R27); nothing serves them. No destructive cleanup was run.
footprints — another reason the rank uses footprint, not population.
Closes #78to #78: Iceland's places rank the settlement footprint, not the toponym registerplacesranks the toponym register, not settlements — andsettlement_pointsdouble-labels the map #78