<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Bobletekst Tegn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BobletekstTegn
        {mso-style-name:"Bobletekst Tegn";
        mso-style-priority:99;
        mso-style-link:Bobletekst;
        font-family:"Tahoma","sans-serif";}
p.BalloonText, li.BalloonText, div.BalloonText
        {mso-style-name:"Balloon Text";
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:NO-BOK;}
span.EpostStil21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EpostStil22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NO-BOK" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Stefan,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">James<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Fra:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Blumentrath, Stefan [mailto:Stefan.Blumentrath@nina.no]
<br>
<b>Sendt:</b> 16. mai 2014 22:52<br>
<b>Til:</b> Larry Shaffer<br>
<b>Kopi:</b> Jeff McKenna; qgis-developer@lists.osgeo.org; Stott, James<br>
<b>Emne:</b> RE: [Qgis-developer] GDAL 1.11 new formats<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Larry,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I tried now with QGIS 2.3 nightly build (2.3.0-81) in OSGeo4W.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">When I try to open a SOSI file in QGIS I still get the “Invalid Source” error message.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Or is the solution to install OSGeo4W from scratch?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Any other ideas?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Stefan<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:larry@shafferinteractive.com">larry@shafferinteractive.com</a> [<a href="mailto:larry@shafferinteractive.com">mailto:larry@shafferinteractive.com</a>]
<b>On Behalf Of </b>Larry Shaffer<br>
<b>Sent:</b> 14. mai 2014 02:56<br>
<b>To:</b> Stott, James<br>
<b>Cc:</b> Blumentrath, Stefan; Jeff McKenna; <a href="mailto:qgis-developer@lists.osgeo.org">
qgis-developer@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [Qgis-developer] GDAL 1.11 new formats<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On Thu, May 8, 2014 at 12:03 AM, Stott, James <</span><a href="mailto:fmrojst@fylkesmannen.no" target="_blank"><span lang="EN-US">fmrojst@fylkesmannen.no</span></a><span lang="EN-US">> wrote:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">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.<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I added an extension filter for SOSI to QGIS master [0].<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">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.:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">$ brew tap osgeo/osgeo4mac<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">$ brew update<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Then...<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">$ brew upgrade gdal   <-- this will install 1.11.0 'bottle,' if not already done
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">$ brew install fyba<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">$ brew install gdal-sosi  <-- installs ogr_SOSI.dylib plugin in HOMEBREW_PREFIX/lib/gdalplugins/<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">Or...<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">$ brew install fyba<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">$ brew reinstall gdal --build-from-source --enable-unsupported<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">QGIS built against GDAL/OGR 1.11 with the sample .sos file loaded [4].<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Please submit any issues with fyba or gdal-sosi formulae to OSGeo4Mac tracker [5].<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><br>
[0] </span><a href="https://github.com/qgis/QGIS/commit/9804d17"><span lang="EN-US">https://github.com/qgis/QGIS/commit/9804d17</span></a><span lang="EN-US"><br>
[1] </span><a href="https://github.com/OSGeo/homebrew-osgeo4mac/commit/c93a2cf"><span lang="EN-US">https://github.com/OSGeo/homebrew-osgeo4mac/commit/c93a2cf</span></a><span lang="EN-US"><br>
[2] </span><a href="https://github.com/OSGeo/homebrew-osgeo4mac/commit/0db85d8"><span lang="EN-US">https://github.com/OSGeo/homebrew-osgeo4mac/commit/0db85d8</span></a><span lang="EN-US"><br>
[3] </span><a href="https://github.com/Homebrew/homebrew/blob/master/Library/Formula/gdal.rb#L187"><span lang="EN-US">https://github.com/Homebrew/homebrew/blob/master/Library/Formula/gdal.rb#L187</span></a><span lang="EN-US"><br>
[4] </span><a href="http://trac.osgeo.org/gdal/wiki/SOSI#TestingtheSOSIdriver"><span lang="EN-US">http://trac.osgeo.org/gdal/wiki/SOSI#TestingtheSOSIdriver</span></a><span lang="EN-US"> ,<br>
     </span><a href="http://drive.dakotacarto.com/qgis/sosi.png"><span lang="EN-US">http://drive.dakotacarto.com/qgis/sosi.png</span></a><span lang="EN-US"><br>
[5] </span><a href="https://github.com/OSGeo/homebrew-osgeo4mac/issues"><span lang="EN-US">https://github.com/OSGeo/homebrew-osgeo4mac/issues</span></a><span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Larry<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
 <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p class="MsoNormal">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<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<span lang="EN-US">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 (</span><a href="http://data.kartverket.no/download/" target="_blank"><span lang="EN-US">http://data.kartverket.no/download/</span></a><span lang="EN-US">) also come in SOSI format
 (vector)...<br>
<br>
Cheers<br>
Stefan<br>
<br>
-----Original Message-----<br>
From: </span><a href="mailto:qgis-developer-bounces@lists.osgeo.org"><span lang="EN-US">qgis-developer-bounces@lists.osgeo.org</span></a><span lang="EN-US"> [mailto:</span><a href="mailto:qgis-developer-bounces@lists.osgeo.org"><span lang="EN-US">qgis-developer-bounces@lists.osgeo.org</span></a><span lang="EN-US">]
 On Behalf Of Jeff McKenna<br>
Sent: 7. mai 2014 22:56<br>
To: </span><a href="mailto:qgis-developer@lists.osgeo.org"><span lang="EN-US">qgis-developer@lists.osgeo.org</span></a><span lang="EN-US"><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 (</span><a href="https://github.com/kartverket/fyba" target="_blank"><span lang="EN-US">https://github.com/kartverket/fyba</span></a><span lang="EN-US">).<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 </span><a href="http://hub.qgis.org/issues/3708" target="_blank"><span lang="EN-US">http://hub.qgis.org/issues/3708</span></a><span lang="EN-US">) 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>
</span><a href="http://trac.osgeo.org/gdal/wiki/SOSI" target="_blank"><span lang="EN-US">http://trac.osgeo.org/gdal/wiki/SOSI</span></a><span lang="EN-US"><br>
<br>
-jeff<br>
<br>
<br>
<br>
--<br>
Jeff McKenna<br>
MapServer Consulting and Training Services </span><a href="http://www.gatewaygeomatics.com/" target="_blank"><span lang="EN-US">http://www.gatewaygeomatics.com/</span></a><span lang="EN-US"><br>
<br>
<br>
<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
</span><a href="mailto:Qgis-developer@lists.osgeo.org"><span lang="EN-US">Qgis-developer@lists.osgeo.org</span></a><span lang="EN-US"><br>
</span><a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank"><span lang="EN-US">http://lists.osgeo.org/mailman/listinfo/qgis-developer</span></a><span lang="EN-US"><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
</span><a href="mailto:Qgis-developer@lists.osgeo.org"><span lang="EN-US">Qgis-developer@lists.osgeo.org</span></a><span lang="EN-US"><br>
</span><a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank"><span lang="EN-US">http://lists.osgeo.org/mailman/listinfo/qgis-developer</span></a><span lang="EN-US"><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
</span><a href="mailto:Qgis-developer@lists.osgeo.org"><span lang="EN-US">Qgis-developer@lists.osgeo.org</span></a><span lang="EN-US"><br>
</span><a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank"><span lang="EN-US">http://lists.osgeo.org/mailman/listinfo/qgis-developer</span></a><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
</div>
</body>
</html>