Many different file formats, including proprietary formats, are used to store point of interest data, even where the same underlying WGS84 system is used.   Some of them will be described here.
In the article How to: KML tools you can read how to create these file formats and in help for kml file you read how to solve problems.
Keep in mind that a gpx or kml file should be public reachable for the google renderer. Google renders the file on its own servers and send it to the clients browser. With the Geoxml renderer you can publish a file locally on a localhost.


GPX, or GPS eXchange Format is an XML schema designed as a common GPS data format for software applications.

In GPX, a collection of points, with no sequential relationship (the county towns of England, say, or all Skyscrapers in New York), is deemed a collection of individual waypoints. An ordered collection of points may be expressed as a track or a route. Conceptually, tracks are a record of where a person has been, routes are suggestions about where they might go in the future. For example, each point in a track may have a timestamp (because someone is recording where and when they were there), but the points in a route are unlikely to have timestamps, because the author is suggesting a route which nobody might ever have traveled.
The minimum properties for a GPX file are latitude and longitude for a single waypoint. All other variables are optional.
A description of the GPX can be found here and an an example.

Example of GPX file:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

<gpx xmlns="" xmlns:gpxx="" xmlns:gpxtpx="" creator="Oregon 400t" version="1.1" xmlns:xsi="" xsi:schemaLocation="">
<link href="">
<text>Garmin International</text>
<name>Example GPX Document</name>
<trkpt lat="47.644548" lon="-122.326897">
<trkpt lat="47.644548" lon="-122.326897">
<trkpt lat="47.644548" lon="-122.326897">

Keyhole Markup Language (.kml and .kmz)

Keyhole Markup Language (KML) is an XML notation for expressing geographic annotation and visualization within Internet-based, two-dimensional maps and three-dimensional Earth browsers. KML was developed for use with Google Earth, which was originally named Keyhole Earth Viewer. It was created by Keyhole, Inc, which was acquired by Google in 2004. KML is an international standard of the Open Geospatial Consortium.
The KML file specifies a set of features (place marks, images, polygons, 3D models, textual descriptions, etc.) for display in Google Earth, Maps and Mobile, or any other geospatial software implementing the KML encoding. Each place always has a longitude and a latitude. Other data can make the view more specific, such as tilt, heading, altitude, which together define a "camera view". KML shares some of the same structural grammar as GML. Some KML information cannot be viewed in Google Maps or Mobile.

KML files are very often distributed in KMZ files, which are zipped files with a .kmz extension. These must be legacy (ZIP 2.0) compression compatible (i.e. stored or deflate method), otherwise the .kmz file might not uncompress in all geobrowsers.

A description of the KML can be found here and a reference of Google here.
For examples, see:

Example KML File:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="">
<name>New York City</name>
<description>New York City</description>

Article written by Hélène Larocque.