On Jul 12, 2010, at 8:44 PM, Lee Seongjoo wrote:

> Hello community,
> 
> 1. I have point data, let's say -2.0, 1.0, 3.0, as 3D coordinates. I read 
> usage explanation and examined the test files but I am still not very sure 
> how index is created from those point data. 

Rtrees work on boxes, not merely points.  The tests demonstrate how to make a 
3d index and insert points into it.  
<http://trac.gispython.org/lab/browser/Rtree/trunk/tests/index.txt#L167>  I 
would note that Rtrees are not particularly good for high volume point data, 
and I would suggest looking at other indexing alternatives if this is your 
desire.

> 
> 2. I thought that index boundaries would be determined automatically by 
> evaluating the point coordinate inserted.

Yes, it does.  The tree will readjust itself as necessary.  Rtrees can be a bit 
susceptible to insertion order, which can cause the organization of the tree to 
be different depending on the order bboxes are inserted into the tree.

> But Rtree package requires axis boundary values. 

Example?  Do the docs say this anywhere?

_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to