good idea, thanks. However, it appears that qgis 1.7 is the one that depends on gdal 1.6. I am confused.<br><br>(riab_env)nielso@shakti:~/dev$ sudo dpkg --purge libgdal1-1.6.0 <br>dpkg: dependency problems prevent removal of libgdal1-1.6.0:<br>
 libqgis1.7.0 depends on libgdal1-1.6.0.<br> qgis-providers depends on libgdal1-1.6.0.<br> qgis depends on libgdal1-1.6.0.<br> python-qgis depends on libgdal1-1.6.0.<br><br><br>In any case, we should be able to work with either, so I am hoping someone will shed some light on what the error message really means.<br>
<br>Many thanks<br>Ole <br><br><br><br><div class="gmail_quote">On Fri, Sep 2, 2011 at 8:28 AM, Ariel Nunez <span dir="ltr">&lt;<a href="mailto:ingenieroariel@gmail.com">ingenieroariel@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Ole, why don&#39;t you uninstall  libgdal1-1.6.0 and the grass one and run<br>
ldconfig to make sure everything is using 1.8?<br>
<font color="#888888"><br>
Ariel.<br>
</font><div><div></div><div class="h5"><br>
On Thu, Sep 1, 2011 at 9:23 PM, Ole Nielsen<br>
&lt;<a href="mailto:ole.moller.nielsen@gmail.com">ole.moller.nielsen@gmail.com</a>&gt; wrote:<br>
&gt; Many thanks for the reply, but I need the Python bindings as we are using<br>
&gt; ogr deeply embedded in an application and creating of new layers using the<br>
&gt; SetField command (amongst others) is critical. Hence my worry when we get<br>
&gt; the error<br>
&gt;<br>
&gt; NotImplementedError: Wrong number of arguments for overloaded function<br>
&gt; &#39;Feature_SetField&#39;.<br>
&gt;<br>
&gt; I am sure it is something simple that changed in more recent versions - such<br>
&gt; as an extra required argument perhaps - and I&#39;d be grateful if someone who<br>
&gt; knows the codebase could tell me what this error means and what I must do to<br>
&gt; make the call succeed.<br>
&gt;<br>
&gt; Many thanks<br>
&gt; Ole Nielsen<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Sep 2, 2011 at 8:15 AM, Eli Adam &lt;<a href="mailto:EAdam@co.lincoln.or.us">EAdam@co.lincoln.or.us</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Ole,<br>
&gt;&gt;<br>
&gt;&gt; &gt; Is there a way of telling which one I am using (both when running<br>
&gt;&gt; &gt; commandline org2org and when importing the ogr module in python)?<br>
&gt;&gt;<br>
&gt;&gt; ogr2ogr --version will work on the command line for at least the major<br>
&gt;&gt; version number.  I&#39;m not sure about in python.<br>
&gt;&gt;<br>
&gt;&gt; HTH, Eli<br>
&gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Cheers and thanks<br>
&gt;&gt; &gt; Ole<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>