@mailwoman/zoning 10.0.0 → 10.2.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.
Files changed (101) hide show
  1. package/README.md +169 -163
  2. package/lib/index.ts +103 -135
  3. package/lib/paths.ts +24 -0
  4. package/lib/ring-roles.ts +30 -71
  5. package/lib/rings.ts +2 -13
  6. package/lib/schema.ts +98 -139
  7. package/lib/vocabulary.ts +52 -130
  8. package/out/index.d.ts +81 -101
  9. package/out/index.d.ts.map +1 -1
  10. package/out/index.js +37 -96
  11. package/out/index.js.map +1 -1
  12. package/out/paths.d.ts +19 -0
  13. package/out/paths.d.ts.map +1 -0
  14. package/out/paths.js +21 -0
  15. package/out/paths.js.map +1 -0
  16. package/out/ring-roles.d.ts +16 -50
  17. package/out/ring-roles.d.ts.map +1 -1
  18. package/out/ring-roles.js +18 -51
  19. package/out/ring-roles.js.map +1 -1
  20. package/out/rings.d.ts +2 -13
  21. package/out/rings.d.ts.map +1 -1
  22. package/out/rings.js +2 -13
  23. package/out/rings.js.map +1 -1
  24. package/out/schema.d.ts +90 -132
  25. package/out/schema.d.ts.map +1 -1
  26. package/out/schema.js +17 -45
  27. package/out/schema.js.map +1 -1
  28. package/out/sdk/build-zoning.d.ts +58 -111
  29. package/out/sdk/build-zoning.d.ts.map +1 -1
  30. package/out/sdk/build-zoning.js +50 -139
  31. package/out/sdk/build-zoning.js.map +1 -1
  32. package/out/sdk/cells.d.ts +21 -62
  33. package/out/sdk/cells.d.ts.map +1 -1
  34. package/out/sdk/cells.js +15 -52
  35. package/out/sdk/cells.js.map +1 -1
  36. package/out/sdk/client.d.ts +23 -67
  37. package/out/sdk/client.d.ts.map +1 -1
  38. package/out/sdk/client.js +29 -77
  39. package/out/sdk/client.js.map +1 -1
  40. package/out/sdk/download.d.ts +7 -27
  41. package/out/sdk/download.d.ts.map +1 -1
  42. package/out/sdk/download.js +8 -28
  43. package/out/sdk/download.js.map +1 -1
  44. package/out/sdk/ingest/chunk.d.ts +19 -43
  45. package/out/sdk/ingest/chunk.d.ts.map +1 -1
  46. package/out/sdk/ingest/chunk.js +19 -52
  47. package/out/sdk/ingest/chunk.js.map +1 -1
  48. package/out/sdk/ingest/worker.d.ts +9 -0
  49. package/out/sdk/ingest/worker.d.ts.map +1 -0
  50. package/out/{scripts/ingest-chunk.js → sdk/ingest/worker.js} +8 -10
  51. package/out/sdk/ingest/worker.js.map +1 -0
  52. package/out/sdk/ingest.d.ts +152 -0
  53. package/out/sdk/ingest.d.ts.map +1 -0
  54. package/out/sdk/ingest.js +200 -0
  55. package/out/sdk/ingest.js.map +1 -0
  56. package/out/sdk/measure-resolutions.d.ts +7 -34
  57. package/out/sdk/measure-resolutions.d.ts.map +1 -1
  58. package/out/sdk/measure-resolutions.js +5 -23
  59. package/out/sdk/measure-resolutions.js.map +1 -1
  60. package/out/sdk/test-kit.d.ts +75 -0
  61. package/out/sdk/test-kit.d.ts.map +1 -0
  62. package/out/{test-kit.js → sdk/test-kit.js} +20 -43
  63. package/out/sdk/test-kit.js.map +1 -0
  64. package/out/sdk/verify.d.ts +79 -80
  65. package/out/sdk/verify.d.ts.map +1 -1
  66. package/out/sdk/verify.js +83 -70
  67. package/out/sdk/verify.js.map +1 -1
  68. package/out/vocabulary.d.ts +52 -120
  69. package/out/vocabulary.d.ts.map +1 -1
  70. package/out/vocabulary.js +47 -125
  71. package/out/vocabulary.js.map +1 -1
  72. package/package.json +38 -162
  73. package/{lib/sdk → sdk}/build-zoning.ts +102 -188
  74. package/{lib/sdk → sdk}/cells.ts +27 -66
  75. package/{lib/sdk → sdk}/client.ts +34 -82
  76. package/sdk/download.ts +58 -0
  77. package/{lib/sdk → sdk}/ingest/chunk.ts +36 -65
  78. package/{lib/scripts/ingest-chunk.ts → sdk/ingest/worker.ts} +7 -9
  79. package/sdk/ingest.ts +354 -0
  80. package/sdk/measure-resolutions.ts +72 -0
  81. package/{lib → sdk}/test-kit.ts +21 -44
  82. package/sdk/verify.ts +367 -0
  83. package/lib/sdk/download.ts +0 -78
  84. package/lib/sdk/index.ts +0 -15
  85. package/lib/sdk/ingest/index.ts +0 -393
  86. package/lib/sdk/measure-resolutions.ts +0 -101
  87. package/lib/sdk/verify.ts +0 -357
  88. package/out/scripts/ingest-chunk.d.ts +0 -11
  89. package/out/scripts/ingest-chunk.d.ts.map +0 -1
  90. package/out/scripts/ingest-chunk.js.map +0 -1
  91. package/out/sdk/index.d.ts +0 -15
  92. package/out/sdk/index.d.ts.map +0 -1
  93. package/out/sdk/index.js +0 -15
  94. package/out/sdk/index.js.map +0 -1
  95. package/out/sdk/ingest/index.d.ts +0 -185
  96. package/out/sdk/ingest/index.d.ts.map +0 -1
  97. package/out/sdk/ingest/index.js +0 -232
  98. package/out/sdk/ingest/index.js.map +0 -1
  99. package/out/test-kit.d.ts +0 -96
  100. package/out/test-kit.d.ts.map +0 -1
  101. package/out/test-kit.js.map +0 -1
