[Qgis-developer] GDAL 1.11 new formats

Larry Shaffer larrys at dakotacarto.com
Fri May 16 19:28:12 PDT 2014


Hi Stefan,

On Fri, May 16, 2014 at 2:51 PM, Blumentrath, Stefan <
Stefan.Blumentrath at nina.no> wrote:

>  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?
>

Not sure of the state of this under OSGeo4W, or about the specific changes
to the SOSI driver in 1.11. I would guess the plugin needs to be built
against latest 1.11 stable source to remove that question from the
debugging process.

I am also unsure if the 2.3.0-81 nightly build includes the file filter
commit; though that commit may have nothing to do with QGIS 'supporting'
the format, since it is provided by OGR. Does it list "Systematic
Organization of Spatial Information [SOSI]" in the filter list in the
vector layer open dialog?

Can you share the test data file (if different than the one listed on the
GDAL/OGR wiki)?

Regards,

Larry



>  Any other ideas?
>
>
>
> Cheers
>
> Stefan
>
>
>
> *From:* larry at shafferinteractive.com [mailto:larry at shafferinteractive.com]
> *On Behalf Of *Larry Shaffer
>
> *Sent:* 14. mai 2014 02:56
> *To:* Stott, James
> *Cc:* Blumentrath, Stefan; Jeff McKenna; qgis-developer at lists.osgeo.org
>
> *Subject:* Re: [Qgis-developer] GDAL 1.11 new formats
>
>
>
> Hi,
>
>
>
> On Thu, May 8, 2014 at 12:03 AM, Stott, James <fmrojst at 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-bounces at lists.osgeo.org [mailto:
> qgis-developer-bounces at lists.osgeo.org] På vegne av Blumentrath, Stefan
> Sendt: 7. mai 2014 23:36
> Til: Jeff McKenna; qgis-developer at 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-bounces at lists.osgeo.org [mailto:
> qgis-developer-bounces at lists.osgeo.org] On Behalf Of Jeff McKenna
> Sent: 7. mai 2014 22:56
> To: qgis-developer at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140516/6e3927f5/attachment-0001.html>


More information about the Qgis-developer mailing list