Warning areas from OpenStreetMap

The Cirrova app carries these outlines of administrative areas so that the phone itself can tell which official weather warnings cover a place. They are derived from OpenStreetMap data, © OpenStreetMap contributors, and are made available under the Open Database License 1.0 (ODbL).

Made from Geofabrik's OpenStreetMap extracts downloaded on 30 October 2026: the boundary relations tagged boundary=administrative, exported with osmium and simplified to about 500 m (0.005°). Each area keeps the codes a warning can name it by: NUTS codes and every shorter prefix of them (older NUTS codes from Wikidata, CC0), Polish TERYT county codes and MeteoAlarm's EMMA_ID codes that equal them, and DWD warn cells for German districts.

Each file is a JSON array of areas: k holds the keys as KIND:code, r the rings, outer rings and holes alike, each a flat list of longitude, latitude pairs. These are the files shipped with Cirrova 1.1.0. Versions after 1.2.0 carry the same areas in a smaller form: d in place of r, each ring in ten-thousandths of a degree, its first point whole and each next one as the step from the point before; the values are the same.

Areas the Cirrova radar service adds to warnings

Some weather services name a warning's areas without their outlines. The Cirrova radar service then gives such an area the outline of the administrative area of the same name, from these files, before the app downloads the country's warnings. Made on 5 November 2026 from the same kind of extracts (Geofabrik, boundary=administrative, osmium, simplified to about 500 m), keeping each area's outer rings only.

Each file is a JSON object: levels lists the OpenStreetMap admin levels it holds, and units the areas, each with its level l, its names n (lower case, without accents or punctuation, from every name tag, and the name followed by its region's for areas of the same name) and its outer rings r, each a flat list of longitude, latitude pairs. The last unit, level 2, is the country itself.

Questions: cirrovaapp@gmail.com