Display a georeferenced image in Google Earth

Suppose I want to display a georeferenced image that is available on a web.

I had already talked about This before, but in this case I want to project a map that is not on my hard drive but online. This is the case of the map of geological faults in Honduras and it is available on the website of Dr. Robert S. Rogers.

geological faults

1. Georeferencing it

First, we downloaded it and placed it on the hard disk.

geological faults

For this purpose, and since it is a sheet with a scale greater than 1 in one million, georeferencing it to Chilazo It's enough. This is done by importing it as a superimposed image and then stretching it until the limits coincide; in case of having had end coordinates, it would have been more accurate to insert them in lat / lon.

Otherwise, I have arranged an approximate 65% opacity.

Once this is done, it is saved as kml of just 1 kb.

1 Modifying the kml

First, let's see that the kml does not contain the image, but refers to a place where it is stored:

<? 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»>
<GroundOverlay>
<Name>Geological faults</ Name>
<Color> 91ffffff </ color>
<Icon>
<Href>http://geology.csustan.edu/rrogers/terranes.jpg</ Href>
<ViewBoundScale> 0.75 </ viewBoundScale>
</ Icon>
<LatLonBox>
<North> 16.77506106182943 </ north>
<South> 12.24368463513841 </ south>
<East> -82.69883751605062 </ east>
<West> -89.70371452334636 </ west>
</ LatLonBox>
</ GroundOverlay>
</ kml>

So to create kml files of the other images, you just have to edit the file with a notepad, change the address of the local disk by the one of the image hosted on the web and the name. Eye, with the notepad you can edit a kml file, a kmz not because it is a compressed file.

Also that can be done from Google Earth, modifying the properties of the layer. See that just change the url, for any of the maps available on that website, I can do the deployment because they were exported in the same layout.

geological faults

By the way, see now by showing the epicenters of the earthquakes that have occurred since the year 1970.

geological faults

Here you can See kml Of the example.

This Another item Speaks of failures displayed in a published service

5 Replies to "Show a georeferenced image in Google Earth"

  1. Google Maps does not have options to adjust the opacity, without touching the API

  2. does this kml work the same for google maps too? ... because I try it but the opacity does not work

  3. Then superimpose, select the image in the left panel, right button and choose properties.

    Then you see the corners in green, which you can stretch as you like, just like the center button to rotate it.

  4. Very interesting the recipe, but I do not know how to stretch or shrink the image after importing it as a superimposed image. No tool or command is activated. How's the thing ???

    Best regards and thanks again for the flop.

    Allan López
    Costa Rica

Leave an answer

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.