Hi,
I have a use case for JTS STRtree
http://www.vividsolutions.com/jts/javadoc/com/vividsolutions/jts/index/strtree/STRtree.html#query(com.vividsolutions.jts.geom.Envelope)
which would be loaded once at the beginning of the process, but which would 
then need to be queried by multiple threads.
I'd like to confirm whether or not the latest version of the query operation is 
thread-safe and actually support querying from multiple thread, or is 
synchronized and would actually not leverage more than one CPU anyways.
I've seen this old post:
http://jts-topo-suite-user.narkive.com/bR8F0KZH/querying-strtree-from-multiple-threads
but I'm not clear on the conclusion and if it is outdated anyways.
If it does not support multithreading any idea on work around, beside creating 
multiple instance of the tree itself?

Thanks,
Jonathan


Jonathan Houde
Enterprise Business Solutions Architect / Architecte de solutions d'affaire 
d'entreprise

[cid:[email protected]]<http://korem.com/en/>
geospatial and business intelligence


330, rue Saint-Vallier Est,  bureau 240
Québec, (Québec) Canada    G1K 9C5
Tél. : (418) 647-1555
Sans frais : 1 888 440-1MAP

------------------------------------------------------------------------------
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user

Reply via email to