package/out/schema.d.ts CHANGED
@@ -2,76 +2,53 @@
2
2
  * @copyright Sister Software
3
3
  * @license AGPL-3.0
4
4
  * @author Teffen Ellis, et al.
5
- *
6
- * Typed schema for `zoning-ireland.db` — the two-tier polygon layer: the authority's unsimplified rings as
7
- * the truth table, an H3 cell table above them as the summary, the plan and jurisdiction a zone belongs to,
8
- * the published vocabularies, and the layer-contract tables from `@mailwoman/core/layers`.
9
- *
10
- * THE LOCAL CODE IS `NOT NULL` AND THE CROSSWALK IS NULLABLE, WHICH IS THE VOCABULARY DECISION AS A
11
- * CONSTRAINT. A source with no crosswalk produces a complete row; a source with no local code does not. The
12
- * Department's own item description is what this transcribes: its national scheme "complements (rather than
13
- * replaces) the existing statutory zoning used for each individual plan".
14
- *
15
- * `provenance_grade` IS A COLUMN WITH A `CHECK`, NOT A CONVENTION. `NOT NULL` alone accepts `''`, and a
16
- * blank matches neither half of every read that splits on grade — so the constraint refuses a blank as well
17
- * as an unknown value. This is `packages/filer`'s discipline applied unchanged, and the reason it is
18
- * compulsory here is licensing as much as epistemics: an observed land-use layer is ODbL, and merging one
19
- * of its rows into this table would relicense the table.
20
- *
21
- * `signed_area_m2` IS THE INGEST'S OWN RECEIPT AND ITS SIGN IS LOAD-BEARING. The service encodes hole roles
22
- * by ring orientation with clockwise as the exterior, so a correctly-read feature stores a POSITIVE signed
23
- * sum; the national total of those sums is what the build compares against the Department's own
24
- * `Shape__Area` statistic. Read with the holes it is 5,444.5 km²; read without them, 5,666.6 km².
25
- *
26
- * `WITHOUT ROWID` ON THE CELL TABLE AND NEVER ON THE GEOMETRY TABLE. Small fixed-width rows probed by their
27
- * exact primary key belong in the B-tree; a row carrying a geometry blob does not — clustering it into the
28
- * B-tree makes every index page a geometry page.
29
- *
30
- * THE WHOLE-CELL SET IS COMPACTED PER FEATURE, SO IT IS MIXED-RESOLUTION. A row therefore carries its own
31
- * `resolution`, and a probe walks `cellToParent` from the index resolution up to the coarsest resolution
32
- * present. `layer_coverage` is NOT compacted and stays single-resolution, because `recoverShortCellResolution`
33
- * recovers one resolution from the stored cells and throws on a table that mixes them.
34
5
  */
