GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Webservice Call Returns Different Result from Web GUI  XML
Forum Index -> General
Author Message
PaidGeek



Joined: 02/09/2016 07:20:48
Messages: 1
Offline

Making the Web Service call http://api.geonames.org/findNearestAddress?lat=37.451&lng=-122.18&username=demo (I used demo rather than my own account for security purposes) returns nothing, but the Web GUI returns three approximate addresses (see below). Any help with this is appreciated as I think there might be an issue with the web service.


Street place county state
Raymond Hill 30265 Coweta GA
I- 85 Coweta GA
I- 85 Coweta GA
 Description [Disk] Download
 Filesize 19 Kbytes
 Downloaded:  1470 time(s)

marc



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

the max distance is limited to 200m per default. You can increase it with the parameter 'radius':

http://api.geonames.org/findNearestAddress?lat=33.44244&lng=-84.686048&username=demo&radius=0.3

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team