Different results on similar queries

1 view
Skip to first unread message

wesdeboer

unread,
Jun 18, 2010, 5:56:00 PM6/18/10
to GeoAPI
I'm finding some inaccuracies in results I'm receiving from various
queries I'm making. Below are two queries I've made for a keyword
search on Starbucks within Manhattan, the first has a limit of 100 and
returns the lat/lon of 40.751/-73.9971, while the second query only
has the limit change to 10 and the lat/lon now becomes
40.741928/-74.002024.

Why is limiting the results to 10 from 100 returning different lat/
lon? How is one to know which is accurate?

http://api.geoapi.com/v1/e/manhattan-ny/keyword-search?limit=100&apikey=demo&pretty=1&q=starbucks

{
"guid": "starbucks-coffee-w-17th-st-new-york-ny-10011",
"meta": {
"name": "Starbucks Coffee",
"views": [
"foursquare",
"listing",
"weather",
"twitter",
"flickr",
"youtube"
],
"userviews": [],
"shorturl": "http://geo.am/Uxvxlm",
"geom": {
"type": "Point",
"coordinates": [
-73.9971,
40.751
]
},
"type": "business"
}
},

http://api.geoapi.com/v1/e/manhattan-ny/keyword-search?limit=10&apikey=demo&pretty=1&q=starbucks

{
"guid": "starbucks-coffee-w-17th-st-new-york-ny-10011",
"meta": {
"name": "Starbucks Coffee",
"views": [
"foursquare",
"listing",
"weather",
"twitter",
"flickr",
"youtube"
],
"userviews": [],
"shorturl": "http://geo.am/Uxvxlm",
"geom": {
"type": "Point",
"coordinates": [
-74.002024,
40.741928
]
},
"type": "business"
}
},
Reply all
Reply to author
Forward
0 new messages