Generates OSM files for post offices, parcel lockers and post boxes of Posten Norge.
python3 post2osm.py
- This script will produce OSM files for post offices, parcel lockers and post boxes from Posten api.
- No arguments.
- Creates files 'postkontor.osm' and 'postkasser.osm'.
python3 postbox2osm.py [--api]
- This script will relocate post boxes which are inside buildings to outside the closest wall if the post box is close to the wall.
- The
--api
argument will load post boxes from the Posten api, otherwise it will load from 'postkasser.osm'. - Creates the file 'postkasser_vegg.osm'. A 'DISTANCE' tag is added with the original distance in meters from the post box to the closest wall.