This page simply validates a coordinate Point - a double composed of a decimal latitude and decimal longitude.
I built it to test my sanitizing & validation code.
Following the same rules as for latitude and longitude, I want to:
Trim whitespace; Strip slashes; Convert html.
Remove degree (°) signs.
Truncate (not round) to 6 digits past the decimal.
Trim leading zeros: "-005.5" --> "-5.5".
Begin with zero: ".6" --> "0.6".
Correct negative zero: "-0" --> "0".
Accept latitudes from -90 to 90 and longitudes from -180 to 180.
Welcome to KML Workbench, my collection of tools, data and resources for all things KML.
What is KML? The Keyhole Markup Language is a data format used to display information on digital maps and globes, like Open Street Maps and Google Earth.
This tutorial highlights many of the features of the language.
I've been a Google Earth junkie since its early days and have built up a pile of data and sources that I'll be sharing here.
Along the way, I've also built tools to parse and compose KML with Notepad++ & Excel macros, Java and JAK.
Over time, I'll work to clean them up and make them available here.
For the curious, the background is a portion of the 1911 USGS quad of Cataldo, Idaho.
It's one of my favorite places to be, deep in the Coeur d'Alene Mountains.
The full image can be viewed here.