A.J. Jessurun ha scritto:
> Hello,
> 
> I have a big shapefile with multilinestrings. The spacial index on this 
> file is automatically generated using the "create spacial index" option. 
> I do lookups on this shapefile using the bbox filter. This works very 
> well, except in certain situations.
> 
> If I do a lookup outside the area where the features are, or at some 
> place there is a big empty area, the resulting feature collection seems 
> not to use the index and walk trough the complete data set (which takes 
> about 30 seconds). I am using geotools-2-5-2.
> 
> I am doing something wrong? Or are there special options I need to use 
> when building the spacial index? Or is this a bug? When I use uDig, I 
> encounter the same behaviour when I use the Information tool.

Interesting. Looks like a bug indeed, but I'm not familiar with the
spatial index enough to decide wheter this is a necessary behaviour
for some obscure reason. Maybe Jesse (cc'ed) knows more

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to