<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 12 (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;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.hps
{mso-style-name:hps;}
.MsoChpDefault
{mso-style-type:export-only;}
@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="FR-BE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi list,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span class="hps"><span lang="EN">I'm a</span></span><span lang="EN">
<span class="hps">little disappointed because</span> <span class="hps">I have</span>
<span class="hps">hoped to find</span> <span class="hps">in version 2</span> <span class="hps">
a reinforcement (</span>unification) of the <span class="hps">semantics of</span>
<span class="hps">operations against the</span> <span class="hps">reported</span> capabilities (cf OGRLayer.TestCapability)<br>
<br>
<span class="hps">For exemple, if I take the function OGRLayer.SetFeature</span> <span class="hps">
(</span>OGRFeature <span class="hps">*</span> <span class="hps">poFeature</span>) which is documented as “<span class="hps">Rewrite</span>
<span class="hps">an existing</span> <span class="hps">feature</span>”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN">I found drivers implementing it with “update/where” which do nothing if feature does not exist (conforming implementation),<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN">and other drivers implementing it with “delete/insert” which always insert the feature (not conforming implementation)<o:p></o:p></span></p>
<p class="MsoNormal"><span class="hps"><span lang="EN"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span class="hps"><span lang="EN">I think</span></span><span lang="EN">
<span class="hps">that adopting</span> <span class="hps">the same</span> semantic will allow to automate generic autotests on the basis of reported capabilities (and simplify autotest).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN">This will also simplify applications that want to use GDAL/OGR in a generic way<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span class="hps"><span lang="EN">In addition,</span></span><span lang="EN">
<span class="hps">these generic</span> auto<span class="hps">tests could</span> <span class="hps">
allow developers to</span> <span class="hps">validate the compatibility</span> <span class="hps">
of their new</span> <span class="hps">driver</span> against <span class="hps">the semantics of</span>
<span class="hps">GDAL/OGR</span> <span class="hps">and</span> can <span class="hps">
give</span> <span class="hps">a kind of</span> <span class="hps">“compatibility label”</span>.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN">May be this suggestion becomes a new RFC (if someone else agree with me)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN">Nicolas<span class="hps"><o:p></o:p></span></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 style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> gdal-dev-bounces@lists.osgeo.org [mailto:gdal-dev-bounces@lists.osgeo.org]
<b>De la part de</b> Frank Warmerdam<br>
<b>Envoyé :</b> vendredi 16 mai 2014 04:03<br>
<b>À :</b> Even Rouault<br>
<b>Cc :</b> gdal dev<br>
<b>Objet :</b> Re: [gdal-dev] Call for discussion on RFC 46: GDAL/OGR unification<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Even,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I have (finally) looked over the RFC and I'm super pleased. I couldn't find anything I wanted to argue against, and it all looks excellent to me though I could imagine some some bumps in real world use.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Feel free to call for a motion when you are ready.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Frank<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, May 15, 2014 at 11:47 AM, Even Rouault <<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">Le jeudi 08 mai 2014 00:13:22, Even Rouault a écrit :<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">> Hi,<br>
><br>
> This is a call for discussion on "RFC 46: GDAL/OGR unification"<br>
><br>
> <a href="http://trac.osgeo.org/gdal/wiki/rfc46_gdal_ogr_unification" target="_blank">
http://trac.osgeo.org/gdal/wiki/rfc46_gdal_ogr_unification</a><br>
><o:p></o:p></p>
</div>
<p class="MsoNormal">No reaction : no interest or no time to review yet ?<br>
Or should I move that forward ?<br>
But I'd prefer if such architectural changes could be a bit reviewed...<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
> Best regards,<br>
><br>
> Even<br>
<br>
--<br>
Geospatial professional services<br>
<a href="http://even.rouault.free.fr/services.html" target="_blank">http://even.rouault.free.fr/services.html</a><br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">
warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">
http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush | Geospatial Software Developer<o:p></o:p></p>
</div>
</div>
</body>
</html>