[Qgis-developer] SOSI support in QGIS

Stott, James fmrojst at fylkesmannen.no
Fri Jun 27 01:29:07 PDT 2014


So it Works for Mac and Linux users? Does this work with the installer download of QGIS for Windows? I havent actually tried that.

Is it possible to drop it for just Windows users? I just think we will end up with a lot of users (especially as Windows will possbily be the most used platform) who will get frustrated that they cant open these files despite it looking like they should be able to. Better to wait until 2.6 in my opinion.

This is a shame as we now have a nearly complete Norwegian translation in place for 2.4, so SOSI support and a translation are two very good arguements for adopting QGIS here.

James
________________________________________
From: Blumentrath, Stefan [Stefan.Blumentrath at nina.no]
Sent: 27 June 2014 09:42
To: Stott, James; qgis-developer at lists.osgeo.org
Subject: RE: SOSI support in QGIS

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