GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Difference between getting data from webservice and geonames website  XML
Forum Index -> General
Author Message
forcer



Joined: 15/10/2007 17:50:20
Messages: 2
Offline

Hello,

Firstly, apologize if this is something obvious but I went through the forum archive and couldn't get an answer.

WHen I do a search tghrough geonames website then I get a result:

http://www.geonames.org/postalcode-search.html?q=Langridge&country=GB

When I do it through the API then I don't get any results:

http://ws.geonames.org/search?q=Langridge,united%20kingdom&maxRows=10

but this works (another UK small town/suburb)
http://ws.geonames.org/search?q=bedminster,united%20kingdom&maxRows=10

I have tried all the APIs and was changing syntax as well and I can't reproduce the same behaviour on the API as its on Geonames website. Also, I have downloaded the database dump and the data for this town is missing there as well.

Can someone please help?
marc



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

Hi

There are two different data sets. One is searching on the postal code data set and the other on the general place name data set.

There are two different search pages on the web site and also two different API services.

Regards

Marc

[WWW]
forcer



Joined: 15/10/2007 17:50:20
Messages: 2
Offline

Marc,

Thanks for the explanation. In the end I have decided I will not be using geonames as it looks like its not very accurate. I have programmed a script that uses Virtual Earth API and finds me a geolocation coordinates for the small towns in UK.

Cheers,

forcer
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team