views:

2513

answers:

2

I've been provided with a table of data which includes columns for latitude and longitude. The data is US only. What I've like to do is to feed this data to Google Maps or a similar tool like Live Maps and have the data points plotted.

Does anyone have a code sample or know of a library that makes this task simple? I can read the values if something else can plot them (or generate the JavaScript to do it). I'm familar with C#, PHP, Python etc so language is not a priority. My preference is something that the is simple and robust.

+2  A: 

You can plot in Google Earth by creating a special XML document known as a KVM document. See this tutorial for details.

I plotted all of our website visitor's coordinates using this plus a GeoIP service. Really fun stuff.

Eric J.
Direct link to Google KML tutorial : http://code.google.com/apis/kml/documentation/kml_tut.html
Hans B PUFAL
A: 

CSV is widely used in Google Maps mashups. You can find the code including the CSV parser here.

related questions