2

I am trying to open a ".sos" file in QGIS. I have QGIS installed using OSGeo4W and added the gdal-sosi package. This should do the trick.

But QGIS just shuts down when I try to open the file. It does not give me any error message.

Do anyone know how I can solve this? I know I can do this in ArcGIS, but I prefer to do it in open source.

  • 1
    can you give us a sample file to test? Please describe your system and QGIS version. – luca76 May 28 '15 at 13:30
  • Of course =) System: Windows 7 Professional, 64-bit QGIS version: QGIS Desktop 2.8.2. Sample file: Where can I send it? It is not availiable online. – PernilleP Jun 1 '15 at 9:34
  • @PernilleP You can use the Sosicon tool for converting sos files. – xunilk Jun 4 '15 at 15:35
  • Opening SOSI files using gdal-sosi works excellent for me on Ubuntu, and it also works on Windows. But I seem to recall that there used to be problems with SOSI (gdal-sosi) in the OSGeo4W 64 bit version - I think one had to use the 32 bit version to make it work. – Håvard Tveite Aug 29 '17 at 10:13
  • QGIS 3.8.3 (64 bit) handles SOSI-files. Just click and drag them into QGIS. The "file will be split" into one layer per geometry (points, lines, polygon) depending on the content of the SOSI-file. – 9ls1 Oct 11 at 9:21
1

I think that the Sosicon tool could be a better option. This is a conversion tool for Norwegian map *.sos data. I copied this *.sos sample file, https://trac.osgeo.org/gdal/attachment/ticket/3638/20BygnAnlegg.SOS, as 20BygnAnlegg.sos. Afterward, I downloaded the Sosicon Windows tool from here:

http://sosicon.espenandersen.no/download/

and put the executable file and the *.sos file in the same folder. In MS-DOS console, I ran (in this folder):

sosicon -2shp 20BygnAnlegg.sos

The result was succesfully (see next image):

enter image description here

In QGIS, I loaded two of the several shapefiles produced. It worked!

enter image description here

  • I also found this option and it workes well! =) Still, it would be nice to have a tool in QGIS that read the files directly. Thanks for the good suggestion! =) – PernilleP Jun 5 '15 at 12:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.