Hi Stefan, Are you able to open SOSI files in QGIS? In 64 bit QGIS master (as you mentioned I don’t get the option for SOSI files in 32 bit), I get a dialog asking me if I want to load the points, lines or polygons from the SOSI file, but then I just get an error message telling me that it is not a valid data source.
James Fra: Blumentrath, Stefan [mailto:stefan.blumentr...@nina.no] Sendt: 16. mai 2014 22:52 Til: Larry Shaffer Kopi: Jeff McKenna; qgis-developer@lists.osgeo.org; Stott, James Emne: RE: [Qgis-developer] GDAL 1.11 new formats Hi Larry, I tried now with QGIS 2.3 nightly build (2.3.0-81) in OSGeo4W. When I try to open a SOSI file in QGIS I still get the “Invalid Source” error message. The gdal-sosi-plugin package in OSGeo4W is built against GDAL 1.10. Can that be a problem? Will I have to rebuild the plugin against GDAL 1.11 in order to make it accessible for QGIS (ogrinfo --format lists SOSI). Or is the solution to install OSGeo4W from scratch? Any other ideas? Cheers Stefan From: la...@shafferinteractive.com<mailto:la...@shafferinteractive.com> [mailto:la...@shafferinteractive.com] On Behalf Of Larry Shaffer Sent: 14. mai 2014 02:56 To: Stott, James Cc: Blumentrath, Stefan; Jeff McKenna; qgis-developer@lists.osgeo.org<mailto:qgis-developer@lists.osgeo.org> Subject: Re: [Qgis-developer] GDAL 1.11 new formats Hi, On Thu, May 8, 2014 at 12:03 AM, Stott, James <fmro...@fylkesmannen.no<mailto:fmro...@fylkesmannen.no>> wrote: I second Stefan's comments. Having direct SOSI support will really strengthen the position of QGIS here in Norway. We do a lot of work with SOSI, and it would be great to open (and eventually edit) SOSI files directly rather than having to convert them first. I added an extension filter for SOSI to QGIS master [0]. Also, for Mac, I added Homebrew formulae for the OpenFYBA lib (fyba) [1] and a GDAL/OGR shared plugin (gdal-sosi) [2]. The SOSI support was recently added to the base GDAL formula (gdal) [3], so recompiling it after installation of fyba will also work, e.g.: $ brew tap osgeo/osgeo4mac $ brew update Then... $ brew upgrade gdal <-- this will install 1.11.0 'bottle,' if not already done $ brew install fyba $ brew install gdal-sosi <-- installs ogr_SOSI.dylib plugin in HOMEBREW_PREFIX/lib/gdalplugins/ Or... $ brew install fyba $ brew reinstall gdal --build-from-source --enable-unsupported QGIS built against GDAL/OGR 1.11 with the sample .sos file loaded [4]. Please submit any issues with fyba or gdal-sosi formulae to OSGeo4Mac tracker [5]. [0] https://github.com/qgis/QGIS/commit/9804d17 [1] https://github.com/OSGeo/homebrew-osgeo4mac/commit/c93a2cf [2] https://github.com/OSGeo/homebrew-osgeo4mac/commit/0db85d8 [3] https://github.com/Homebrew/homebrew/blob/master/Library/Formula/gdal.rb#L187 [4] http://trac.osgeo.org/gdal/wiki/SOSI#TestingtheSOSIdriver , http://drive.dakotacarto.com/qgis/sosi.png [5] https://github.com/OSGeo/homebrew-osgeo4mac/issues Regards, Larry James -----Opprinnelig melding----- Fra: qgis-developer-boun...@lists.osgeo.org<mailto:qgis-developer-boun...@lists.osgeo.org> [mailto:qgis-developer-boun...@lists.osgeo.org<mailto:qgis-developer-boun...@lists.osgeo.org>] På vegne av Blumentrath, Stefan Sendt: 7. mai 2014 23:36 Til: Jeff McKenna; qgis-developer@lists.osgeo.org<mailto:qgis-developer@lists.osgeo.org> Emne: Re: [Qgis-developer] GDAL 1.11 new formats Yes, though I have to admit that I have no experience with building GDAL with SOSI support on Mac, but I know that the underling OpenFYBA lib has been successfully build on Mac, so I assume the Unix build hints should apply for Mac also for GDAL/OGR. Probably I should note, that the free map data of the Norwegian Mapping Authority (http://data.kartverket.no/download/) also come in SOSI format (vector)... Cheers Stefan -----Original Message----- From: qgis-developer-boun...@lists.osgeo.org<mailto:qgis-developer-boun...@lists.osgeo.org> [mailto:qgis-developer-boun...@lists.osgeo.org<mailto:qgis-developer-boun...@lists.osgeo.org>] On Behalf Of Jeff McKenna Sent: 7. mai 2014 22:56 To: qgis-developer@lists.osgeo.org<mailto:qgis-developer@lists.osgeo.org> Subject: Re: [Qgis-developer] GDAL 1.11 new formats On 2014-05-07, 5:31 PM, Blumentrath, Stefan wrote: > The Norwegian SOSI format (Vector) is also "new" - or more precise > improved - in terms of build process in GDAL 1.11. > > > > On windows, it is now supported as a GDAL plugin and available in > OSGeo4W. On Linux / Mac it still has to be built from source with an > external library dependency (https://github.com/kartverket/fyba). > > SOSI is a bit peculiar, but it is the format of the official map data > in Norway, used by public authorities. The driver says it is > Read/Write but writing is not fully implemented (yet). > > > > It would be splendid to be able to open SOSI files directly in QGIS > (see also http://hub.qgis.org/issues/3708) and also write it once the > public mapping authority fully implements the driver... > Hello Stefan, That is very interesting. Are all of your notes included on the GDAL Buildhints page, for Windows and Linux/Mac? http://trac.osgeo.org/gdal/wiki/SOSI -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ _______________________________________________ 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<mailto:Qgis-developer@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/qgis-developer _______________________________________________ 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