<div dir="ltr">Hi,<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 8, 2014 at 12:03 AM, Stott, James <span dir="ltr"><<a href="mailto:fmrojst@fylkesmannen.no" target="_blank">fmrojst@fylkesmannen.no</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I second Stefan's comments. Having direct SOSI support will really strengthen the position of QGIS here in Norway.<br>

<br>
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.<br></blockquote><div><br></div><div>I added an extension filter for SOSI to QGIS master [0].<br>
</div><div><br></div><div>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.:<br>
<br></div><div>$ brew tap osgeo/osgeo4mac<br></div><div>$ brew update<br><br></div><div>Then...<br></div><div><br></div><div>$ brew upgrade gdal   <-- this will install 1.11.0 'bottle,' if not already done <br>
</div><div>$ brew install fyba<br></div><div>$ brew install gdal-sosi  <-- installs ogr_SOSI.dylib plugin in HOMEBREW_PREFIX/lib/gdalplugins/<br></div><div><br></div><div>Or...<br><br><div>$ brew install fyba<br></div>
</div><div>$ brew reinstall gdal --build-from-source --enable-unsupported<br><br></div><div>QGIS built against GDAL/OGR 1.11 with the sample .sos file loaded [4].<br><br></div><div>Please submit any issues with fyba or gdal-sosi formulae to OSGeo4Mac tracker [5].<br>
</div><div><br>[0] <a href="https://github.com/qgis/QGIS/commit/9804d17">https://github.com/qgis/QGIS/commit/9804d17</a><br>[1] <a href="https://github.com/OSGeo/homebrew-osgeo4mac/commit/c93a2cf">https://github.com/OSGeo/homebrew-osgeo4mac/commit/c93a2cf</a><br>
[2] <a href="https://github.com/OSGeo/homebrew-osgeo4mac/commit/0db85d8">https://github.com/OSGeo/homebrew-osgeo4mac/commit/0db85d8</a><br>[3] <a href="https://github.com/Homebrew/homebrew/blob/master/Library/Formula/gdal.rb#L187">https://github.com/Homebrew/homebrew/blob/master/Library/Formula/gdal.rb#L187</a><br>
[4] <a href="http://trac.osgeo.org/gdal/wiki/SOSI#TestingtheSOSIdriver">http://trac.osgeo.org/gdal/wiki/SOSI#TestingtheSOSIdriver</a> ,<br>     <a href="http://drive.dakotacarto.com/qgis/sosi.png">http://drive.dakotacarto.com/qgis/sosi.png</a><br>
[5] <a href="https://github.com/OSGeo/homebrew-osgeo4mac/issues">https://github.com/OSGeo/homebrew-osgeo4mac/issues</a><br><br><br></div><div>Regards,<br><br></div><div>Larry<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

James<br>
<br>
-----Opprinnelig melding-----<br>
Fra: <a href="mailto:qgis-developer-bounces@lists.osgeo.org">qgis-developer-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:qgis-developer-bounces@lists.osgeo.org">qgis-developer-bounces@lists.osgeo.org</a>] På vegne av Blumentrath, Stefan<br>

Sendt: 7. mai 2014 23:36<br>
Til: Jeff McKenna; <a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a><br>
Emne: Re: [Qgis-developer] GDAL 1.11 new formats<br>
<div class=""><div class="h5"><br>
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.<br>

<br>
Probably I should note, that the free map data of the Norwegian Mapping Authority (<a href="http://data.kartverket.no/download/" target="_blank">http://data.kartverket.no/download/</a>) also come in SOSI format (vector)...<br>

<br>
Cheers<br>
Stefan<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:qgis-developer-bounces@lists.osgeo.org">qgis-developer-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:qgis-developer-bounces@lists.osgeo.org">qgis-developer-bounces@lists.osgeo.org</a>] On Behalf Of Jeff McKenna<br>

Sent: 7. mai 2014 22:56<br>
To: <a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a><br>
Subject: Re: [Qgis-developer] GDAL 1.11 new formats<br>
<br>
On 2014-05-07, 5:31 PM, Blumentrath, Stefan wrote:<br>
> The Norwegian SOSI format (Vector) is also "new" - or more precise<br>
> improved - in terms of build process in GDAL 1.11.<br>
><br>
><br>
><br>
> On windows, it is now supported as a GDAL plugin and available in<br>
> OSGeo4W. On Linux / Mac it still has to be built from source with an<br>
> external library dependency (<a href="https://github.com/kartverket/fyba" target="_blank">https://github.com/kartverket/fyba</a>).<br>
><br>
> SOSI is a bit peculiar, but it is the format of the official map data<br>
> in Norway, used by public authorities.  The driver says it is<br>
> Read/Write but writing is not fully implemented (yet).<br>
><br>
><br>
><br>
> It would be splendid to be able to open SOSI files directly in QGIS<br>
> (see also <a href="http://hub.qgis.org/issues/3708" target="_blank">http://hub.qgis.org/issues/3708</a>) and also write it once the<br>
> public mapping authority fully implements the driver...<br>
><br>
<br>
Hello Stefan,<br>
<br>
That is very interesting.  Are all of your notes included on the GDAL Buildhints page, for Windows and Linux/Mac?<br>
<a href="http://trac.osgeo.org/gdal/wiki/SOSI" target="_blank">http://trac.osgeo.org/gdal/wiki/SOSI</a><br>
<br>
-jeff<br>
<br>
<br>
<br>
--<br>
Jeff McKenna<br>
MapServer Consulting and Training Services <a href="http://www.gatewaygeomatics.com/" target="_blank">http://www.gatewaygeomatics.com/</a><br>
<br>
<br>
<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</div></div></blockquote></div><br></div></div>