Hi, I have following requirements. 1. retrive all the city names of the given country 2. retrieve all the street names of the given city
is this possible in GeoPlanet API..?
Cheers Ramesh Vel
Be careful about what you are asking to do. In some countries (like the US), there are thousands of towns and some towns (like New York or London) have thousands of streets. GeoPlanet was designed to allow you to explore the world's geography rather than to generate long lists. GeoPlanet also does not currently provide any street information.
One possibility for generating a list of cities for a given country would be to use our GeoPlanet Data product. This product includes a text file containing all of the places known by GeoPlanet, along with their country code, place name, place type, and WOEID. You can easily extract place names and their WOEIDs for a given country code (such as US) and place type(such as Town). You are free to store this information in a database used by your application (subject to the Creative Commons-Attribution license)