Skip to content

Instantly share code, notes, and snippets.

@ydhnwb
Last active September 23, 2021 02:39
Show Gist options
  • Save ydhnwb/64e6fe9671ffad43d4a75004ef20a426 to your computer and use it in GitHub Desktop.
Save ydhnwb/64e6fe9671ffad43d4a75004ef20a426 to your computer and use it in GitHub Desktop.
<?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>Example 1</name>
<gx:CascadingStyle kml:id="__managed_style_214709768E1D45E139B0">
<Style>
<IconStyle>
<scale>1.2</scale>
<Icon>
<href>https://earth.google.com/earth/rpc/cc/icon?color=1976d2&amp;id=2000&amp;scale=4</href>
</Icon>
<hotSpot x="64" y="128" xunits="pixels" yunits="insetPixels"/>
</IconStyle>
<LabelStyle>
</LabelStyle>
<LineStyle>
<color>ff2dc0fb</color>
<width>6</width>
</LineStyle>
<PolyStyle>
<color>40ffffff</color>
</PolyStyle>
<BalloonStyle>
<displayMode>hide</displayMode>
</BalloonStyle>
</Style>
</gx:CascadingStyle>
<gx:CascadingStyle kml:id="__managed_style_11758B192E1D45E139B0">
<Style>
<IconStyle>
<Icon>
<href>https://earth.google.com/earth/rpc/cc/icon?color=1976d2&amp;id=2000&amp;scale=4</href>
</Icon>
<hotSpot x="64" y="128" xunits="pixels" yunits="insetPixels"/>
</IconStyle>
<LabelStyle>
</LabelStyle>
<LineStyle>
<color>ff2dc0fb</color>
<width>4</width>
</LineStyle>
<PolyStyle>
<color>40ffffff</color>
</PolyStyle>
<BalloonStyle>
<displayMode>hide</displayMode>
</BalloonStyle>
</Style>
</gx:CascadingStyle>
<StyleMap id="__managed_style_02D7B013051D45E139B0">
<Pair>
<key>normal</key>
<styleUrl>#__managed_style_11758B192E1D45E139B0</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#__managed_style_214709768E1D45E139B0</styleUrl>
</Pair>
</StyleMap>
<Placemark id="0C220D8F0D1D45E139AF">
<name>Ini adalah shapenya</name>
<LookAt>
<longitude>106.7578431146191</longitude>
<latitude>-6.293303516766708</latitude>
<altitude>63.33272381868102</altitude>
<heading>0</heading>
<tilt>0</tilt>
<gx:fovy>35</gx:fovy>
<range>77179.1185171064</range>
<altitudeMode>absolute</altitudeMode>
</LookAt>
<styleUrl>#__managed_style_02D7B013051D45E139B0</styleUrl>
<Polygon>
<outerBoundaryIs>
<LinearRing>
<coordinates>
106.8356293297771,-6.173942417187436,13.48768721455335 106.7066007206836,-6.249959170974338,32.61749111636237 106.775813592273,-6.40848864239809,104.3168014223681 106.8423306782832,-6.355826241989323,70.24213302580179 106.8373754490963,-6.310268786740235,70.53797401044136 106.8675405210225,-6.193174034954597,26.74319190375481 106.8356293297771,-6.173942417187436,13.48768721455335
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>
<Placemark id="0B21A935C71D45E17B8A">
<name>Ini adalah midpointnya</name>
<LookAt>
<longitude>106.7578431146191</longitude>
<latitude>-6.293303516766708</latitude>
<altitude>63.33272381868102</altitude>
<heading>0</heading>
<tilt>0</tilt>
<gx:fovy>35</gx:fovy>
<range>77179.1185171064</range>
<altitudeMode>absolute</altitudeMode>
</LookAt>
<styleUrl>#__managed_style_02D7B013051D45E139B0</styleUrl>
<Point>
<coordinates>106.7911059519954,-6.26738740477215,32.03876994217804</coordinates>
</Point>
</Placemark>
<Placemark id="0A0A8C3B1E1D45E7DDB8">
<name>Ini shape kedua</name>
<LookAt>
<longitude>106.7578431146191</longitude>
<latitude>-6.293303516766708</latitude>
<altitude>63.33272381868102</altitude>
<heading>0</heading>
<tilt>0</tilt>
<gx:fovy>35</gx:fovy>
<range>77179.1185171064</range>
<altitudeMode>absolute</altitudeMode>
</LookAt>
<styleUrl>#__managed_style_02D7B013051D45E139B0</styleUrl>
<Polygon>
<outerBoundaryIs>
<LinearRing>
<coordinates>
106.8837233158131,-6.198536367510886,31.39267651839852 106.8508575181443,-6.308480492425437,70.81726011605247 106.8571637622254,-6.356272036068138,70.75976822372004 106.7825509267906,-6.416960771596353,112.8248481887087 106.9309280663759,-6.379504913942224,70.06043454008312 106.8837233158131,-6.198536367510886,31.39267651839852
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>
<Placemark id="018D3620CD1D45E817B9">
<name>Midpoint dr shape kedua</name>
<LookAt>
<longitude>106.7578431146191</longitude>
<latitude>-6.293303516766708</latitude>
<altitude>63.33272381868102</altitude>
<heading>0</heading>
<tilt>0</tilt>
<gx:fovy>35</gx:fovy>
<range>77179.1185171064</range>
<altitudeMode>absolute</altitudeMode>
</LookAt>
<styleUrl>#__managed_style_02D7B013051D45E139B0</styleUrl>
<Point>
<coordinates>106.8841237092304,-6.329020989621625,72.90638979204024</coordinates>
</Point>
</Placemark>
</Document>
</kml>
Display the source blob
Display the rendered blob
Raw
{
"type":"FeatureCollection",
"features":[
{
"type":"Feature",
"geometry":{
"type":"Polygon",
"coordinates":[
[
[
106.8356293297771,
-6.173942417187436,
13.48768721455335
],
[
106.7066007206836,
-6.249959170974338,
32.61749111636237
],
[
106.775813592273,
-6.40848864239809,
104.3168014223681
],
[
106.8423306782832,
-6.355826241989323,
70.24213302580179
],
[
106.8373754490963,
-6.310268786740235,
70.53797401044136
],
[
106.8675405210225,
-6.193174034954597,
26.74319190375481
],
[
106.8356293297771,
-6.173942417187436,
13.48768721455335
]
]
]
},
"properties":{
"name":"Ini adalah shapenya",
"styleUrl":"#__managed_style_02D7B013051D45E139B0",
"styleMapHash":{
"normal":"#__managed_style_11758B192E1D45E139B0",
"highlight":"#__managed_style_214709768E1D45E139B0"
}
},
"id":"0C220D8F0D1D45E139AF"
},
{
"type":"Feature",
"geometry":{
"type":"Point",
"coordinates":[
106.7911059519954,
-6.26738740477215,
32.03876994217804
]
},
"properties":{
"name":"Ini adalah midpointnya",
"styleUrl":"#__managed_style_02D7B013051D45E139B0",
"styleMapHash":{
"normal":"#__managed_style_11758B192E1D45E139B0",
"highlight":"#__managed_style_214709768E1D45E139B0"
}
},
"id":"0B21A935C71D45E17B8A"
},
{
"type":"Feature",
"geometry":{
"type":"Polygon",
"coordinates":[
[
[
106.8837233158131,
-6.198536367510886,
31.39267651839852
],
[
106.8508575181443,
-6.308480492425437,
70.81726011605247
],
[
106.8571637622254,
-6.356272036068138,
70.75976822372004
],
[
106.7825509267906,
-6.416960771596353,
112.8248481887087
],
[
106.9309280663759,
-6.379504913942224,
70.06043454008312
],
[
106.8837233158131,
-6.198536367510886,
31.39267651839852
]
]
]
},
"properties":{
"name":"Ini shape kedua",
"styleUrl":"#__managed_style_02D7B013051D45E139B0",
"styleMapHash":{
"normal":"#__managed_style_11758B192E1D45E139B0",
"highlight":"#__managed_style_214709768E1D45E139B0"
}
},
"id":"0A0A8C3B1E1D45E7DDB8"
},
{
"type":"Feature",
"geometry":{
"type":"Point",
"coordinates":[
106.8841237092304,
-6.329020989621625,
72.90638979204024
]
},
"properties":{
"name":"Midpoint dr shape kedua",
"styleUrl":"#__managed_style_02D7B013051D45E139B0",
"styleMapHash":{
"normal":"#__managed_style_11758B192E1D45E139B0",
"highlight":"#__managed_style_214709768E1D45E139B0"
}
},
"id":"018D3620CD1D45E817B9"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment