fastkml icon indicating copy to clipboard operation
fastkml copied to clipboard

ground overlay example

Open cleder opened this issue 9 years ago • 2 comments

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
  <name>SPEED-NORAIN_RAPIDSCAT_999_201504042251_201504050024</name>
  <open>0</open>
  <GroundOverlay>
    <Icon>
      <href>SPEED-NORAIN_RAPIDSCAT_999_201504042251_201504050024.png</href>
    </Icon>
    <LatLonBox>
      <north>60.0</north><south>-60.0</south><east>179</east><west>-180</west>
    </LatLonBox>
  </GroundOverlay>
</Document>
</kml>

cleder avatar Apr 08 '15 12:04 cleder

Don't hrefs need to be server side with an entire url if their not zipped into a kmz just right? I was never able to attach any image locally it was a real pain in the ass. I'm guessing your wanting to display an image of a satellite?

murphy214 avatar Nov 29 '15 12:11 murphy214

She aint pretty lol I just took the first picture on the page:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
  <name>SPEED-NORAIN_RAPIDSCAT_999_201504042251_201504050024</name>
  <open>0</open>
  <GroundOverlay>
    <Icon>
      <href>https://winds.jpl.nasa.gov/images/RapidScat-image.jpg</href>
    </Icon>
    <LatLonBox>
      <north>60.0</north><south>-60.0</south><east>179</east><west>-180</west>
    </LatLonBox>
  </GroundOverlay>
</Document>
</kml>

An easier to see version (still ugly I found most hrefs were)

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
  <name>SPEED-NORAIN_RAPIDSCAT_999_201504042251_201504050024</name>
  <open>0</open>
  <GroundOverlay>
    <Icon>
      <href>https://winds.jpl.nasa.gov/images/RapidScat-image.jpg</href>
    </Icon>
    <LatLonBox>
      <north>30</north><south>29.5</south><east>43</east><west>42.5</west>
    </LatLonBox>
  </GroundOverlay>
</Document>
</kml>

murphy214 avatar Nov 29 '15 13:11 murphy214