Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.95 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.95 KB

reserve2osm

Extracts protected areas from Naturbase and generates OSM file.

Usage

python reserve2osm.py [ naturvern | friluft | <geoJSON filename> ]

Options:

  • friluft: Get nature reserves, national parks and other protected nature areas.
  • friluft: Get public leisure areas ("statlig sikra friluftsområder").
  • <geoJSON filename>: Create OSM relations for geoJSON input file.

Notes

  • Nature reserves, national parks and other protected areas are maintained in Naturbase by the Norwegian Environment Agency.
  • Other data may be downloaded here. Select the whole country or a county, GeoJSON file format and any projection.
  • The program will produce an OSM file with nested relations ready for uploading to or updating OSM.
    • The protect_class tag is set according to the given IUCN class, or if missing dervied from given protection type.
    • The name tag is set according to the given official name, or if missing derived from the given protection type, including with refinements for bird reserves and with simplifcations for very long names.
    • Boundary lines are simplified with a 0.2 factor.
  • Please review in JOSM:
    • Use the Validation function in JOSM to check for potential errors.
    • Boundary lines with more than 2000 nodes will require splitting, for example at start/end of coastlines.
    • Self-intersecting polygons may require modification of "inner"/"outer" roles.
    • Please look for "/" in names and add Sami/Norwegian language name tags.
    • When replacing existing tags please make sure that the Wikidata tag is preserved.

References