Note that GeoServer has done a lot of work on KML output.  We never put 
it in to GeoTools since no one ever asked about it, and a lot of it's 
ended up using GeoServer specific stuff.  But in general we're happy to 
have things migrate from GeoServer to GeoTools and can redo the license 
to be lgpl.  So if you're interested in taking the code and making it 
more generic for GeoTools let us know.

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

-- 
Chris Holmes
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
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

Reply via email to