Hi Andrea,
as far as I understood the problem, the ContentFeatureCollection is a
kind of faked FeatureCollection, which throws an
UnsupportedOperationException in getID().
Thus I've changed GeoTools as in
https://github.com/phopfgartner/geotools/commit/e9d4c83710c43578424f6fdc0d384df00f9c60ac.
Is this approach reasonable?
Regards,
Peter
On 08/27/2012 04:49 PM, Andrea Aime wrote:
On Mon, Aug 27, 2012 at 4:04 PM, Peter Hopfgartner
<[email protected] <mailto:[email protected]>>
wrote:
Hello
some of the WPS processes (like ReprojectProcess) bring an object of
class org.geotools.data.store.ContentFeatureCollection into my PPIO,
others an object of class
org.geotools.feature.DefaultFeatureCollection
(like BufferFeatureCollection).
Where is the returned class implementing GeoServerProcess, which
in one
case is BufferedFeatureCollection, in the other of type
ReprojectingFeatureCollection converted to
org.geotools.data.store.ContentFeatureCollection or
org.geotools.feature.DefaultFeatureCollection?
Long story short, never have PPIO handle a specific feature follection
implementation
class, those can change, always work against the
FatureCollection/SimpleFeatureCollection
interfaces
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.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 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
--
Peter Hopfgartner
web : http://www.r3-gis.com
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users