A few months ago, we expanded our weather alerting to include most of Europe, both within our AerisWeather API and AerisWeather Maps.
Today we are announcing improved coverage and resolution for alerts over the United Kingdom! We achieve these improvements by integrated the alerts directly from the UK Met Office.
Accessing the improved UK weather alerts is the same as before, simply query the alerts endpoint for locations within the United Kingdom.
Return active alerts for London:
1 |
/alerts/London,GB |
Or for Glasgow, Scotland:
1 |
/alerts/Glasgow,GB |
Note that the two-letter ISO country code for the UK is GB. Though if, by chance UK is passed to the API, it will also be accepted.
You can query using latitude, longitude, which is perfect for mobile users—for example, requesting London’s alerts via a latitude/longitude.
1 |
/alerts/51.5074,0.1278 |
Within the US, the NWS issues alerts by weather zones or county/parish FIPs codes. Environment Canada issues Canadian alerts via Canadian Location Codes (CLCs). Within Europe, MeteoAlarm issues weather alerts via alert zones.
The UK Met Office issues weather warnings via polygons, meaning the details.loc attribute within the alert api response will not be a standard weather/alert zone but dynamically generated for the alert. Additionally, the places endpoint for UK locations will return a null value for profile.wxzone attribute.
If you have integrated our alerts layer into your applications, no changes are required to utilize the improved UK alerts. If you would like to start integrating weather alert maps, utilize the alerts layer.
1 |
http://maps.aerisapi.com/[CLIENTID]_[ACCESSKEY]/flat-dk,water-depth,alerts,cities-dk/750x500/glasgow,gb,7/current.png |
UK Weather Alerts for Glasgow
Alternatively, you can use our AMP Wizard:
Check out the map builder for quickly creating maps, review our growing list of available layers, or learn more about AerisWeather Maps with our Getting Started section.
Start mapping the weather today with a free developer trial or by contacting our accounts team!
No comments yet.
Be the first to respond to this article.