Files
finland-location-resources/readme.md
2017-12-22 12:29:40 +02:00

3.3 KiB

Finnish Municipalities and Provinces

This small repository was created because I couldn't find any place where one could get the up to date listing of municipalities and/or provinces of Finland. This repository should provide information where to find all the data online, and provide help how to use it.

Up to date Municipalities and Provinces listing (kunta_mk_teksti)

This script takes the listing from Statistics Finland and cleans it up for you.

  1. Browse to https://www.stat.fi/meta/luokitukset/kunta/001-2017/luokitusavaimet.html
  2. Search for Kunnat 2017 / Maakunta 2017 or similar and download the tekstitiedosto (txt)
    • See Terms of use
    • Protip: Changing the url part 001-2017 to 001-2016 shows the previous year, if you need that for some reason.
  3. Place the text file next to kunta_mk_teksti.php
  4. Browse to/Run kunta_mk_teksti.php and get the list in easy to read, alphabetical format

Up to date Municipalities in GeoJSON

This one requires a bit of fiddling and conversion. From GML to GeoJSON to be exact.

  1. Getting the data
    1. Open National Land Survey of Finland's File service of open data (see Terms of service)
    2. Select one of "Municipal Division" from left sidebar (you probably need to scroll the listing) by clicking the green plus-symbol
    3. Select GML as file format (etrs-tm35fin is as of writing the only coordinate system they provide, read more here)
    4. Click the center container to apply the selected layer
    5. Click "Place your order" on the right hand side panel and follow directions to get the material
  2. Converting the data to GeoJSON

The hopefully helpful tips and guides are released under CC-BY-SA-4.0, scripts and other code are released under GPL-3.0. This repository has no affiliation with any of the mentioned instances, services or linked tools.

All contributions are welcome!