Extract and convert place names from Kartverket SSR to OpenStreetMap.
python3 ssr2osm.py <municipality> [<name type>] [-all] [-wfs]
Parameters:
- Municipality: Name of municipality or county to extract. "Norway" will convert all municipalities.
- Name type: Name type to extract, for example "turisthytte", "serveringssted", "kirke", "nesISjø" etc. Combine with "Norway" to extract all occurrences of the name type for the whole country, or combine with municipality or county name. Case sensitive paramter. Plese see navnetyper_tagged.json for list of available name types.
-all
: Also include place names without the main name=* tag, for example with only loc_name=* or old_name=*, or with no OSM feature tagging.-wfs
: Query WFS service instead of loading predefined files. Quicker for modest name type queries, but considerably slower for municipalities.-nobuilding
: Skip relocation of nodes to outside buildings.
Examples:
- Vestre Toten municipality:
python3 ssr2osm.py "Vestre Toten"
- Kautokeino municipality, including places without full tagging:
python3 ssr2osm.py Kautokeino -all
- Trøndelag county:
python3 ssr2osm.py Trøndelag
- All municipalities in Norway (in separate files):
python3 ssr2osm.py Norge
- Historic settlements in Innlandet:
python3 ssr2osm.py Innlandet historiskBosetting
- Churches in Norway, from WFS:
python3 ssr2osm.py Norge kirke -wfs
- 1.2: Support new N100 and N50 specifications; Only one name in name=*.
- 1.0: New major version
- Load N50 and N100 to get place name ranks for adjusting place=village, quarter, hamlet.
- Load building footprints to relocate place name node outside of building (for farm, isolated_dwelling etc).
- If more than one place name in name=* then put the others in alt_name=* + fixme.
- Mark only non-priority place names as duplicate (improved sorting).
- 0.6: Check for duplicate place names (identical name=*).
- 0.5: Add WFS query option.
- 0.4: Do not use name:no=* unless a different language is present (no special process for sami municipalities).
- 0.3: Fix for historic names.
- 0.2: First version.