Search code examples
kmlgoogle-earthkmz

Why doesn't this KML file show up in the web version of Google Earth?


The KMZ can be obtained at https://github.com/eric-g-97477-so/wash_kmz/blob/main/wash.kmz

The structure of the zip file is simple:

wash/
    files/
        wash-dc.png
    wash-dc.kml

wash-dc.png is:

wash-dc.png

the content of the kml file is:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
  <Folder>
    <GroundOverlay>
      <Icon>
        <href>files/wash-dc.png</href>
      </Icon>
      <LatLonBox>
        <north>38.9098629826801456</north>
        <south>38.8880073821501711</south>
        <east>-77.0497762322933539</east>
        <west>-77.0120905091252439</west>
        <rotation>0</rotation>
      </LatLonBox>
    </GroundOverlay>
  </Folder>
</kml>

If I double click on the kmz file, the Google Earth App I have installed on my local machine launches and successfully displays the KMZ:

app version

However, if I use the web version of Google Earth, by click on the New button and importing the kmz file, nothing shows up.

web version

I am not sure if there is something wrong with the kmz or if I am using the Web version of Google Earth incorrectly.


Solution

  • Kmz files can not be populated on web version.You need kml file to populate on web version. I tried kml and its working fine on web version.

    If you don't have access to GIS tool to convert kmz file you can use online tools such as mygeodata