java - Fetch all towns/villages names using geonames api -


i new geonames api , need hierarchical results if select continent show countries , if select country need fetch states , on.

continent --> country --> state --> districts/cities --> towns --> villages.

i need build above hierarchy. using of geonames api able fetch till districts/cities unable fetch towns , villages particular district/city.

is geonames api doesn't have database or there way follow getting towns , villages...???

or else there separate api achieve task. fetching records country "india".

can 1 me on this. stuck on here.

thanq in advance

i suppose have answer in geonames discussion baord already, try 'p' option fclass.


Comments

Popular posts from this blog

What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project? -

Change the color of an oval at click in Java AWT -