| Author |
Message |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 07/11/2008 11:33:42
|
cehilton
Joined: 05/11/2008 23:33:38
Messages: 5
Offline
|
Marnace, France is at lat N44.837 lng E1.027
currently http://ws.geonames.org/findNearbyPlaceNameJSON?lat=44.837&lng=1.027 returns
{"geonames":[{
"countryName":"France",
"adminCode1":"97",
"fclName":"city, village,...",
"countryCode":"FR",
"lng":1.0333333,
"fcodeName":"populated place",
"distance":"0.6447",
"fcl":"P",
"name":"Berbiguières",
"fcode":"PPL",
"geonameId":3033430,
"lat":44.8333333,
"population":194,
"adminName1":"Aquitaine"
}]}
http://ws.geonames.org/findNearbyPlaceName?lat=44.837&lng=1.027 returns the correct results
-<geonames>
-<geoname>
<name>Marnac</name>
<lat>44.8376735947423</lat>
<lng>1.02679252624512</lng>
<geonameId>2995621</geonameId>
<countryCode>FR</countryCode>
<countryName>France</countryName>
<fcl>P</fcl>
<fcode>PPL</fcode>
<distance>0.0767</distance>
</geoname>
</geonames>
In addition, the location returned by findNearbyPlaceNameJSON? is not the current position for Berbiguières show by www.geonames.org. I corrected the postion approximately 24 hours ago. The postion returned by www.geonames.org for Berbiguières is N44.83384 / E1.04153.
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 09/11/2008 15:44:03
|
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
|
Hi
Synchronization of updates on all the servers in the GeoNames cluster is supposed to be instantaneously. Sometimes however it takes some time. Right now I think all servers return the same result for your reverse geocoding query.
Marc
|
 |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 12/11/2008 00:03:15
|
cehilton
Joined: 05/11/2008 23:33:38
Messages: 5
Offline
|
same problem for lat=44.93660 lng=1.01532 which is Les Eyzies-de-Tayac-Sireuil, France.
http://ws.geonames.org/findNearbyPlaceName?lat=44.93660&lng=1.01532
returns
−<geonames>
−<geoname>
<name>Les Eyzies-de-Tayac-Sireuil</name>
<lat>44.9333333</lat>
<lng>1.0166667</lng>
<geonameId>3001095</geonameId>
<countryCode>FR</countryCode>
<countryName>France</countryName>
<fcl>P</fcl>
<fcode>PPL</fcode>
<distance>0.3784</distance>
</geoname>
</geonames>
using same lat/lng but JSON form
http://ws.geonames.org/findNearbyPlaceNameJSON?lat=44.93660&lng=1.01532
returns different PPL
{"geonames":[{"countryName":"France","adminCode1":"97","fclName":"city, village,...","countryCode":"FR","lng":1.0166667,"fcodeName":"populated place","distance":"0.3784","fcl":"P","name":"La Mouthe","fcode":"PPL","geonameId":3007978,"lat":44.9333333,"population":0,"adminName1":"Aquitaine"}]}
I have subsequently corrected the location for La Mouthe but it has not had any effect yet. Regardless, I would think that the JSON form should return the same PPL for the same lat/lng if no changes have been made to the data recently.
Thanks.
|
|
|
 |
|
|
|
|