Crisis information web map

Over at https://www.krisinformation.se/, Swedish agencies publish crisis information and guidelines. There is even an API for fetching the crisis events data. The API does not contain exact coordinates for the event, but it lists the county and a short description. Perhaps a simple web map could be useful for presenting this? With some help from Gemini, the aim is this:

  • A simple web map using Leaflet
  • Highlight the current county
  • Present the information in a table below the map
  • Since the API only covers Sweden, use Swedish for the site

The API does not provide the geometries, so these were fetched from SCB and processed, in order to make them suitable for this task, including reprojecting the data and making sure the names of the features matched those of the API.

After a few iterations, it came out better than I expected:

Crisis information

Have a look at it here.

Right now, there seems to be a water leak around Stocken and Härmanö and residents are recommended boiling the water before use. Very useful information for the local community.

I guess this is the first site I will check out every morning from now on.

Leave a Reply

Your email address will not be published. Required fields are marked *

Please reload

Please Wait