From:
metoffice...@googlegroups.com <metoffice...@googlegroups.com> on behalf of Alan <alan....@gmail.com>
Date: Tuesday, 27 February 2024 at 11:09
To: Met Office DataPoint <metoffice...@googlegroups.com>
Subject: Re: Severe weather warning regions
--
You received this message because you are subscribed to a topic in the Google Groups "Met Office DataPoint" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/metoffice-datapoint/mc3sSR22xts/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
metoffice-datap...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/metoffice-datapoint/48e0b0e2-8d41-4e17-b9cd-9b57c345ef17n%40googlegroups.com.
Connor Gurney
Chief Executive Officer
Gurste Ltd (trading as Gurste) is registered as a limited company in England and Wales under company number 15458446 at Wellington House, Pollard Street East, Manchester, M40 7FS.
Thanks Connor,
Much appreciated.
Robbie
From:
'Connor Gurney' via Met Office DataPoint <metoffice...@googlegroups.com>
Date: Thursday, 29 February 2024 at 15:32
To: Met Office DataPoint <metoffice...@googlegroups.com>
Subject: Re: Severe weather warning regions
Robbie,
Given that you seem to be aiming to identify NSWWS warnings in force for a particular postcode, you need two things here: the polygons for the warning areas, and the precise locations of the postcodes. You can then use something like the ray casting algorithm to ascertain whether the coordinates of the postcode fall within the polygon of the warning area for each warning.
The polygons for the warning areas are, as Alan explained, always provided within the response from the NSWWS Public API, which I assume is how you're fetching the warnings. They're accessible in the "geometry" element of each individual warning and adhere to the MultiPolygon type within the GeoJSON specification (which is covered at length in RFC 7946 if you're not bored enough already!).
As for postcodes, this is data that you're likely to have to pay for — especially with 2.4 million lookups! The authoritative dataset for this is Ordnance Survey's Code-Point product which maps every single UK postcode to its coordinates. If my memory serves, one license costs £525, but it might have gone up like everything else. 😅
This has become something of an area of expertise (albeit not through choice!) so feel free to reply if you've any more questions and I'll do my best to help.
Best,
Connor Gurney
Chief Executive Officer
Gurste Ltd (trading as Gurste) is registered as a limited company in England and Wales under company number 15458446 at Wellington House, Pollard Street East, Manchester, M40 7FS.
On Tuesday 27 February 2024 at 12:07:09 UTC robbie.m...@marbledropper.com wrote:
Thanks Alan, I’ll have a look there too.
To view this discussion on the web, visit https://groups.google.com/d/msgid/metoffice-datapoint/7b0fca5d-b3a0-4b6a-8951-c516fc81fbb7n%40googlegroups.com.
On 11 Apr 2024, at 13:39, robbie MacIntosh <robbie.m...@marbledropper.com> wrote:
You don't often get email from robbie.m...@marbledropper.com. Learn why this is important
--
You received this message because you are subscribed to a topic in the Google Groups "Met Office DataPoint" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/metoffice-datapoint/mc3sSR22xts/unsubscribe.
To unsubscribe from this group and all its topics, send an email to metoffice-datap...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/metoffice-datapoint/36a31219-c43f-4239-a768-fb84bf32a165n%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/metoffice-datapoint/32d5adfe-d2bc-4610-ab64-ae7409d741f9n%40googlegroups.com.