Nope I ment FeatureList - the provided query was supposed to request a sort order :-(
Jody > Gertjan van Oosten ha scritto: >> 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 > > I think he meant FeatureCollection, not FeatureList. > Cheers > Andrea ------------------------------------------------------------------------- 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
