Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time
These scripts can be used to generate lists of missing or unknown road names
in Sweden. Currently, only the Greater Stockholm area and some areas in
Norrland are handled.

You can see it in action here:

If you want to run it on your own server, you need to:

1. Download the PNR-96 database. Put the files in a directory called "pnr96"
   in the addrstats directory. The database can be downloaded here:

2. If you need additional municipalities, add mappings from postal town to
   municipality name in postort2kommun.csv. Then adjust the script to process these municipalities.

3. Run pnr_index to build a complete mapping from postal town to municipality.


4. Build the statistics. This will download data from OSM with the Overpass API


5. Optionally, set up a cron job to run the above e.g. weekly or monthly.

All data is ODbL licensed, except for the PNR-96 database which is
out-of-copyright, and the postort2kommun.csv file which is CC0 licensed.
The source code is MIT licensed (see the headers of each file for details).

A word of caution if you plan to use the postort2kommun.csv file: This file
is not only missing a lot of data currently, there are also places where the
municipality and postal town borders differ. You may want to have a look at instead, depending on what you want to do. Also,
that site has current postal towns, unlike the postort2kommun.csv file, which
has postal town names from 1996.


Compares road name coverage in OpenStreetMap with Postnummerkatalogen 1996







No releases published


No packages published