Hi Larry,

Thanks for your efforts. I understand that you are especially busy right now…

I checked GDAL_DRIVER_PATH  and it was - just as you suspected for OSGeo4W – 
set properly to “C:\OSGeo4W\bin\gdalplugins”.
Just like in James case, SOSI is listed in the combo-box in QGIS and I get the 
dialog for selecting among the three layers in the file. When I try to load one 
of them I get the “Invalid data source” error message.

GDAL in the same OSGeo4W installation reads and converts the SOSI file without 
any issues. However, I noticed that GDAL was also less picky with the versions. 
While the SOSI plugin compiled against GDAL 1.10 does not show up in QGIS 2.3 
(build against GDAL 1.11), GDAL 1.11 itself has no problems with that plugin 
either.

Maybe some subtle differences in compiler settings between Jürgens build of 
GDAL and my build of the SOSI-plugin may cause the problems here? I assume you 
use same compiler for GDAL and QGIS on Mac (like I do on Ubuntu)…
When I built the SOSI plugin I tried to follow packaging instructions closely. 
I used MS Visual Studio Express 2010 (compiler toolset v100) for the 32bit 
build (SDK 7.1 for the 64bit build), set MSVC_VER=1600 in GDALs nmake.opt, 
added SOSI support and kept default settings in the other cases.

Cheers
Stefan



From: la...@shafferinteractive.com [mailto:la...@shafferinteractive.com] On 
Behalf Of Larry Shaffer
Sent: 27. juni 2014 13:02
To: Blumentrath, Stefan
Cc: Stott, James; qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] SOSI support in QGIS

Hi,
Hmm. I had no issues opening that file up on Mac [0]. The only other thing I 
can think of is to ensure the GDAL_DRIVER_PATH is set in the environment, so 
the plugins can be found at run-time by QGIS/GDAL. I don't think that should be 
an issue for an OSGeo4W install, though. To be sure, you can try setting it in 
Options -> System -> Environment and see if that helps.
If the plugin wasn't found by GDAL, then the file filter for SOSI would not 
show up in QGIS's file browse dialog's combobox for opening a vector layer. If 
you choose *.* (all files) and try to load a .sos file, then it will throw the 
invalid source error in the message bar, because GDAL never loaded the plugin.

Sorry, won't have time to test on any other platforms for a couple of days.

[0] http://drive.dakotacarto.com/qgis/sosi-file-load.png
Regards,

Larry

On Fri, Jun 27, 2014 at 3:50 AM, Blumentrath, Stefan 
<stefan.blumentr...@nina.no<mailto:stefan.blumentr...@nina.no>> wrote:
Hi Larry,

Tanks for having a look at this.

I shall send you the file off-list…

Cheers
Stefan


From: la...@shafferinteractive.com<mailto:la...@shafferinteractive.com> 
[mailto:la...@shafferinteractive.com<mailto:la...@shafferinteractive.com>] On 
Behalf Of Larry Shaffer
Sent: 27. juni 2014 11:37
To: Blumentrath, Stefan
Cc: Stott, James; 
qgis-developer@lists.osgeo.org<mailto:qgis-developer@lists.osgeo.org>
Subject: Re: [Qgis-developer] SOSI support in QGIS

Hi James,
Can you share the dataset from Miljødirektoratet that you are testing? I can't 
get Google to translate the pages to English.

Regards,

Larry

On Fri, Jun 27, 2014 at 2:43 AM, Blumentrath, Stefan 
<stefan.blumentr...@nina.no<mailto:stefan.blumentr...@nina.no>> wrote:
>So it Works for Mac and Linux users?
Yes, seems to work there.

>Does this work with the installer download of QGIS for Windows? I havent 
>actually tried that.
I doubt it, since the installer is also built based on OSGeo4W, if I am not 
mistaken.

>Is it possible to drop it for just Windows users?
No idea. Any developer / packager who would be willing to help us tracing down 
the problem on Win? Since a fix would be the best solution...

>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.
I see your point...

Cheers
Stefan
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org<mailto:Qgis-developer@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/qgis-developer


_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to