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

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -