Sosi2osm
See Import/Guidelines and Automated Edits code of conduct for more information. Imports/automated edits which do not follow these guidelines might be reverted!
Sosi2osm is a small utility which converts SOSI files released by the Norwegian Mapping Authority (Kartverket) into OSM-files.
In order to do a basic conversion one may run:
sosi2osm input.sosi default.lua > output.osm
This will keep the original SOSI tags.
In order to convert an address node file, one may use:
sosi2osm input.sosi adresser.lua > output.osm
Other lua-files ([1]) may be made for the conversion desired.
The source is found here: https://github.com/Gnonthgol/sosi2osm The FYBA-library, which is a dependency, must be installed first: https://github.com/kartverket/fyba
Ubuntu / debian
There are packages for FYBA and sosi2osm in Debian (8+) and Ubuntu (15.04+). To install run:
sudo apt-get install sosi2osm
To download the .deb-packages manually for FYBA and sosi2osm, you may go to: https://packages.debian.org/sid/libfyba0 and https://packages.debian.org/sid/sosi2osm