Skip to content

Commit a24542f

Browse files
dr5hnclaude
andcommitted
fix(postcodes/GB): null sentinel 99.999999 coords on Crown Dependencies (GY,IM,JE)
Guernsey, Isle of Man, and Jersey are absent from the dwyl/OS source dataset, so the importer emitted lat=99.999999 as a sentinel. That's outside the valid latitude range (-90..90) and trips the geo-bounds validator. Null the coordinates so the codes stay queryable; the country-level postal_code_format / regex still apply. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9755fc1 commit a24542f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

contributions/postcodes/GB.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,8 @@
414414
"country_id": 232,
415415
"country_code": "GB",
416416
"locality_name": "Guernsey",
417-
"latitude": "99.999999",
418-
"longitude": "0.000000",
417+
"latitude": null,
418+
"longitude": null,
419419
"type": "area",
420420
"source": "ordnance-survey-via-dwyl"
421421
},
@@ -514,8 +514,8 @@
514514
"country_id": 232,
515515
"country_code": "GB",
516516
"locality_name": "Isle of Man",
517-
"latitude": "99.999999",
518-
"longitude": "0.000000",
517+
"latitude": null,
518+
"longitude": null,
519519
"type": "area",
520520
"source": "ordnance-survey-via-dwyl"
521521
},
@@ -544,8 +544,8 @@
544544
"country_id": 232,
545545
"country_code": "GB",
546546
"locality_name": "Jersey",
547-
"latitude": "99.999999",
548-
"longitude": "0.000000",
547+
"latitude": null,
548+
"longitude": null,
549549
"type": "area",
550550
"source": "ordnance-survey-via-dwyl"
551551
},

0 commit comments

Comments
 (0)