|
|
|
Yojimbo 1.5 from Bare Bones Software: Your effortless, reliable information organizer for Mac OS X. It will change your life, without changing the way you work. Download the demo or buy it today! <http://www.barebones.com/products/yojimbo/>
|
TidBITS TidBITS TidBITS Talk 
Automated/batch lookup of longtitude/latitude for city lists? Dieder Bylsma (apparently) - 12:51pm Jan 23, 2006 PSTvia emailDoes anybody know of a pre-existing solution for doing an automated lookup
and annotation of a list of cities/towns for particular countries?
i.e.
Seattle, WA, USA
Sydney, NSW, Australia
Cairo, Egypt
etc. and then get the lat/long coordinates?
Mark as Read
|
|
Re: Automated/batch lookup of longtitude/latitude for city lists?
|
|
 |  |
|
|
Re: Automated/batch lookup of longtitude/latitude for city lists?
> Does anybody know of a pre-existing solution for doing an automated lookup
> and annotation of a list of cities/towns for particular countries?
I *just* this afternoon have been working on this problem. The solution I
came up with was to use Yahoo's geocoding API to translate (via PHP) a list
of city/states into lat/long. Unfortunately, I was unable to find a similar
and free web service for doing the same thing for international locations.
If anyone knows of a service for international locations, please let me know!
Meanwhile, the yahoo conversion for US-based locations that I've been using is:
http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&city=Sunnyvale&state=CA
This spits back an XML document with latitude/longitude.
My mass-conversion PHP script is not ready for public consumption, but if
anyone is interested in it in its current state, I'd be happy to email it to
you.
Thanks,
--
David McLaughlin
|
|
 |  |
|
|
Re: Automated/batch lookup of longtitude/latitude for city lists?
You can go here < http://www.bcca.org/misc/qiblih/latlong_us.html> and
get the data for pretty much any U.S. city. Shouldn't be too
difficult to put this into an Excel spreadsheet for future lookups.
This page < http://www.astro.com/atlas> actually does a lookup. If you
know any programming language (including scripting languages like
Perl or Python), it shouldn't be too difficult to figure out the
string to send for the GET method used by the web page.
Not too sure exactly what you were looking for.
=======================================
Well, I've wrestled with reality for 35 years, doctor,
and I'm happy to state I finally won out over it."
-- Elwood P. Dowd
=======================================
David Weintraub
david  weintraubworld.net
david  weintraub.name
|
|
 |  |
|
|
Re: Data Mining
On 23 Jan 2006, at 22:36 , Chris Pepper wrote: Tom Owad did this for "Data Mining 101: Finding Subversives with Amazon Wishlists" <http://www.applefritter.com/bannedbooks>. That is stunning. Impressive. Oh yes, and really really scary!
|
|
 |  |
|
|
Re: Automated/batch lookup of longtitude/latitude for city lists?
On 1/25/06 6:29 PM, "Lewis Butler" <gkreme gmail.com> wrote:
> Tom Owad did this for "Data Mining 101: Finding Subversives with Amazon
> Wishlists" <http://www.applefritter.com/bannedbooks>.
Not being much interested in coding, all that stuff is so eye-glazing for me that I can't wade through it to find out if there's any proof in the pudding. As far as I see, there isn't.
It seems to be theory over reality, the bane of Modern life.
|
|
|
TidBITS TidBITS TidBITS Talk Automated/batch lookup of longtitude/latitude for city lists?
|
|
|