GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
How can I get unique major cities in the world  XML
Forum Index -> Discussion of GeoNames Toponyms
Author Message
kiran.kesarkar



Joined: 05/05/2021 20:27:26
Messages: 1
Offline

Hello,

We are developing travel booking application. We tried below services. However, it returns the duplicate cities. How to get unique city so that user will select the city and proceed for booking.

"http://api.geonames.org/searchJSON?q=" + search + "&isNameRequired=true&maxRows=" + _maxRows + "&username=" + apiusername;

http://api.geonames.org/searchJSON?name_startsWith=PUNE&featureclass=p&featurecode=PPL&maxRows=50&style=SHORT

Thank you

 
Forum Index -> Discussion of GeoNames Toponyms
Go to:   
Powered by JForum 2.1.5 © JForum Team