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