Hi Michael, Yeah, this warning actually pops up when encoding GML as well. It really should not be logged as a warning, it is something that i have been meaning to fix. I think there is a bug report open for this. I will put my money where my mouth is and schedule it high priority for 2.6.1
-Justin Michael Bedward wrote: > Hi Justin and all, > > Inspired by a KML question on the user list today I've added a simple > KML writing example to demo/example... > > http://svn.osgeo.org/geotools/trunk/demo/example/src/main/java/org/geotools/demo/xml/KMLExample.java > > It runs OK but the method demonstrating feature collection -> KML > produces many warnings like this... > > WARNING: org.geotools.feature.defaultfeaturecollect...@b96738 > (org.geotools.feature.DefaultFeatureCollection) is not of type > org.opengis.feature.simple.SimpleFeature > Nov 2, 2009 3:26:50 PM org.geotools.xml.impl.GetPropertyExecutor visit > > The unit test class KMLParsingTest also generates these warnings. > > Is there some way to avoid or suppress them ? > > cheers > Michael > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Geotools-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-devel -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
