Day 21 methods: The hidden border
#30DayMapChallenge 2026, Day 21: OpenStreetMap. Robert Berry, Geodat AI Ltd. Version 7, 18 November 2026.
What changed in version 7
- Inset labels. Map image 10 labels the three towns in the inset with their English names only (Haverfordwest, Tenby, Pembroke), as there is not room for both. The main map keeps Welsh names first.
- England clearer. England is now a solid dark landmass running off the right edge of the page, fading only at the top and bottom, so it reads on a phone. No figures changed.
What changed in version 6
- England shown. Map image 9 shows England faintly beyond the border, fading out towards the edges, with a small "Lloegr / England" label. The England outline is from Natural Earth (public domain). Nothing else changed.
What changed in version 5
- Label. Map image 8 labels the north-east strip "Border with England" instead of "The English border", which could be misread. Nothing else changed.
What changed in version 4
- Phone legibility. Map image 7 has larger text throughout (intro, figures, inset, labels, legend, footer), bigger dots in the inset and a slightly thicker white line. No figures changed.
What changed in version 3
- OpenStreetMap only. The cross-check against OS Open Names has been dropped, so every figure comes from OpenStreetMap. (On 6 November it gave the same split: 84% English south, 85% Welsh north.) The Wales outline is still from OS data; it only draws the coast.
What changed in version 2
- Rebuilt from scratch. The first version sorted the names in the browser and kept only the counts per grid cell, so the individual names could not be re-checked. Version 2 re-extracts every name from a fresh OpenStreetMap download, sorts them again with the same rules (in Python), and keeps the full list of sorted names.
- Same answer. The headline figures did not move: 92% English south of the Landsker, 90% Welsh just north of it, 84% Welsh across Wales.
- Wording. The first map said "south of the line". There are several white lines on the map, so this now says "south of the Landsker", and the notes say the 92% and 90% are for Pembrokeshire only.
- Coast. The white line no longer runs along the coast where there is no switch in names (an artefact of how the edge of Wales was handled).
- Inset. A new panel shows south Pembrokeshire name by name, one dot per name.
What the map shows
The share of place names written in Welsh and in English across Wales, from OpenStreetMap, smoothed into a surface. The white line is where names switch from mostly one language to the other (50%).
Data
- Names: OpenStreetMap, Wales extract from Geofabrik (data up to 17 November 2026, 21:24 UTC).
- Features used: villages, hamlets, isolated dwellings and farms (place tags), farmyards (landuse) and farmhouses (building), each with a name, inside Wales.
- Features not used: localities (mostly coastal rocks, caves and headlands), islands, suburbs, neighbourhoods, towns and cities. They are not old farm and settlement names, or (for suburbs) are mostly modern.
- Outlines: Wales from OS data; England from Natural Earth (public domain), shown faintly for context only.
Sorting names
Each name is split into words, after removing added labels at the end (Farm, Farmhouse, Cottage, House, Buildings, Barns). Qualifiers (Upper, Lower, Great, Little, Old, New, East, West, North, South, Middle, Higher, The, St) are ignored.
Welsh word: about 150 Welsh place-name words, for example:
- llan, aber, pen, pont, cwm, tre, bryn, nant, glan, rhyd, maes, coed, bwlch, hafod, cefn, blaen, pant;
- mynydd, cae, plas, porth, ffynnon, garth, pwll, llyn, rhos, carreg, craig, ystrad, ynys;
- pentre, felin, sarn, rhiw, allt, esgair, pandy;
- adjectives such as bach, mawr, uchaf, isaf, newydd, gwyn, du, coch, glas.
A compound starting with one of these, such as Llangefni or Aberbran, also counts, unless it ends in an English ending.
English word:
- endings such as -ton, -ham, -ley, -ford, -worth, -well, -church, -field, -wood, -hill, -bridge, -green, -stone, -bury, -cross, -moor, -haven;
- whole words such as hill, wood, green, court, hall, mill, manor, lodge, park, view.
"-by" is not used, because it wrongly caught Tenby.
Decision: a name is Welsh if it has Welsh words and no English ones, and English if the reverse. A name with both is decided by the clear majority, or left out. Names in two languages ("Aberteifi / Cardigan") are left out.
Duplicates: the same name at the same spot (to about 1 km) is counted once.
Result: 11,794 names inside Wales after removing duplicates. 7,229 Welsh and 1,356 English (8,585 sorted). 3,100 could not be told either way, 105 were mixed and 4 were in two languages; these are left out. Undecided names include Welsh names in English spelling such as Tenby, Lamphey, Narberth, Carew and Manorbier.
The first version (OpenStreetMap extract of 6 November 2026) sorted 7,382 Welsh and 1,384 English (8,766). The small difference comes from a newer extract and from taking the centre of mapped areas (farmyards) directly rather than through the Overpass service.
Accuracy check
Random samples were read by hand: 120 names sorted as English and 50 sorted as Welsh.
- English: three or four of the 120 are plainly Welsh names caught by an English word, for example "Marchwiel Hall", "Gwehelog Common" and "Llanoley Farm". About 97% correct.
- Welsh: no clear errors in the 50.
- South Pembrokeshire: every English-sorted name in a random sample of 40 from the south box (below) is a genuine English-language name (Cosheston, Jameston, Reynalton, Hundleton, Johnston...). The 18 names there sorted as Welsh are Welsh-origin names (Llangwm, Rhoscrowther, Pwllcrochan, Penally...): the English south still has a few.
Mapping
- Grid: names are counted in cells of about 1.6 km, then on a 500 m grid.
- Smoothing: Welsh and English counts are smoothed separately (Gaussian, about 3 km) and the share is Welsh ÷ (Welsh + English).
- The line: the white line is the 50% contour.
Figures
- The Landsker. Pembrokeshire (west of easting 221,500, south of northing 240,000) was split by the 50% line:
- south of it, 92% of names are in English (357 names, 188 grid cells);
- north of it, 90% are in Welsh (290 names, 147 cells).
- All Wales: 84% of sorted names are in Welsh.
Robustness checks
In this table, the boxes are: south of latitude 51.80, and 51.88 to 52.12, both west of longitude 4.6° W.
| Test |
South: % English |
North: % Welsh |
| Map as published (50% line, 3 km smoothing) |
92% (357 names) |
90% (290) |
| 2 km smoothing |
92% |
90% |
| 5 km smoothing |
91% |
90% |
| Fixed boxes instead of the line |
92% (222) |
82% (381) |
| Farms only, boxes |
96% (154) |
85% (303) |
| Villages and hamlets only, boxes |
82% (68) |
69% (78) |
| First version, 6 November extract, line |
92% (359) |
90% (305) |
Every version shows the same split.
The figures that use the line come from the same data that draws it. They describe how sharp the split is; they are not an independent test of it. The box figures do not depend on the line.
How the line compares with the Landsker
- West end: the 50% line meets the coast at Newgale, the usual western end of the Landsker.
- East end: it meets the south coast just east of Amroth (about 2 km past the Pembrokeshire border, near Marros). Accounts put the eastern end at Amroth or at Laugharne.
- Middle: it bulges about 9 km north of the usual Newgale to Roch line, with its northern tip near Letterston. Smoothing and the small number of names in places will move the line by a few kilometres. Studies of the language border have also found it moved north in some places and south in others over the centuries.
History, in brief
South Pembrokeshire was taken by the Normans in the 1090s. Flemish settlers were planted there from 1108, with a second group around 1113. The south became English-speaking, "Little England beyond Wales", while the north stayed Welsh. The boundary between them, marked by a chain of castles, was labelled the Landsker in the early 20th century, from a Norse word for a boundary.
Gower, the Vale of Glamorgan and Gwent were also lowland areas of Norman settlement. The strip along the border reflects English settlement over centuries.
Limits
- Sorting by rules. Some names are misread, and many short or ambiguous names are left out.
- Welsh names in English spelling are left out, not counted as English. These include Tenby, Lamphey, Narberth, Carew, Manorbier, Kilgetty and Pembroke. The map measures the language names are written in today, not their origin.
- Uneven mapping. OpenStreetMap detail varies by area.
- Cities and big towns have few names. Towns, suburbs and neighbourhoods are left out, so cities contribute very few names. Cardiff council area has only 6 sorted names, Newport 29 and Swansea 85. A 15 km box around Cardiff holds 30, about half English (mostly farms on the Vale and Caerphilly sides). The colour over Cardiff, Swansea, Newport and similar places is smoothed in from the countryside around them and should not be read as a result for the city itself. The 92% is for south Pembrokeshire only.
- The Vale of Glamorgan is a mixed band, not a solid block. Across the Vale council area 52% of sorted names are English. The southern Vale is about two-thirds English and the northern Vale under half (61 to 68% against 35 to 45%, depending where the split is drawn), so it shows paler than south Pembrokeshire. This matches the historical split there between the Norman-settled lowland and the Welsh uplands, which was much less sharp than the Landsker.
- Smoothing. The surface softens sharp local edges, and coastal areas with few names are less certain.
- Names, not people. The map shows the language of place names. It says nothing about which language people speak today.
Files
- Map:
30DayMapChallenge 2026\day21-openstreetmap\10-day21-hidden-border-linkedin.jpg (full size in _full-size).
- Scripts and data:
30daymap-2026\day21-openstreetmap\hidden-border-v2\
day21-render-v10.py, the map (v9 has bilingual inset labels; v8 has no England; v7 has the old label; v6 is before the phone sweep);
extract.py, reads the names from the OpenStreetMap download;
rebuild.py, sorts and grids them;
stats.py, the Landsker figures and smoothing checks;
classify.py and name-classifier.js, the sorting rules;
day21-names-sorted-v1.csv, every name with its result;
grid_rebuilt.csv, the Welsh and English counts per grid cell.
- OpenStreetMap download:
Downloads\wales-261117.osm.pbf.