On Thu, Apr 25, 2013 at 12:51 AM, Justin Deoliveira <[email protected]>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

-------------------------------------------------------
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to