Bug report #3708

Load SOSI files in QGIS 1.7 with GDAL 1.8

Added by hborch - over 9 years ago. Updated over 6 years ago.

Status:Closed
Priority:Low
Assignee:Giuseppe Sucameli
Category:Vectors
Affected QGIS version:2.0.1 Regression?:No
Operating System:OS X Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:13767

Description

I have installed the QGIS 1.7 (installed 20.03.2011) with GDAL 1.8 which is announced to support SOSI import. After activating GDALtools 1.2.25 I exspected SOSI files to be in the list of vector formats that could be imported, but it does not appear in the list. If I try to import by choosin all files *.* and point on the Telemark.sos file I get the error message "Telemark.sos is not a valid or recognized data source"

History

#1 Updated by Even Rouault over 9 years ago

SOSI support does not work out-of-the-box. As underlined in http://gdal.org/ogr/ogr_formats.html , you need to compile GDAL 1.8 against the "FYBA" third-party library (which is closed-source currently). See http://trac.osgeo.org/gdal/ticket/3638 for the details.

#2 Updated by Giuseppe Sucameli about 9 years ago

  • Pull Request or Patch supplied set to No
  • Resolution set to invalid
  • Status changed from Open to Closed
  • Category changed from GDAL Tools to Vectors

#3 Updated by Stefan Blumentrath about 7 years ago

  • Crashes QGIS or corrupts data set to No
  • Affected QGIS version set to 2.0.1

Some updates on that issue...

GDAL still has to be build explicitly with SOSI support, which does not happen out-of-the-box. But recently the build process for GDAL (1.92 and later) with SOSI support advanced:

Source code for OpenFYBA can be downloaded from:
http://github.com/kartverket/fyba

The OpenFYBA third party library was build successfully both on Linux and Windows (Win 7 with MS Visual C++ 2012). Once OpenFYBA is build GDAL can be compiled against it for SOSI support.

See also:
http://trac.osgeo.org/gdal/wiki/SOSI

#4 Updated by Stefan Blumentrath over 6 years ago

On Windows, SOSI support in GDAL can now also be build as a plugin. A ready to use binary of the plugin is available in OSGeo4W.

#5 Updated by Stefan Blumentrath over 6 years ago

On Windows, SOSI support in GDAL can now also be build as a plugin. A ready to use binary of the plugin is available in OSGeo4W.

Also available in: Atom PDF