Hello people

Thanks a lot for the feedback!

The "create spatial index" works fine, thanks (I guess I should've 
looked back at the wiki for that one, sorry). Just setting it to 
Boolean.FALSE or even "false" prevents the creation of the index (and 
the blowing up of the memory). I guess it would still be nicer, though, 
if the default value were FALSE. What do you think?

As to whether it keeps using the tree when we set that option to false, 
I actually couldn't tell: using the ShapefileRenderer, displaying, 
zooming and panning around the shapefile is equally fast with or without 
the .qix file (a couple of seconds for the entire shapefile, and instant 
when I zoom in a lot). I'm not sure then in which situation the QuadTree 
is really used (but congrats on the shapefile renderer, it's pretty fast)

Cheers
Milton


Jesse Eichar wrote:
> I believe that if the index is there it will use it. But it won't create 
> one.
> 
> On 24-Sep-08, at 18:56, Jody Garnett <[EMAIL PROTECTED]> wrote:
> 
>> It is documented on the wiki:
>> - http://docs.codehaus.org/display/GEOTDOC/Shapefile+Plugin
>>
>> Looks to be:
>> "create spatial index"    optional    Set to Boolean.TRUE to create an 
>> index
>>
>>
>> No idea if setting it to Boolean.FALSE will prevent the creation of an 
>> index or not?
>> Jody
>>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to