[Qgis-developer] SOSI support in QGIS

Blumentrath, Stefan Stefan.Blumentrath at nina.no
Fri Jun 27 00:42:00 PDT 2014


Hi James,

-----Original Message-----
From: Stott, James 

>I still do not get the option for SOSI files in 32 bit QGIS in the files of type drop down menu in the open file dialog window. The SOSI option is avaiable in 64 bit.
That is because the gdal-sosi plugin in 32bit OSGeo4W was built against GDAL 1.10 (and not the 1.11 version QGIS 2.3 / 2.4 is (will be) using. I shall update the package based on GDAL 1.11 asap.


>The 64 bit version still gives the invalid data source error after trying to open the SOSI file.
>The SOSI file I have tested with is the naturvernområde dataset from Miljødirektoratet (I have downloaded only data for Rogaland fylke - data available from >here http://karteksport.miljodirektoratet.no/#page=tab1). 
>ogrinfo reports correctly on both 32 and 64 bit versions and ogr2ogr will convert sosi files to shapefiles in my test. 

I can confirm the behavior you describe on Windows (both 32 and 64bit). Given that GDAL (using the gdal-sosi plugin from OSGeo4W) handles SOSI files without problems, the issue must be somewhere in the QGIS-GDAL interface. No idea what the reason might be...

Meanwhile I also tested on Ubuntu 12.04 LTS (where I compiled GDAL 1.11 with SOSI support and then the latest QGIS master). On Ubuntu I can open SOSI files in QGIS without any problems... So this is a Windows specific issue, which makes me think that dropping the option to open SOSI from QGIS completely would be a bit too radical...

Cheers
Stefan


More information about the Qgis-developer mailing list