GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Multiple feature classes for Java client  XML
Forum Index -> General
Author Message
michelesalvador



Joined: 16/01/2020 22:13:37
Messages: 1
Offline

I'm trying to use the GeoNames Java client in my Android app to auto-complete the place names written by the user.
Everything works fine except that is possible to set only one FeatureClass with the method ToponymSearchCriteria.setFeatureClass().

I see that the Search Webservice actually admits multiple feature classes, for example:
http://api.geonames.org/search?name=lombardy&featureClass=A&featureClass=P&username=demo
This is exactly what I'm looking for: search at the same time with A (administrative) and P (populated) feature classes.

Is there some way to make the Java client reflect this capacity of the Webservice?
Thanks
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team