<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
From personal experience (and others') you get some odd error
messages when you start mixing different versions of libgdal. I
would expect the error to go away if you stick to one version of
libgdal. Ubuntu-GIS should have all the packages you need without
having to mix GDAL versions.<br>
<br>
-marius<br>
<br>
On 09/01/2011 09:08 PM, Ole Nielsen wrote:
<blockquote
cite="mid:CALcLSfpmu_EgN3GFSCaaMo+MSYVyRgHZJRmOYJC78Ub4A0tkng@mail.gmail.com"
type="cite">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 moz-do-not-send="true"
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 class="h5"><br>
On Thu, Sep 1, 2011 at 9:23 PM, Ole Nielsen<br>
<<a moz-do-not-send="true"
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
moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
<br>
</body>
</html>