Skip to content

Instantly share code, notes, and snippets.

@ismail44
Created March 28, 2016 15:45
Show Gist options
  • Save ismail44/880dfedaed05186f14ff to your computer and use it in GitHub Desktop.
Save ismail44/880dfedaed05186f14ff to your computer and use it in GitHub Desktop.
Sample multigeometry kml with name and description
<?xml version="1.0" encoding="utf-8"?>
<!--
Use MultiGeometry to give a Polygon an icon
-->
<kml xmlns="http://www.opengis.net/kml/2.2">
<Placemark>
<name>Adelaide</name>
<Style>
<LineStyle>
<color>ff000000</color>
</LineStyle>
<PolyStyle>
<color>7f9f7fe0</color>
</PolyStyle>
</Style>
<MultiGeometry>
<Point>
<coordinates>138.600000,-34.910000</coordinates>
</Point>
<Polygon>
<outerBoundaryIs>
<LinearRing>
<coordinates>
138.64,-34.93 138.64,-34.94 138.63,-34.94 138.62,-34.94
138.62,-34.95 138.62,-34.96 138.63,-34.96 138.62,-34.96
138.61,-34.97 138.60,-34.97 138.59,-34.97 138.58,-34.97
138.57,-34.97 138.57,-34.96 138.57,-34.95 138.57,-34.95
138.57,-34.94 138.57,-34.93 138.57,-34.92 138.57,-34.92
138.57,-34.91 138.56,-34.91 138.56,-34.90 138.57,-34.90
138.57,-34.90 138.57,-34.89 138.57,-34.89 138.57,-34.89
138.56,-34.88 138.56,-34.88 138.56,-34.88 138.56,-34.88
138.57,-34.88 138.58,-34.87 138.58,-34.87 138.58,-34.86
138.58,-34.85 138.58,-34.85 138.60,-34.85 138.61,-34.85
138.63,-34.85 138.63,-34.85 138.64,-34.86 138.64,-34.87
138.64,-34.87 138.63,-34.87 138.63,-34.88 138.62,-34.88
138.62,-34.88 138.62,-34.89 138.62,-34.89 138.62,-34.89
138.63,-34.89 138.63,-34.90 138.64,-34.90 138.64,-34.90
138.64,-34.91 138.64,-34.91 138.64,-34.92 138.64,-34.92
138.64,-34.93 138.64,-34.93
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</MultiGeometry>
<Name>Some fancy Name</Name>
<Description>Here is a description</Description>
</Placemark>
</kml>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment