[R-sig-Geo] ground overlays in KML

Chris English sglish at hotmail.com
Wed Mar 6 04:11:00 CET 2013


I imagine the final image is the last written.  

https://developers.google.com/kml/documentation/time 
explores various methods and additional tags employed for rendering sequences
and controlling overlays.
Hope it is in the right direction.

Chris

From: HodgessE at uhd.edu
To: r-sig-geo at r-project.org
Date: Wed, 6 Mar 2013 02:07:11 +0000
Subject: [R-sig-Geo] ground overlays in KML

Hello again.

I'm not sure if I should ask this here, but I thought it might be a place to start:

I'm producing PNG files for ground overlays in Google Earth.  After some help from you this afternoon, my png files are ready.  However, the files do not run in sequence in Google Earth.  It shows the last file only.

Here is a little bit of the code:

<kml xmlns:xsd="http://schemas.opengis.net/kml/2.2.0/ogckml22.xsd" xmlns:xmlns="http://www.opengis.net/kml/2.2/" version="1.0">
<Document>
<Folder>
<GroundOverlay>
<name>2001</name>
<TimeSpan><begin> 2001-01-01 </begin>
<end> 2001-12-31 </end></TimeSpan>
<Icon><href>preda_01.png</href><viewBoundScale>0.75</viewBoundScale></Icon>
<LatLonBox><north>36.48445398908</north><south>25.9875545196567</south><east>-93.5186130430667</east><west>-106.704257739431</west></LatLonBox>
</GroundOverlay><GroundOverlay>
<name>2002</name>
<TimeSpan><begin> 2002-01-01 </begin>
<end> 2002-12-31 </end></TimeSpan>
<Icon><href>predb_01.png</href><viewBoundScale>0.75</viewBoundScale></Icon>
<LatLonBox><north>36.48445398908</north><south>25.9875545196567</south><east>-93.5186130430667</east><west>-106.704257739431</west></LatLonBox>
</GroundOverlay><GroundOverlay>
<name>2003</name>
<TimeSpan><begin> 2003-01-01 </begin>
<end> 2003-12-31 </end></TimeSpan>
<Icon><href>predc_01.png</href><viewBoundScale>0.75</viewBoundScale></Icon>
<LatLonBox><north>36.48445398908</north><south>25.9875545196567</south><east>-93.5186130430667</east><west>-106.704257739431</west></LatLonBox>
</GroundOverlay>
</Folder>
</Document>
<kml>



I'm also attaching the png files.  

Thanks for any help.



_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo 		 	   		  


More information about the R-sig-Geo mailing list