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

c# - Unity IoC Lifetime per HttpRequest for UserStore -

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

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -