Skip to content

Extracts most recent quarterly population numbers from SSB and updates OSM file

License

Notifications You must be signed in to change notification settings

NKAmapper/population2osm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

population2osm

1) population2osm

Extracts most recent quarterly population numbers from SSB and updates OSM file.

Usage

python population2osm.py (no parameter)

Notes

2) urban_population2osm

Extracts population numbers for urban settlements ("tettsteder") from SSB and updates OSM file.

Usage

python urban_population2osm.py [year] [CSV filename]

Notes

  • This program will:

    • Load population numbers for urban settlements from downloaded SSB web table file.
    • Load urban settlements (place objects) with the ref:ssb_tettsted tag for Norway from OSM.
    • Update the population and population:date tags of the settlements.
    • Produce a tettsted.osm file ready for further editing and uploading to OSM through JOSM.
  • The urban settlement population numbers are used for the place=city/town/village etc nodes. This has the implication that the population numbers for place=city/town will be different from the corresponding municipality relations (could be either smaller or bigger). For example the population of the Arendal place=town node will be different from the Arendal municipality relation.

  • The program accepts the SSB municipality table on this web page in CSV format (download link for table 1, at the time of writing). The table is updated by SSB once a year, usually in October.

3) Reference

About

Extracts most recent quarterly population numbers from SSB and updates OSM file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages