GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Bug - Different latitude and longitude in API and normal search  XML
Forum Index -> FAQ - frequently asked questions
Author Message
sagilapidot



Joined: 30/05/2023 15:04:18
Messages: 1
Offline

I encountered a weird behavior when I use the geonames api, and the geonames normal search. They are returning different coordinates.

When I use the normal search of the geonames, for example:
http://www.geonames.org/search.html?q=grove+port&country=GB

I get Latitude: N 53° 36' 12, Longitude: W 0° 43' 11''

But when I use the api to do the same search:
http://api.geonames.org/search?name=grove%20port&country=gb&username=MyUserName&

I get Latitude: 53.60348, Longitude: -0.71986 .

This happens for many (if not all) different locations, not just this one.
The correct coordinates is the one returned by the normal search and not the api result.
Anyone know why is this happening?

Thanks in advance!
 
Forum Index -> FAQ - frequently asked questions
Go to:   
Powered by JForum 2.1.5 © JForum Team