views:

355

answers:

2

Hi,

i need to retrieve all the city names from a specific country using openstreet map or google maps. is there any API available?

or is there any other way of getting this world geographic data?

Cheers

+2  A: 

Download the data from http://www.geonames.org/

Tom Clarkson
Thanks Tom.. :) i ll look into that
Ramesh Vel
+1  A: 

I don't know if you're restricted to google maps or openstreet map but you might find taking a look at Yahoo's woeid interesting.

http://developer.yahoo.com/geo/geoplanet/

I've had a play around with this and it's extremely powerful.

azp74
thanks azp74.. that looks very promising.. :)
Ramesh Vel