Created
March 27, 2015 05:06
-
-
Save zlsa/896ff275836021762cc2 to your computer and use it in GitHub Desktop.
FlightGear KML protocol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- Export to KML --> | |
<PropertyList> | |
<generic> | |
<output> | |
<line_separator>newline</line_separator> | |
<var_separator> </var_separator> | |
<preamble><![CDATA[<?xml version="1.0" encoding="UTF-8"?> | |
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"> | |
<Document> | |
<name>2015-03-08T15:15:57Z</name> | |
<Placemark> | |
<gx:Track> | |
<extrude>1</extrude> | |
<altitudeMode>absolute</altitudeMode> | |
]]></preamble> | |
<postamble><![CDATA[ </gx:Track> | |
</Placemark> | |
</Document> | |
</kml>]]></postamble> | |
<chunk> | |
<name>time</name> | |
<format> <when>%s</when></format> | |
<type>string</type> | |
<node>/sim/time/gmt</node> | |
</chunk> | |
<chunk> | |
<name>lon</name> | |
<format>\n <gx:coord>%f</format> | |
<type>float</type> | |
<node>/position/longitude-deg</node> | |
</chunk> | |
<chunk> | |
<name>lat</name> | |
<format>%f</format> | |
<type>float</type> | |
<node>/position/latitude-deg</node> | |
</chunk> | |
<chunk> | |
<name>altitude</name> | |
<factor>0.3048</factor> | |
<format>%f</gx:coord></format> | |
<type>float</type> | |
<node>/position/altitude-ft</node> | |
</chunk> | |
</output> | |
</generic> | |
</PropertyList> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment