Skip to content

Instantly share code, notes, and snippets.

@bogardpd

bogardpd/flights.kml

Created Sep 30, 2019
Embed
What would you like to do?
flights.kml example
<?xml version="1.0" encoding="UTF-8" ?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>Flights</name>
<description>Map of flight routes, created by Paul Bogard’s Flight Historian</description>
<Style id="airportMarker">
<Icon>
<href>http://maps.google.com/mapfiles/kml/shapes/placemark_circle.png</href>
</Icon>
</Style>
<Style id="flightPath">
<LineStyle>
<color>ff0000ff</color>
<width>2</width>
</LineStyle>
</Style>
<Folder>
<name>Airports</name>
<Placemark>
<name>ATL / KATL</name>
<description>Atlanta</description>
<styleUrl>#airportMarker</styleUrl>
<Point>
<coordinates>-84.427864,33.6366996,0</coordinates>
</Point>
</Placemark>
<!-- Repeat Placemark tag for every airport -->
</Folder>
<Folder>
<name>Routes</name>
<Placemark>
<name>ATL–BOS</name>
<styleUrl>#flightPath</styleUrl>
<LineString>
<tessellate>1</tessellate>
<coordinates>-84.427864,33.6366996,0 -71.0063889,42.3629444,0</coordinates>
</LineString>
</Placemark>
<!-- Repeat Placemark tag for every route -->
</Folder>
</Document>
</kml>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.