While working on a KML reader for SkyJUMP, I discovered that there is no way
to specify a GML imput template that will read KML properly. KML doesn't
have a specific Geometry column - you have to assume it. Anyhow while
working on this, I did find out that the following GML Template will input a
single feature from KML:
<?xml version='1.0' encoding='UTF-8'?>
<JCSGMLInputTemplate>
<CollectionElement>Document</CollectionElement>
<FeatureElement>Folder</FeatureElement>
<GeometryElement>Placemark</GeometryElement>
<ColumnDefinitions>
<column>
<name>name</name>
<type>STRING</type>
<valueelement elementname="name"/>
<valuelocation position="body"/>
</column>
</ColumnDefinitions>
</JCSGMLInputTemplate>
Just in case anyone needs it.
regards,
Larry
--
http://amusingprogrammer.blogspot.com/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel