From: Andrea A. <and...@ge...> - 2013-04-25 09:04:53
|
On Thu, Apr 25, 2013 at 12:51 AM, Justin Deoliveira <jde...@op...>wrote: > So indeed, this functionality is implemented. However, unfortunately it is > only exposed api wise through ContentFeatureSource, as FeatureSource > doesn't have an accepts method. Which is ok for my use case, i will just > check for CFS for the optimization and fall back to the current behaviour > if not. > As far as I remember, one just needs to grab a feature collection, and have it accept the visitor. An optimized store should detect that and run the optimizations, which is something ContentFeatureCollection already does, delegating to its feature source. Cheers Andrea -- == GeoServer training in Milan, 6th & 7th June 2013! Visit http://geoserver.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- |