Skip to content

Instantly share code, notes, and snippets.

@patel-zeel
Last active November 4, 2024 05:53
Show Gist options
  • Save patel-zeel/7c2abb68c0d02b77640a5e42f08821df to your computer and use it in GitHub Desktop.
Save patel-zeel/7c2abb68c0d02b77640a5e42f08821df to your computer and use it in GitHub Desktop.
KML example
<?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" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>Query.kml</name>
<Style id="inline">
<LineStyle>
<color>ff0000ff</color>
<width>2</width>
</LineStyle>
</Style>
<StyleMap id="inline0">
<Pair>
<key>normal</key>
<styleUrl>#inline1</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#inline</styleUrl>
</Pair>
</StyleMap>
<Style id="inline1">
<LineStyle>
<color>ff0000ff</color>
<width>2</width>
</LineStyle>
</Style>
<Placemark>
<name>Query</name>
<styleUrl>#inline0</styleUrl>
<Polygon>
<coordinates>
77.27851901380564,28.4720971670686,-7.081154781429788e-10 77.27859012804529,28.47214505956866,0 77.27866572016866,28.47218732142327,-7.081154781429788e-10 77.2787452148667,28.47222363098725,-7.081154781429788e-10 77.27882800712673,28.47225371191664,0 77.27891346683734,28.472277335272,0 77.27900094358426,28.47229432126095,-7.081154781429788e-10 77.27908977160075,28.47230454060663,0 77.27917927483523,28.47230791553169,0 77.27926877209663,28.47230442035024,0 77.27935758223947,28.47229408166342,0 77.27944502934807,28.47227697815686,-7.081154781429788e-10 77.27953044788136,28.47225324000181,0 77.27961318773851,28.47222304786438,0 77.2796926192069,28.47218663153038,0 77.2797681377552,28.47214426815638,-7.081154781429788e-10 77.27983916863424,28.47209628016017,0 77.27990517125171,28.47204303276678,-7.081154781429788e-10 77.27996564328637,28.47198493122865,0 77.28002012451095,28.4719224177412,0 77.28006820029512,28.4718559680772,0 77.28010950476042,28.47178608796566,-7.081154781429788e-10 77.28014372356495,28.47171330924266,-7.081154781429788e-10 77.28017059629535,28.47163818580365,0 77.28018991844812,28.47156128938774,0 77.28020154298581,28.4714832052263,0 77.28020538145553,28.47140452758894,0 77.28020140466153,28.47132585526063,0 77.28018964288701,28.47124778698461,0 77.28017018566291,28.47117091690561,0 77.28014318108632,28.4710958300481,0 77.28010883469256,28.471023097864,0 77.28006740789073,28.47095327388373,0 77.28001921597375,28.47088688950367,0 77.27996462571863,28.47082444994209,0 77.27990405259455,28.47076643039436,0 77.27983795760112,28.47071327241663,0 77.2797668437596,28.47066538056561,0 77.27969125228465,28.47062311931979,0 77.27961175846573,28.47058681030586,0 77.27952896728881,28.47055672985106,0 77.27944350883233,28.47053310688043,0 77.27935603347252,28.47051612117464,0 77.27926720693389,28.47050590200194,-7.081154781429788e-10 77.27917770522318,28.47050252713444,0 77.27908820948511,28.47050602225627,0 77.27899940081898,28.47051636076812,0 77.27891195509545,28.47053346398966,0 77.27882653781361,28.47055720175831,-7.081154781429788e-10 77.27874379903625,28.4705873934197,-7.081154781429788e-10 77.27866436844315,28.47062380920246,-7.081154781429788e-10 77.27858885053909,28.47066617196681,0 77.27851782005362,28.47071415931345,-7.081154781429788e-10 77.2784518175671,28.47076740603709,0 77.27839134539688,28.47082550690566,0 77.27833686377416,28.47088801974408,0 77.27828878734155,28.4709544687993,-1.416230956285958e-09 77.2782474819971,28.47102434836079,0 77.27821326210947,28.47109712660919,0 77.27818638812498,28.47117224966348,0 77.27816706458512,28.47124914579623,-7.081154781429788e-10 77.27815543856954,28.47132722978467,0 77.27815159857606,28.47140590736447,0 77.27815557384672,28.47148457975239,0 77.27816733414458,28.47156264820338,0 77.27818678998354,28.47163951856741,-7.081154781429788e-10 77.27821379330868,28.47171460581132,-7.081154781429788e-10 77.2782481386227,28.47178733847147,-7.081154781429788e-10 77.27828956454921,28.47185716300296,0 77.27833775582192,28.47192354799267,-7.081154781429788e-10 77.27839234568351,28.47198598820382,0 77.27845291867659,28.47204400842129,0 77.27851901380564,28.4720971670686,-7.081154781429788e-10
</coordinates>
</Polygon>
</Placemark>
</Document>
</kml>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment