| Author |
Message |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 17/08/2009 04:56:05
|
TheGD
Joined: 17/08/2009 04:52:34
Messages: 3
Offline
|
I have implemented a reverse geo-code lookup using the findnearestAddressJSON call, but in some cases, the returned JSON package is missing a bunch of data points. As I understand the function, should it not return the NEAREST known address?
I submit certain LAT/LON pairs and in many cases all I get returned is the city and state...no street name or address.
Can someone explain this?
Thanks...a ton!
Matt G.
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 17/08/2009 07:36:50
|
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
|
It is difficult to say, without knowing the lat/lng we speak about. I would assume there is no other data available and this point.
Best
Marc
|
 |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 17/08/2009 12:45:58
|
TheGD
Joined: 17/08/2009 04:52:34
Messages: 3
Offline
|
Okay,
I downloaded a bunch of retail chain files from various POI sites and wanted to test the accuracy of the LAT/LON data. The csv files contain both LAT/LON and the actual address of the store. What I am finding however, is that the LAT/LON data isn't very accurate. For instance, if I run the find nearest Address JSON with the lat/lon in the file, about half the time it finds only the city and state...sometimes it finds the STREET, but no number and almost never the correct ZIP?
However, if I plug the ADDRESS into a geocoder, the LAT/LON is actually a bit different. If I run the newly found LAT/LON into the findNearestAddressJSON...it 'slightly more often' finds an address that is very close to the actual.
My goal here is to be able to determine as close to the actual address from the LAT/LON pair. I was under the assumption that the findNearestAddressJSON would ALWAYS give an address, even if not totally accurate...hence NEAREST being in the title of the function. I can list the LAT/LON pairs if you like...
Geb
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 18/08/2009 23:04:25
|
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
|
the service returns the closest address, if there is no house number available at this street segment then it does not return one. As simple as that.
|
 |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 19/08/2009 02:11:58
|
TheGD
Joined: 17/08/2009 04:52:34
Messages: 3
Offline
|
That is what I figured, but when I use the INTERACTIVE map version...ANYWHERE I click in or around the same LATLON pair I DO get an address. Is there a difference between the two implementations of the Reverse Geocode?
Geb
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 19/08/2009 06:14:38
|
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
|
The map on the documentation page is using the web service, they cannot be different. There is even a link below the address to the web service response at this location.
http://www.geonames.org/maps/reverse-geocoder.html
Marc
|
 |
|
|
 |
|
|