@finbheara/domain 0.30.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -122,13 +122,19 @@ geocode("Brooklyn").isPlace(); // false: a town of six US states and more, so
122
122
  // `Brooklyn, NY` reads
123
123
  place("Drogheda").arm; // "unread": the store holds no Drogheda
124
124
  geocode("Prague", { near: "RCCEA", declared: true }).isPlace();
125
- // false: the context lies outside the layer's
126
- // countries, so no namesake town is read
125
+ // false: the town lies outside the context, so
126
+ // no namesake town is read
127
+ geocode("Fife").isPlace(); // false: a town of Washington, and a council area
128
+ // of Scotland
127
129
  ```
128
130
 
129
- A context (a `country` or `near`) that reads to a place outside those six countries stops the
130
- layer for a bare town, so a city elsewhere is never read as its namesake in them. With no
131
- context `geocode("Prague")` is Prague, Oklahoma, the one Prague the layer holds. A print with a
131
+ The layer reads a bare town by its name alone, so it reads one only where nothing contradicts
132
+ it. A context (a `country` or `near`, read by the store, never as a town of the layer) that
133
+ reads to ONE place which neither holds the town nor shares its country stops the layer: `Prague`
134
+ near `RCCEA` and `Whitecross` under `Ireland` and `Ulster` read nothing. A context the store
135
+ reads nothing for, or reads as several places, stops nothing, so with no context
136
+ `geocode("Prague")` is still Prague, Oklahoma. A town named like a GeoNames admin2 area of those
137
+ six countries that does not hold it (`Fife`) reads only where a context places it. A print with a
132
138
  qualifier (`Yonkers, NY`) is never stopped: the context never overrules the print.
133
139
 
134
140
  A `Place` is one of four arms: `resolved`, `plural` (a print naming more than one place),
@@ -3852,7 +3852,7 @@ var PLACE_NODES = [
3852
3852
  kind: "subdivision",
3853
3853
  name: "Northern Ireland",
3854
3854
  geo: "GBR",
3855
- admin: null,
3855
+ admin: "ULSTER",
3856
3856
  prints: ["northern ireland"],
3857
3857
  codes: ["GB-NIR", "GBR-NIR"]
3858
3858
  },