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.
1. Georeferencing it
First, we downloaded it and placed it on the hard disk.
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»>
<Name>Geological faults</ Name>
<Color> 91ffffff </ color>
<ViewBoundScale> 0.75 </ viewBoundScale>
<North> 16.77506106182943 </ north>
<South> 12.24368463513841 </ south>
<East> -82.69883751605062 </ east>
<West> -89.70371452334636 </ west>
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.
By the way, see now by showing the epicenters of the earthquakes that have occurred since the year 1970.
Here you can See kml Of the example.
This Another item Speaks of failures displayed in a published service