Hand-crafting your metadata file
Here will look at how to get the geographical data out of a Google Earth kml file with a text editor, then repurposes it for our blog entry. This process applies to all operating systems - Windows, Linux, OS X and other Unix derivatives. For Mac OS X users then you might want to take a look at my KML import - for ecto (Mac OS X), KML Exporter (Mac OS X) and GEB Long Lat - for ecto (Mac OS X).
Overview:
- Stage 1 - Tags we are looking for
- Stage 2 - Finding the tags with in a typical kml file
- Stage 3 - Taking your data and adding as meta-data to your blog entry
Stage 1 - Tags we are looking for:
The tags that we are going to look for with in our kml file are longitude, latitude, altitude, range, tilt and heading for example:
Stage 2 - Finding the tags with in a typical kml file:
Here we have a kml file and in this case it's of Rome. You should be able to find the tag's quite easily with in the document.
Stage 3 - Taking your data and adding as meta-data to your blog entry
Here is a typical blog entry with the geo meta-data add at the end. All the end user will see is, Rome was one of the places I went to on my travels in Europe. As the rest of the entry is meta-data it is hidden from the end user. With the meta-data it's self you can see it's quite self explanatory what numbers have been copped and pasted from above.