Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

What is the best way to plot GPS coordinates on a Google Map?

Are there any tools that can do that (written in python specifically)?

share|improve this question
2  
Are you interested in speaking to the GPS directly, or you have a GPX or equivalent file you'd like to convert? –  scw Aug 13 '10 at 19:39
1  
Please fix the typo in the question; it's disrupting my sense of balance in the universe ;) –  JasonBirch Aug 13 '10 at 23:38
add comment

3 Answers 3

up vote 7 down vote accepted

In Python as asked (Convert GPS .gpx to KML) gpx2kml—Simple Python program to convert a GPX file to a Google Maps KML file http://beej.us/gps/

Then use

var ctaLayer = new google.maps.KmlLayer('http://gmaps-samples.googlecode.com/svn/trunk/ggeoxml/cta.kml'); ctaLayer.setMap(map); }

Example for Google Maps API v3 http://code.google.com/apis/maps/documentation/javascript/examples/layer-kml.html

share|improve this answer
    
Awesome. That's what I was looking for. –  Frank Aug 16 '10 at 17:37
add comment

There are probably a lot of tools and ways for doing this. You didn't specify in which format you have GPS coordinates so i will assume that they are in downloaded from GPS device in gpx format. If that's the case, you can use online converter to kml and then display kml on to Google Map or you can use this tool.

If you would like to use python you can use GDAL/OGR lib to convert almost any format to desired one, in your case probably kml.

share|improve this answer
add comment

You could try http://www.gpsvisualizer.com/

Or if it doesn't have to be Google try a custom online mapping application like Geocommons

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.