Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 3.36 KB

README.md

File metadata and controls

59 lines (36 loc) · 3.36 KB

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