GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Is there a Autocomplete / Autosuggestions Function ?  XML
Forum Index -> General
Author Message
tronix



Joined: 05/09/2014 14:28:05
Messages: 1
Offline

Hello, i want to use the Geonames API for my iOS App but i need a Autocomplete / Autosuggestions Funktion similar to the Google Maps Autocomplete Service --> https://developers.google.com/places/documentation/autocomplete?hl=en

Does the Geonames API implement such Functionality ?

Cheers
marc



Joined: 08/12/2005 07:39:47
Messages: 4412
Offline

Hi Tronix

The search service has a name_startsWith parameter which can be used for autocomplete:
http://www.geonames.org/export/geonames-search.html

Marc

[WWW]
plancton



Joined: 19/09/2014 15:42:31
Messages: 1
Offline

@Marc
Is it possible to autocomplete a country field with country name strictly beginning by "serach terms" ? With http://api.geonames.org/searchJSON?name_startsWith=g&maxRows=10&featureCode=PCLI&style=MEDIUM&orderby=relevance&username=demo, I get 63 results including China as most relevant result (because it is based on name and not only country name which is in this case Gweriniaeth Pobl Tsieina )

@Tronix
A nice example of javascript autocomplete based on json web service is given here : http://www.geonames.org/export/ajax-postalcode-autocomplete.html
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team