Hi,

that would be nice. There is already a .subCollection(Filter filter) function 
but the same with a query would be nice.

Roy
      _____  

From: Andrea Aime [mailto:[email protected]]
To: Geotools-Devel list [mailto:[email protected]]
Sent: Mon, 24 Jan 2011 09:42:53 +0100
Subject: [Geotools-devel] Wishing for 
FeatureCollection.subFeatureCollection(query)

Hi,
  how many times did we say that FeatureCollection is hard to implement
  because it has
  so many methods to care for? Many.
  
  However in processing I often find myself in the situation of wishing
  for one more method
  that is not there, pity pity: the ability to create a sub feature
  collection by query.
  
  Why:
  - ability to shave off attributes
  - setting the max number of features to be returned
  - setting hints so that we can ask for a specific geometry factory and the 
like
  - (wishful thinking land mode on) eventually, in the future when Query
  will be much more
    powerful, asking for joins
  
  What do you think? Just take it as wish list item for GeoTools 3.0 :-p
  
  Cheers
  Andrea
  
  -- 
  Ing. Andrea Aime
  Technical Lead
  
  GeoSolutions S.A.S.
  Via Poggio alle Viti 1187
  55054  Massarosa (LU)
  Italy
  
  phone: +39 0584962313
  fax:     +39 0584962313
  
  http://www.geo-solutions.it
  http://geo-solutions.blogspot.com/
  http://www.linkedin.com/in/andreaaime
  http://twitter.com/geowolf
  
  -----------------------------------------------------
  
  ------------------------------------------------------------------------------
  Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
  Finally, a world-class log management solution at an even better price-free!
  Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
  February 28th, so secure your free ArcSight Logger TODAY! 
  http://p.sf.net/sfu/arcsight-sfd2d
  _______________________________________________
  Geotools-devel mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/geotools-devel
    
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to