Google Blogoscoped

Forum

Lat/ long cells in Google Spreadsheets to KML?

Philipp Lenssen [PersonRank 10]

Friday, May 2, 2008
8 months ago470 views

I wanted to pass on this question. How does one go about converting lat long cells in a spreadsheet of this format...

Location Latitude Longitude
Aimere -8.84372 120.85683
Ao Wao 6.62278 99.6825
Bagamo -6.44005 38.90954
etc.

... into a KML file for use in Google Maps (or find some other way to display in Google Maps)?

Well, I found two approaches, earth.google.com/outreach/tuto ... and gmaps-samples.googlecode.com/s ... and I tried one and it worked, but it also seems kind of overkill for such a simple spreadsheet. Ideally one would figure this could be done with a gadget included in the spreadsheet (or perhaps as a Yahoo Pipe?).

Ionut Alex. Chitu [PersonRank 10]

8 months ago #

You can use the maps gadget from Spreadsheets. The first column should include lat/lon separated by a comma and the second column could include the location's name.

spreadsheets.google.com/pub?ke ...

Colin Colehour [PersonRank 10]

8 months ago #

[put at-character here]Ionut, that's pretty cool. Does it work with City/State names or State/Country names too?

This thread is locked as it's old... but you can create a new thread in the forum. 

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement (advertise here?) Find the right keywords for your campaigns at KeywordDiscovery.com Google Apps Hacks (book)
Advertise here?

 

This site unofficially covers Google™ and more with some rights reserved. You can subscribe to the feed, email your tips and join our forum!