But the problem is when I set the query having boundary values instead of point, it gives me below error message. I think it's somewhat related some memory problem.
rtree.core.RTreeError: LASError in "Index_Intersects_obj": bad allocation Anyone has an idea why this error occurs? The reason why I got the "bad allocation" error was that query operation using intersection returns all objects in the query boundary. For my case, they are about 80,000 points returned. Then, all those points are objects occupying memory space. I only need to measure the time to perform a specific query so I changed to query to return the count by using 'count()'. No more memory problem! 2010/8/24 <[email protected]> > Send Community mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.gispython.org/mailman/listinfo/community > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Community digest..." > > > Today's Topics: > > 1. "bad allocation" error (Lee Seongjoo) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 24 Aug 2010 16:14:15 +0900 > From: Lee Seongjoo <[email protected]> > Subject: [Community] "bad allocation" error > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="utf-8" > > Hi, > > I created an index tree using 3-D coordinates. The number of coordinates is > approximately 6.4 millions. After successful creation of the tree, i tested > querying in exhaustive manner: query every single coordinates. And it > worked. > > But the problem is when I set the query having boundary values instead of > point, it gives me below error message. I think it's somewhat related some > memory problem. > > rtree.core.RTreeError: LASError in "Index_Intersects_obj": bad allocation > > Anyone has an idea why this error occurs? > > > -- > Lee Seongjoo > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.gispython.org/pipermail/community/attachments/20100824/4cf7ed9f/attachment.html > > > > ------------------------------ > > _______________________________________________ > Community mailing list > [email protected] > http://lists.gispython.org/mailman/listinfo/community > > > End of Community Digest, Vol 58, Issue 15 > ***************************************** > -- 이성주
_______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
