Imports and automated edits should only be carried out by those with experience and understanding of the way the OpenStreetMap community creates maps, and only with careful planning
with the local community.
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 () 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