Iceland places: multi-part settlements get one label per part #22
Labels
No labels
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#22
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?
mannvirki_flakarmultipolygons areST_Dump-split on import (110 source rows → 126polygons), so a settlement mapped as several polygons gets one label anchor per part and
the town name can render repeated.
There is also a second, related duplication: a large settlement polygon spanning several
tiles gets one centroid label per tile.
The fix template already exists in this repo —
airport_points: a small derived layerwith a
pgsource,SELECT ST_Centroid(ST_Collect(geom)) … GROUP BY nafnfitjuover thepolygon table, used for the label while the polygon layer keeps the fill. Applying the same
shape to
placesfixes both symptoms at once.docs/geo-primer.mduses this as its worked example of whyST_Dump-on-import is not free("it just moves the cost somewhere you can see it"), so update that reference if it is
fixed.