Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1570 | - | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
||
3 | xmlns:kml="http://www.opengis.net/kml/2.2" > |
||
4 | <xsl:template match="/"> |
||
5 | <kml:kml><kml:Document><kml:name>Flight 1000</kml:name> |
||
6 | <kml:Style id="transPurpleLineGreenPoly"><kml:LineStyle><kml:color>7fff00ff</kml:color> |
||
7 | <kml:width>4</kml:width></kml:LineStyle> |
||
8 | <kml:PolyStyle><kml:color>7f00ff00</kml:color></kml:PolyStyle> |
||
9 | </kml:Style> |
||
10 | <kml:Placemark><kml:name>Absolute</kml:name> |
||
11 | <kml:visibility>1</kml:visibility> |
||
12 | <kml:description>Transparent purple line</kml:description> |
||
13 | <kml:styleUrl>#transPurpleLineGreenPoly</kml:styleUrl> |
||
14 | <kml:LineString><kml:tessellate>1</kml:tessellate><kml:altitudeMode>absolute</kml:altitudeMode> |
||
15 | <kml:coordinates> |
||
16 | <xsl:text> |
||
17 | </xsl:text> |
||
18 | <xsl:apply-templates select="mk-osddata/dataset[@timestamp>45000]/currentPosition"/> |
||
19 | <xsl:text> |
||
20 | </xsl:text> |
||
21 | </kml:coordinates> |
||
22 | </kml:LineString> |
||
23 | </kml:Placemark> |
||
24 | </kml:Document> |
||
25 | </kml:kml> |
||
26 | </xsl:template> |
||
27 | <xsl:template match="currentPosition"><xsl:value-of select="@longitude"/>,<xsl:value-of select="@latitude"/>,<xsl:value-of select="@altitude"/><xsl:text> |
||
28 | </xsl:text> |
||
29 | </xsl:template> |
||
30 | </xsl:stylesheet> |
||
31 |