[GRASS-dev] build rtree from polygons...how?

Andreas Jochem andruit at gmx.de
Sun Feb 8 13:13:31 EST 2009


Hello,
I have a set of polygons and I am trying to insert them in a rtree to 
speed up spatial queries. Has anybody done this before?? Is there some 
example code available?

I was trying to compile the test.c file in lib/vector/rtree  directory 
but I always get some error messages.


/usr/local/src/grass-6.3.0/lib/vector/rtree/test.c:49: undefined 
reference to `RTreeNewIndex'
/usr/local/src/grass-6.3.0/lib/vector/rtree/test.c:63: undefined 
reference to `RTreeInsertRect'
/usr/local/src/grass-6.3.0/lib/vector/rtree/test.c:64: undefined 
reference to `RTreeSearch'

These functions can not be found....

Can any body solve this problem?

Thanks in advance

Andi




More information about the grass-dev mailing list