basics |
Google
Earth® allows creating KML files,
that may be used to show point locations, line arrays,
polygons or bitmaps on top of Google Earth´s satellite
image surface.This is a very easy way of showing
sample locations, "georeferencing" (or maybe
google-earth-referencing, since the georeferencing of
the GE satellite images is not always precise) a
geological map or just showing a friend where you live
or where the BBQ tonight will happen...
|
example
GE screen
simple
kml - file
multiple
placemarks in one file
defining
buildings in a kml file
overlay
maps on Googles Earth
fix
if kml-files from your server do not open in GE
watch
and play route in Google Earth
fix
if Google Earth does not connect to server
|
|
example
screenshot for the below KML file for a simple
placemark.
by default GE will zoom not only to 9.33 km eye alt as
shown her but further down to 1 km which is too much
for the resolution of the bora-Bora picture in GE. By
the way, the water in the Bora Bora lagoon really
looks like that
:-).
you
can either download it from the link or copy and paste
the lines into the Windows plain text editor (Notepad)
and save it as borabora.kml (not borabora.kml.txt....
switch file type from text files to all files in the
save as window).
If
you have Google
Earth® installed, double clicking on
borabora.kml either from this server or from your
computer should open the program and display the
screen on the left.
|
minimum
.KML file
borabora.kml |
<kml
xmlns="http://earth.google.com/kml/2.0">
<Placemark>
<name>Bora-Bora
Airport</name>
<Point>
<coordinates>-151.752044,-16.443118</coordinates>
</Point>
</Placemark>
</kml>
|
Leaving
out all optional stuff this is a minimum file to
display a standard icon and a placemark name at a
certain place on (googles) earth and center the view
on it. Without a view height (range) GE zooms very far
down (1 km).
|