Denne posten er også tilgjengelig på norsk.
SOSI is a Norwegian format for the exchange of geographical data, and you’ll soon run into .sos files if you are going to work with GIS data from Norwegian public agencies. Unfortunately, this format is not universally supported by GIS software; an application like QGIS does have SOSI support through GDAL in theory, but in reality the solution may not be stable enough for practical use. Luckily there is a solution, in the shape of Espen Andersen’s tool Sosicon, which allows you to convert SOSI files to the Shape format (among other), which is as close to a universal standard as you’ll get.
1) Download Sosicon for Windows from GitHub. Save to a location where you’ll be able to find the file again later; it is probably best for now to just save it in the same folder where you’ve got the .sos file you want to convert.
2) If you don’t already have it, you’ll have to download and install a package for Visual C++ from Microsoft. I didn’t need to, because I already had it; if you’re unsure – just do it. Choose x86 if you’re using a 32-bit (old) computer; x64 if you’re using a 64-bit (new) computer.
3) Open the command line (click the Start-button, type cmd in the search field and push enter.)
4) Navigate to the folder where you’re keeping sosicon.exe and the .sos file you want to convert.
5) Convert the SOSI file with the command sosicon.exe -2shp <filename.sos>.
6) For each layer in the .sos file, you’ve now got a group of Shape files in the same folder. Open the .shp file with the application you’d like to use. If you’re going to move the files, keep in mind that all the files with similar names and different endings belong together.
More information and advanced examples at Espen Andersen’s website.