On Thu, Mar 1, 2012 at 12:43 AM, Michael Bedward <[email protected]> wrote: > On 1 March 2012 03:40, Zheng Xudong <[email protected]> wrote: >> Who can tell me why, or some suggestion? In my opinion, to filter features >> use id should be very efficient, Geotools don't create the id's index for >> features? > > It should be efficient but it isn't.
Evaluation against a large set of ids has been optimized recently by another user's contribution: http://jira.codehaus.org/browse/GEOT-3986 That patch is not included in any release, but it's already available if you checkout geotoosl from subversion and built it Of course an in memory collection backed by a fid index would be faster than that Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ GeoTools-GT2-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
