Am 18.07.2010, 06:31 Uhr, schrieb Greg Corradini <gregcorrad...@gmail.com>:
I'm using Rtree to import some Open Street Map data into GraphServer. I'm
running Ubuntu 9.10, Rtree 0.6.0 and libspatialindex1.5.0. However, I'm
getting an annoying amount of AttributeErrors on properties in the
library
'libspatialindex_c.so' (see the full traceback below). The RTree
documentation does say that this version is compatible with
libspatialindex1.5.0. I've read about problems with compatibility between
the libs in the past. Has anyone else experienced this? I'm new to Rtree
and
I'm wondering if I'm doing something wrong.
[...]
rt.Index_ClearBuffer.argtypes = [ctypes.c_void_p]
Index_ClearBuffer does not exist in rtree 0.6.0 as far as I am aware. The
0.6.0 package was released in April whereas Index_ClearBuffer was added in
June. To resolve this problem either grab the real 0.6.0 version of rtree
or compile the most recent libspatialindex svn to a libspatialindex_c.so
which then has the necessary symbols defined.
-Matthias
_______________________________________________
Community mailing list
Community@lists.gispython.org
http://lists.gispython.org/mailman/listinfo/community