As quoted from Jody Garnett <[EMAIL PROTECTED]>:
> I have gathered up the two FeatureList examples provided and place them 
> onto the following page:
> - http://docs.codehaus.org/display/GEOTDOC/10+FeatureList

You wrote:

  FeatureList featureList = (FeatureList) source.getFeatures(query);

Can I do that?  It seems not:

  java.lang.ClassCastException: org.geotools.data.jdbc.JDBCFeatureCollection

Regards,
-- 
-- Gertjan van Oosten, [EMAIL PROTECTED], West Consulting B.V., +31 15 2191 600

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to