Closed GoogleCodeExporter closed 8 years ago
Likewise the following elements: gx:SimpleArrayData, gx:coord, gx:angles, and
gx:interpolate non of which are defined.
Looks like Google Earth 5.2 has a lot of new features that haven't been fully
documented yet.
Original comment by gjmath...@gmail.com
on 2 Jul 2010 at 9:19
This is really important for e.g. the JAK libary. The Java API for KML is
great, and makes usage of JAXB - an updated version of the XSD is key in order
to maintain this great API. Please update the schema!
These guys spend a lot of time in providing a generic but great KML API:
If you are interested in the API: http://labs.micromata.de/display/jak/Home
Original comment by steffen....@gmail.com
on 6 Jul 2010 at 9:55
Almost there... kml22gx.xsd has recently been updated.
However, from the KML reference gx:Track and gx:MultiTrack include altitudeMode
which is NOT reflected in the published XML kml22gx.xsd schema file.
Track extends AbstractGeometryType and the latter does not include
altitudeModeGroup so it must explictly be added to the Track and MultiTrack
definitions.
<gx:Track id="ID">
<!-- specific to Track -->
<altitudeMode>clampToGround</altitudeMode>
<when>...</when> <!-- kml:dateTime -->
...
</gx:Track>
Changes required are following:
<complexType name="TrackType">
<complexContent>
<extension base="kml:AbstractGeometryType">
<sequence>
<element ref="kml:extrude" minOccurs="0"/>
<element ref="kml:tessellate" minOccurs="0"/>
<element ref="kml:altitudeModeGroup" minOccurs="0"/>
<element ref="kml:when" minOccurs="0" maxOccurs="unbounded"/>
...
<complexType name="MultiTrackType">
<complexContent>
<extension base="kml:AbstractGeometryType">
<sequence>
<element ref="kml:altitudeModeGroup" minOccurs="0"/>
<element ref="gx:interpolate" minOccurs="0"/>
...
Original comment by gjmath...@gmail.com
on 11 Aug 2010 at 5:35
[deleted comment]
Thanks for your careful detective work. I'm trying to resolve this issue and
will update the KML Reference as soon as possible.
Original comment by jos...@google.com
on 21 Aug 2010 at 3:12
The KML reference is correct. The Track and MultiTrack need an altitude mode as
does a Line or Point geometry.
Only the published kml22gx.xsd needs updating...
Original comment by gjmath...@gmail.com
on 21 Aug 2010 at 4:46
kml22gx.xsd has been updated. thanks
Original comment by gjmath...@gmail.com
on 26 Aug 2010 at 1:30
This is closed and fixed.
Original comment by manomark...@gtempaccount.com
on 26 Aug 2010 at 8:42
Original issue reported on code.google.com by
gjmath...@gmail.com
on 2 Jul 2010 at 7:48