35
- import type { LayerContractDatabase } from "@mailwoman/core/layers";
6
+ import type { layerschemadatabase, MappedExtentTable } from "@mailwoman/core/layers";
7
+ import { type AreaCellIndexTable } from "@mailwoman/sqlite/schema-columns";
36
8
  import { type Kysely } from "kysely";
37
9
  /**
38
10
  * Whether an H3 cell lies wholly inside a zoning polygon, or is crossed by its boundary.
39
11
  */
40
12
  export declare const ZoningCellContainment: {
41
13
  /**
42
- * Every point in the cell is inside the zone. Answered from the index alone, with no geometry read.
14
+ * Every point in the cell is inside the zone.
15
+ * The index answers this without reading geometry.
43
16
  */
44
17
  readonly Whole: "whole";
45
18
  /**
46
- * The zone boundary crosses the cell. The index has narrowed the candidate polygons; the point test decides.
19
+ * The zone boundary crosses the cell, so the point test decides after the index narrows the candidates.
47
20
  */
48
21
  readonly Partial: "partial";
49
22
  };
50
23
  export type ZoningCellContainment = (typeof ZoningCellContainment)[keyof typeof ZoningCellContainment];
51
24
  /**
52
- * One authority zoning polygon, verbatim. A plain rowid table: it holds a geometry blob, which is the one shape
53
- * `WITHOUT ROWID` hurts.
25
+ * One authority zoning polygon, verbatim.
26
+ *
27
+ * A rowid table that holds a geometry blob.
28
+ * `WITHOUT ROWID` performs poorly for this shape.
54
29
  */
55
30
  export interface ZoningAreaTable {
56
31
  /**
57
- * The authority's own feature id, as published. Unique across the product — measured, `OBJECTID` runs 1 to 85,330
58
- * with no repeat — so it needs no scoping prefix, and a prefix would put this package's key into a column that claims
59
- * to be the publisher's.
32
+ * The authority's own feature id, as published and unique across the product,
33
+ * so it needs no scoping prefix.
60
34
  */
61
35
  area_id: string;
62
36
  /**
63
- * The authority that adopted the plan. FK to `zoning_jurisdiction`.
37
+ * The authority that adopted the plan.
38
+ *
39
+ * FK to `zoning_jurisdiction`.
64
40
  */
65
41
  jurisdiction_id: string;
66
42
  /**
67
- * The plan this zone belongs to. FK to `zoning_plan`. A zone without a plan is not a claim: it exists inside a named
68
- * Development Plan or Local Area Plan with a stated validity window, and a layer that dropped the plan and kept the
69
- * zone would be answering a question no authority asked.
43
+ * The plan this zone belongs to, keyed to `zoning_plan`: a zone without its plan is not a claim.
70
44
  */
71
45
  plan_id: string;
72
46
  /**
73
- * `ZONE_ORIG` — THE AUTHORITY'S OWN ZONE CODE, VERBATIM, in its own spelling including case and trailing space.
74
- * Compared case-insensitively where it must be compared; never stored normalized.
47
+ * `ZONE_ORIG` — the authority'S own zone code, verbatim, in its own spelling
48
+ * including case and trailing space.
49
+ *
50
+ * Compared case-insensitively where it must be compared.
51
+ * Never stored normalized.
75
52
  */
76
53
  local_code: string;
77
54
  /**
@@ -79,16 +56,21 @@ export interface ZoningAreaTable {
79
56
  */
80
57
  local_description: string | null;
81
58
  /**
82
- * `ZONE_LINK` — the authority's own link to the plan text. A live host, unlike the crosswalk's.
59
+ * `ZONE_LINK` — the authority's own link to the plan text.
60
+ *
61
+ * A live host, unlike the crosswalk's.
83
62
  */
84
63
  local_code_url: string | null;
85
64
  /**
86
- * `ZONE_GZT` — the Department's national generic type, BESIDE the local code and never instead of it. NULL where a
87
- * publisher ships no crosswalk.
65
+ * `ZONE_GZT` — the Department's national generic type, beside the local code and never instead of it.
66
+ *
67
+ * NULL where a publisher ships no crosswalk.
88
68
  */
89
69
  crosswalk_code: string | null;
90
70
  /**
91
- * Which crosswalk `crosswalk_code` belongs to. NULL with the above.
71
+ * Which crosswalk `crosswalk_code` belongs to.
72
+ *
73
+ * NULL with the above.
92
74
  */
93
75
  crosswalk_scheme: string | null;
94
76
  /**
@@ -96,11 +78,13 @@ export interface ZoningAreaTable {
96
78
  */
97
79
  crosswalk_description: string | null;
98
80
  /**
99
- * `SZO` — a coarser code from the SAME authority, carried as published rather than derived.
81
+ * `SZO` — a coarser code from the same authority, stored as published rather than derived.
100
82
  */
101
83
  crosswalk_rollup: string | null;
102
84
  /**
103
- * One of {@link ProvenanceGrade}. `NOT NULL` with a `CHECK` that refuses a blank.
85
+ * One of {@link ProvenanceGrade}.
86
+ *
87
+ * `not NULL` with a `check` that refuses a blank.
104
88
  */
105
89
  provenance_grade: string;
106
90
  min_lat: number;
@@ -108,17 +92,18 @@ export interface ZoningAreaTable {
108
92
  max_lat: number;
109
93
  max_lon: number;
110
94
  /**
111
- * How many rings the source published for this feature — with `signed_area_m2`, the ingest's own receipt that the
112
- * orientation was read rather than assumed.
95
+ * How many rings the source published for this feature, with `signed_area_m2`,
96
+ * the ingest's own receipt that the orientation was read rather than assumed.
113
97
  */
114
98
  ring_count: number;
115
99
  /**
116
- * The signed ring sum, in square metres, POSITIVE under this service's clockwise-exterior convention.
100
+ * The signed ring sum, in square meters, positive under this service's clockwise-exterior convention.
117
101
  */
118
102
  signed_area_m2: number;
119
103
  /**
120
- * The authority's ring coordinates, UNSIMPLIFIED, with hole roles RESOLVED — see `ring-roles.ts` for the resolution
121
- * and `rings.ts` for the layout and the point test.
104
+ * The authority's ring coordinates, unsimplified, with hole roles resolved.
105
+ *
106
+ * See `ring-roles.ts` for the resolution and `rings.ts` for the layout and the point test.
122
107
  */
123
108
  rings: Uint8Array;
124
109
  }
@@ -142,11 +127,10 @@ export interface ZoningPlanTable {
142
127
  */
143
128
  valid_to: string | null;
144
129
  /**
145
- * `CURRENT_PLAN`, carried as published.
130
+ * `CURRENT_PLAN`, stored as published.
146
131
  *
147
- * IT DOES NOT MEAN "IN FORCE TODAY". Every row of the Current layer carries `1`, which the domain defines as `Current
148
- * plan` against `Expired and not replaced` and `Expired and replaced` — so it means "not superseded". Whether the
149
- * plan's own window has closed is `valid_to`, and it is a separate fact.
132
+ * `1` means the publisher has not superseded the plan.
133
+ * `valid_to` records whether it remains in force today.
150
134
  */
151
135
  current_plan: number;
152
136
  }
@@ -157,24 +141,26 @@ export interface ZoningJurisdictionTable {
157
141
  jurisdiction_id: string;
158
142
  name: string;
159
143
  /**
160
- * The publisher's own code, verbatim. `Fl` for Fingal against `CL`, `CO`, `DU` for the rest — DO NOT REPAIR.
144
+ * The publisher's own code, verbatim — `Fl` for Fingal against `CL`, `CO`, `DU` — never repaired.
161
145
  */
162
146
  source_code: string;
163
147
  country: string;
164
148
  }
165
149
  /**
166
- * A publisher's declared vocabulary, as shipped, per scheme — plus the values the DATA uses that the publisher never
167
- * declared.
150
+ * A publisher's declared vocabulary, as shipped, per scheme — plus the values
151
+ * the data uses that the publisher never declared.
168
152
  */
169
153
  export interface ZoningVocabularyTable {
170
154
  /**
171
- * `IE-GZT`, `IE-SZO`, `IE-PLAN-LEVEL`, or `IE-LOCAL:<authority code>`.
155
+ * `IE-GZT`, `IE-SZO`, `IE-plan-level`, or `IE-local:<authority code>`.
172
156
  */
173
157
  scheme: string;
174
158
  code: string;
175
159
  /**
176
- * The publisher's own words. For an observed-but-undeclared code this is the description the data carries on its
177
- * rows, or the code itself where the data carries none — never a label this package wrote.
160
+ * The publisher's own words.
161
+ *
162
+ * For an observed-but-undeclared code this is the description stored on its rows,
163
+ * or the code itself where the data stores none, never a label this package wrote.
178
164
  */
179
165
  label: string;
180
166
  /**
@@ -182,33 +168,30 @@ export interface ZoningVocabularyTable {
182
168
  */
183
169
  definition: string | null;
184
170
  /**
185
- * NULL for the Irish generic types. Every one of the 85,330 rows links its definition to `viewer.myplan.ie`, which
186
- * has no A or AAAA record, and three candidate replacements on the live host answer HTTP 404 — so the definitions
187
- * behind the 54 code-to-label pairs were not retrievable and this column is not filled in with a plausible one.
171
+ * NULL for the Irish generic types because their definitions were unavailable.
172
+ *
173
+ * The column stays NULL until a source supplies the definition.
188
174
  */
189
175
  definition_url: string | null;
190
176
  /**
191
- * `1` where the publisher DECLARES this code in its own domain, `0` where the code appears only in the data.
177
+ * `1` where the publisher declares this code in its own domain, `0`
178
+ * where the code appears only in the data.
192
179
  *
193
- * FOLDING THE TWO WOULD EITHER HIDE A SOURCE-SCHEMA CHANGE OR INVENT A DECLARATION. Ireland declares 54 generic types
194
- * and its data uses 55: `N/A` appears on 4 rows and in no domain.
180
+ * A merged value would hide a source-schema change or invent a declaration.
195
181
  */
196
182
  declared: number;
197
183
  /**
198
- * How many rows of this artifact carry the code. A census a reader checks a closed domain against, rather than a
199
- * claim about the world.
184
+ * How many rows of this artifact contain the code.
185
+ *
186
+ * A census a reader checks a closed domain against, rather than a claim about the world.
200
187
  */
201
188
  observed_rows: number;
202
189
  }
203
190
  /**
204
- * A publisher's OWN mapping between two schemes, where it publishes one AS A TABLE.
191
+ * A publisher's own mapping between two schemes, where it publishes one as a table.
205
192
  *
206
- * EMPTY FOR IRELAND, AND THE EMPTINESS IS A MEASUREMENT. The Department's generic type is assigned PER POLYGON, not per
207
- * code: 52 of the 795 (authority, local code) pairs take more than one generic type inside a single authority — Cork
208
- * County Council's `Special Policy Area` takes 14 and its `Green Infrastructure` 12 — so the mapping is not a function
209
- * of the pair and no edge table can carry it without inventing one. The mapping lives on `zoning_area`, per row, where
210
- * the Department put it. {@linkcode assertCrosswalkIsNotATable} refuses a build that would write edges while such a
211
- * pair exists.
193
+ * Empty for Ireland: the mapping is not a function of the (authority, local code) pair, so it lives on
194
+ * `zoning_area` per row and {@linkcode assertCrosswalkIsNotATable} refuses a build that writes edges.
212
195
  */
213
196
  export interface ZoningCrosswalkEdgeTable {
214
197
  from_scheme: string;
@@ -216,64 +199,34 @@ export interface ZoningCrosswalkEdgeTable {
216
199
  to_scheme: string;
217
200
  to_code: string;
218
201
  /**
219
- * The body that authored THIS edge. Never us.
202
+ * The body that authored this edge.
203
+ *
204
+ * Never us.
220
205
  */
221
206
  authored_by: string;
222
207
  }
223
208
  /**
224
209
  * Per (cell, polygon): does the polygon cover the whole cell, or only part of it?
225
210
  *
226
- * KEYED ON THE POLYGON RATHER THAN ON A CODE, because a zoning answer IS the polygon — its local code, its plan and its
227
- * authority are per feature, and two authorities' plans can name the same code for different things.
211
+ * Keyed on the polygon rather than a code, because a zoning answer is the polygon
212
+ * and two authorities' plans can name the same code for different things.
213
+ *
214
+ * `containment` is one of {@link ZoningCellContainment}.
228
215
  */
229
- export interface ZoningCellTable {
230
- /**
231
- * 48-bit short H3 cell. Mixed-resolution: `whole` rows are compacted parent-ward, `partial` rows stay at the
232
- * resolution the feature was indexed at.
233
- */
234
- h3_cell: number;
235
- /**
236
- * The resolution this row's cell was captured at. A short cell does not name its own resolution, and a table that
237
- * mixes them cannot be probed without it.
238
- */
239
- resolution: number;
240
- area_id: string;
241
- /**
242
- * One of {@link ZoningCellContainment}.
243
- */
244
- containment: string;
245
- }
216
+ export type ZoningCellTable = AreaCellIndexTable;
246
217
  /**
247
- * The authority's own statement of what it MAPPED — one row per statement, never derived from the zoning polygons.
218
+ * The authority's own statement of what it mapped.
248
219
  *
249
- * EMPTY IN THIS EDITION, AND ITS EMPTINESS IS THE CLAIM. The Department states "Awaiting data for some Local
250
- * Authorities
220
+ * One row per authority statement.
221
+ * The zoning polygons describe individual zones.
251
222
  *
252
- * - Please see map viewer for coverage details" and publishes that detail only inside a map application, so there is no
253
- * footprint to record and `layer_coverage` carries `basis = source_present`. Donegal County Council's absence — the
254
- * one local authority of 31 missing from the layer — was recovered by measuring `LA_CODE`, not read from a
255
- * statement.
256
- *
257
- * Deriving a footprint from the union of the zoning polygons is forbidden: the union of zoned areas is not the area the
258
- * authority examined, and the difference is the whole content of a negative answer. One authority's drafting convention
259
- * moves the national zoned-area figure by 41% on its own — Meath County Council zones its entire rural remainder as one
260
- * 2,232 km² polygon, against 32.5 km² for the next largest in the country — so the union is not even a stable shape.
223
+ * Use the authority statement for mapped extent instead of deriving the extent from the polygon union.
261
224
  */
262
- export interface ZoningMappedExtentTable {
263
- extent_id: string;
264
- source: string;
265
- statement: string;
266
- statement_url: string;
267
- effective_date: string | null;
268
- min_lat: number;
269
- min_lon: number;
270
- max_lat: number;
271
- max_lon: number;
272
- }
225
+ export type ZoningMappedExtentTable = MappedExtentTable;
273
226
  /**
274
227
  * Pass to `new DatabaseClient<ZoningDatabase>(...)`.
275
228
  */
276
- export interface ZoningDatabase extends LayerContractDatabase {
229
+ export interface ZoningDatabase extends layerschemadatabase {
277
230
  zoning_area: ZoningAreaTable;
278
231
  zoning_plan: ZoningPlanTable;
279
232
  zoning_jurisdiction: ZoningJurisdictionTable;
@@ -283,13 +236,17 @@ export interface ZoningDatabase extends LayerContractDatabase {
283
236
  zoning_mapped_extent: ZoningMappedExtentTable;
284
237
  }
285
238
  /**
286
- * The slice of a Kysely handle the DDL touches. Same reasoning as `LayerContractHandle`: Kysely is invariant in its
287
- * schema parameter, so naming only the members these functions call lets a caller pass its own wider handle.
239
+ * The subset of a Kysely handle the DDL touches.
240
+ *
241
+ * Same reasoning as `layerschemahandle`: Kysely is invariant in its schema parameter,
242
+ * so naming only the members these functions call lets a caller pass its own wider handle.
288
243
  */
289
244
  export type ZoningSchemaHandle = Pick<Kysely<ZoningDatabase>, "schema">;
290
245
  /**
291
- * Create `zoning_area`. A PLAIN rowid table on purpose — the `rings` blob is exactly the payload `WITHOUT ROWID`
292
- * penalizes.
246
+ * Create `zoning_area`.
247
+ *
248
+ * A plain rowid table on purpose.
249
+ * The `rings` blob is exactly the payload `without rowid` penalizes.
293
250
  */
294
251
  export declare function createZoningAreaTable(db: ZoningSchemaHandle): Promise<void>;
295
252
  /**
@@ -305,17 +262,18 @@ export declare function createZoningJurisdictionTable(db: ZoningSchemaHandle): P
305
262
  */
306
263
  export declare function createZoningVocabularyTable(db: ZoningSchemaHandle): Promise<void>;
307
264
  /**
308
- * Create `zoning_crosswalk_edge`. Created empty for Ireland — see the interface's docstring.
265
+ * Create `zoning_crosswalk_edge`, empty for Ireland.
309
266
  */
310
267
  export declare function createZoningCrosswalkEdgeTable(db: ZoningSchemaHandle): Promise<void>;
311
268
  /**
312
- * Create `zoning_cell` — the summary tier. Small fixed-width rows probed by their exact primary key, which is the
313
- * `WITHOUT ROWID` shape.
269
+ * Create `zoning_cell` — the summary tier.
270
+ *
271
+ * This table stores small fixed-width rows.
272
+ * Queries use exact primary keys, the pattern supported by `WITHOUT ROWID`.
314
273
  */
315
274
  export declare function createZoningCellTable(db: ZoningSchemaHandle): Promise<void>;
316
275
  /**
317
- * Create `zoning_mapped_extent`. Created empty, and the reader refuses a stronger coverage basis while it stays that
318
- * way — see the interface's docstring.
276
+ * Create `zoning_mapped_extent`, empty while the reader refuses a stronger coverage basis.
319
277
  */
320
278
  export declare function createZoningMappedExtentTable(db: ZoningSchemaHandle): Promise<void>;
321
279
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../lib/schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AAEnE,OAAO,EAAO,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAA;AAEzC;;GAEG;AACH,eAAO,MAAM,qBAAqB;IACjC;;OAEG;aACH,KAAK,EAAE,OAAO;IACd;;OAEG;aACH,OAAO,EAAE,SAAS;CACT,CAAA;AAEV,MAAM,MAAM,qBAAqB,GAAG,CAA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sB,kBAAkB,CAAC,EAAE,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAQ9E"}
package/out/schema.js CHANGED
@@ -2,54 +2,28 @@
2
2
  * @copyright Sister Software
3
3
  * @license AGPL-3.0
4
4
  * @author Teffen Ellis, et al.
5
- *
6
- * Typed schema for `zoning-ireland.db` — the two-tier polygon layer: the authority's unsimplified rings as
7
- * the truth table, an H3 cell table above them as the summary, the plan and jurisdiction a zone belongs to,
8
- * the published vocabularies, and the layer-contract tables from `@mailwoman/core/layers`.
9
- *
10
- * THE LOCAL CODE IS `NOT NULL` AND THE CROSSWALK IS NULLABLE, WHICH IS THE VOCABULARY DECISION AS A
11
- * CONSTRAINT. A source with no crosswalk produces a complete row; a source with no local code does not. The
12
- * Department's own item description is what this transcribes: its national scheme "complements (rather than
13
- * replaces) the existing statutory zoning used for each individual plan".
14
- *
15
- * `provenance_grade` IS A COLUMN WITH A `CHECK`, NOT A CONVENTION. `NOT NULL` alone accepts `''`, and a
16
- * blank matches neither half of every read that splits on grade — so the constraint refuses a blank as well
17
- * as an unknown value. This is `packages/filer`'s discipline applied unchanged, and the reason it is
18
- * compulsory here is licensing as much as epistemics: an observed land-use layer is ODbL, and merging one
19
- * of its rows into this table would relicense the table.
20
- *
21
- * `signed_area_m2` IS THE INGEST'S OWN RECEIPT AND ITS SIGN IS LOAD-BEARING. The service encodes hole roles
22
- * by ring orientation with clockwise as the exterior, so a correctly-read feature stores a POSITIVE signed
23
- * sum; the national total of those sums is what the build compares against the Department's own
24
- * `Shape__Area` statistic. Read with the holes it is 5,444.5 km²; read without them, 5,666.6 km².
25
- *
26
- * `WITHOUT ROWID` ON THE CELL TABLE AND NEVER ON THE GEOMETRY TABLE. Small fixed-width rows probed by their
27
- * exact primary key belong in the B-tree; a row carrying a geometry blob does not — clustering it into the
28
- * B-tree makes every index page a geometry page.
29
- *
30
- * THE WHOLE-CELL SET IS COMPACTED PER FEATURE, SO IT IS MIXED-RESOLUTION. A row therefore carries its own
31
- * `resolution`, and a probe walks `cellToParent` from the index resolution up to the coarsest resolution
32
- * present. `layer_coverage` is NOT compacted and stays single-resolution, because `recoverShortCellResolution`
33
- * recovers one resolution from the stored cells and throws on a table that mixes them.
34
5
  */
35
- import { addBoundingBoxColumns, addCellIndexColumns, addRingsColumn } from "@mailwoman/sqlite/schema-columns";
6
+ import { addBoundingBoxColumns, addCellIndexColumns, addRingsColumn, } from "@mailwoman/sqlite/schema-columns";
36
7
  import { sql } from "kysely";
37
8
  /**
38
9
  * Whether an H3 cell lies wholly inside a zoning polygon, or is crossed by its boundary.
39
10
  */
40
11
  export const ZoningCellContainment = {
41
12
  /**
42
- * Every point in the cell is inside the zone. Answered from the index alone, with no geometry read.
13
+ * Every point in the cell is inside the zone.
14
+ * The index answers this without reading geometry.
43
15
  */
44
16
  Whole: "whole",
45
17
  /**
46
- * The zone boundary crosses the cell. The index has narrowed the candidate polygons; the point test decides.
18
+ * The zone boundary crosses the cell, so the point test decides after the index narrows the candidates.
47
19
  */
48
20
  Partial: "partial",
49
21
  };
50
22
  /**
51
- * Create `zoning_area`. A PLAIN rowid table on purpose — the `rings` blob is exactly the payload `WITHOUT ROWID`
52
- * penalizes.
23
+ * Create `zoning_area`.
24
+ *
25
+ * A plain rowid table on purpose.
26
+ * The `rings` blob is exactly the payload `without rowid` penalizes.
53
27
  */
54
28
  export async function createZoningAreaTable(db) {
55
29
  const table = db.schema
@@ -69,12 +43,9 @@ export async function createZoningAreaTable(db) {
69
43
  .addColumn("ring_count", "integer", (c) => c.notNull())
70
44
  .addColumn("signed_area_m2", "real", (c) => c.notNull());
71
45
  await addRingsColumn(bounded)
72
- // ONE GRADE PER CLAIM, AND A BLANK IS NOT ONE. `NOT NULL` alone accepts `''`, which matches neither half of every
73
- // read that splits on grade — so the value set and the blank are refused separately, and the second half is the one
74
- // a schema without it loses.
46
+ // `not NULL` by itself accepts `''`, so the value set and the blank are refused separately.
75
47
  .addCheckConstraint("zoning_area_provenance_grade_declared", sql `provenance_grade in ('authoritative', 'inferred') and trim(provenance_grade) != ''`)
76
- // The local code is what this layer exists to repeat, so an empty one is refused at the storage layer rather than
77
- // only at the ingest: a blank would read as a zone the authority named nothing.
48
+ // A blank local code would read as a zone the authority left unnamed, so storage refuses it.
78
49
  .addCheckConstraint("zoning_area_local_code_not_blank", sql `trim(local_code) != ''`)
79
50
  .execute();
80
51
  }
@@ -122,7 +93,7 @@ export async function createZoningVocabularyTable(db) {
122
93
  .execute();
123
94
  }
124
95
  /**
125
- * Create `zoning_crosswalk_edge`. Created empty for Ireland — see the interface's docstring.
96
+ * Create `zoning_crosswalk_edge`, empty for Ireland.
126
97
  */
127
98
  export async function createZoningCrosswalkEdgeTable(db) {
128
99
  await db.schema
@@ -136,20 +107,21 @@ export async function createZoningCrosswalkEdgeTable(db) {
136
107
  .execute();
137
108
  }
138
109
  /**
139
- * Create `zoning_cell` — the summary tier. Small fixed-width rows probed by their exact primary key, which is the
140
- * `WITHOUT ROWID` shape.
110
+ * Create `zoning_cell` — the summary tier.
111
+ *
112
+ * This table stores small fixed-width rows.
113
+ * Queries use exact primary keys, the pattern supported by `WITHOUT ROWID`.
141
114
  */
142
115
  export async function createZoningCellTable(db) {
143
116
  const table = db.schema.createTable("zoning_cell");
144
117
  await addCellIndexColumns(table, "area_id")
145
118
  .addPrimaryKeyConstraint("zoning_cell_pk", ["h3_cell", "area_id"])
146
- // `WITHOUT ROWID` has no first-class builder; the raw modifier is the idiomatic fallback.
119
+ // `without rowid` has no first-class builder, so the raw modifier is the fallback.
147
120
  .modifyEnd(sql `without rowid`)
148
121
  .execute();
149
122
  }
150
123
  /**
151
- * Create `zoning_mapped_extent`. Created empty, and the reader refuses a stronger coverage basis while it stays that
152
- * way — see the interface's docstring.
124
+ * Create `zoning_mapped_extent`, empty while the reader refuses a stronger coverage basis.
153
125
  */
154
126
  export async function createZoningMappedExtentTable(db) {
155
127
  const table = db.schema
package/out/schema.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,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