Many thanks for the reply, but I need the Python bindings as we are using ogr deeply embedded in an application and creating of new layers using the SetField command (amongst others) is critical. Hence my worry when we get the error<br>
<br>NotImplementedError: Wrong number of arguments for overloaded function &#39;Feature_SetField&#39;.<br><br>I am sure it is something simple that changed in more recent versions - such as an extra required argument perhaps - and I&#39;d be grateful if someone who knows the codebase could tell me what this error means and what I must do to make the call succeed.<br>
<br>Many thanks<br>Ole Nielsen<br><br><br><div class="gmail_quote">On Fri, Sep 2, 2011 at 8:15 AM, Eli Adam <span dir="ltr">&lt;<a href="mailto:EAdam@co.lincoln.or.us">EAdam@co.lincoln.or.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Ole,<br>
<br>
&gt; Is there a way of telling which one I am using (both when running<br>
&gt; commandline org2org and when importing the ogr module in python)?<br>
<br>
ogr2ogr --version will work on the command line for at least the major version number.  I&#39;m not sure about in python.<br>
<br>
HTH, Eli<br>
<br>
&gt;<br>
&gt; Cheers and thanks<br>
&gt; Ole<br>
<br>
<br>
</blockquote></div><br>