Latitude/Longitude not being returned with address

Showing 1-10 of 10 messages
Latitude/Longitude not being returned with address Rob Zmudzinski 6/12/13 2:30 PM
I'm not seeing any Latitude/Longitude in the return values/business. Only street addresses. Is there something I'm missing?

My query is


and it seems as if the coordinate object within the location object of each business is missing.

The result from the query is...


{"region": {"span": {"latitude_delta": 0.11197800000000058, "longitude_delta": 0.10020299999999338}, "center": {"latitude": 37.844010999999995, "longitude": -122.4498985}}, "total": 2975, "businesses": [{"is_claimed": true, "rating": 4.5, "mobile_url": "http://m.yelp.com/biz/gary-danko-san-francisco", "rating_img_url": "http://s3-media2.ak.yelpcdn.com/assets/2/www/img/99493c12711e/ico/stars/v1/stars_4_half.png", "review_count": 3341, "name": "Gary Danko", "snippet_image_url": "http://s3-media4.ak.yelpcdn.com/photo/5JegzfG9o6G1CbGgIKGOog/ms.jpg", "rating_img_url_small": "http://s3-media2.ak.yelpcdn.com/assets/2/www/img/a5221e66bc70/ico/stars/v1/stars_small_4_half.png", "url": "http://www.yelp.com/biz/gary-danko-san-francisco", "phone": "4157492060", "snippet_text": "Customer Service: Top notch!\n\nEnvironment: Dark, small, classy.\n\nFood: Standouts were definitely the Roast Maine Lobster (+ potato pur\u00e9e!), \u0026 Chocolate...", "image_url": "http://s3-media2.ak.yelpcdn.com/bphoto/lansxaYjxNSWAEuDSUl-NA/ms.jpg", "categories": [["American (New)", "newamerican"]], "display_phone": "+1-415-749-2060", "rating_img_url_large": "http://s3-media4.ak.yelpcdn.com/assets/2/www/img/9f83790ff7f6/ico/stars/v1/stars_large_4_half.png", "id": "gary-danko-san-francisco", "is_closed": false, "location": {"city": "San Francisco", "display_address": ["800 N Point St", "Russian Hill", "San Francisco, CA 94109"], "neighborhoods": ["Russian Hill", "Fisherman's Wharf"], "postal_code": "94109", "country_code": "US", "address": ["800 N Point St"], "state_code": "CA"}}, {"is_claimed": true, "rating": 4.5, "mobile_url": "http://m.yelp.com/biz/koja-kitchen-san-francisco-3", "rating_img_url": "http://s3-media2.ak.yelpcdn.com/assets/2/www/img/99493c12711e/ico/stars/v1/stars_4_half.png", "review_count": 365, "name": "KoJa Kitchen", "snippet_image_url": "http://s3-media1.ak.yelpcdn.com/photo/xNSE86kFAIxUJAN2Q5ed9Q/ms.jpg", "rating_img_url_small": "http://s3-media2.ak.yelpcdn.com/assets/2/www/img/a5221e66bc70/ico/stars/v1/stars_small_4_half.png", "url": "http://www.yelp.com/biz/koja-kitchen-san-francisco-3", "phone": "4159927394", "snippet_text": "My absolute favorite food truck at Moveable Feast! I almost always get the combo of the BBQ chicken \u0026 pineapple with the kamikaze fries! The kamikaze fries...", "image_url": "http://s3-media1.ak.yelpcdn.com/bphoto/CSniHvKmPDl8vHHnaUh3OQ/ms.jpg", "categories": [["Korean", "korean"], ["Japanese", "japanese"], ["Food Trucks", "foodtrucks"]], "display_phone": "+1-415-992-7394", "rating_img_url_large": "http://s3-media4.ak.yelpcdn.com/assets/2/www/img/9f83790ff7f6/ico/stars/v1/stars_large_4_half.png", "id": "koja-kitchen-san-francisco-3", "is_closed": false, "location": {"city": "San Francisco", "display_address": ["Marina/Cow Hollow", "San Francisco, CA 94123"], "neighborhoods": ["Marina/Cow Hollow"], "postal_code": "94123", "country_code": "US", "address": [], "state_code": "CA"}}, {"is_claimed": true, "rating": 4.5, "mobile_url": "http://m.yelp.com/biz/tanguito-san-francisco", "rating_img_url": "http://s3-media2.ak.yelpcdn.com/assets/2/www/img/99493c12711e/ico/stars/v1/stars_4_half.png", "review_count": 262, "name": "Tanguito", "snippet_image_url": "http://s3-media3.ak.yelpcdn.com/photo/ZpsEmNa8lq3mWF1EiS8V5A/ms.jpg", "rating_img_url_small": "http://s3-media2.ak.yelpcdn.com/assets/2/www/img/a5221e66bc70/ico/stars/v1/stars_small_4_half.png", "url": "http://www.yelp.com/biz/tanguito-san-francisco", "phone": "4155774223", "snippet_text": "Que ricooo! It makes me go tango dancing.\nWhen you hear pollo ( posho) instead of pollo  from inside the truck you can be sure they are authentic...", "image_url": "http://s3-media3.ak.yelpcdn.com/bphoto/WDyO6D4e00NDaND42JjYqg/ms.jpg", "categories": [["Argentine", "argentine"], ["Food Stands", "foodstands"]], "display_phone": "+1-415-577-4223", "rating_img_url_large": "http://s3-media4.ak.yelpcdn.com/assets/2/www/img/9f83790ff7f6/ico/stars/v1/stars_large_4_half.png", "id": "tanguito-san-francisco", "is_closed": false, "location": {"cross_streets": "Beach St \u0026 Jefferson St", "city": "San Francisco", "display_address": ["2850 Jones St", "(b/t Beach St \u0026 Jefferson St)", "North Beach/Telegraph Hill", "San Francisco, CA 94133"], "neighborhoods": ["North Beach/Telegraph Hill", "Fisherman's Wharf"], "postal_code": "94133", "country_code": "US", "address": ["2850 Jones St"], "state_code": "CA"}}]}


Re: Latitude/Longitude not being returned with address Fabian Canas 6/16/13 6:10 PM
I just started consuming the service a couple of days ago and noticed that the coordinates were not ever in the response. Now when I look at the documentation, the coordinate doesn't seem to be listed as something we should expect to receive. I could have sworn I say it there when I first started. This API could become significantly less useful if we're not getting coordinates for businesses.
Re: Latitude/Longitude not being returned with address sultan bibers 6/18/13 11:33 PM
I also face this issue, but here is something that when I give the info of my old yelp account then it return coordinate info and when I put new yelp user info, then there is no coordinate.. :(
Re: Latitude/Longitude not being returned with address Ian MacBean 6/20/13 10:10 AM
Hi folks, thanks for your comments. Latitude and longitude coordinates have been removed from API returns for newly registered keys - we're working on clarifying documentation on the developer's site. You'll need to utilize a 3rd party geocoding service to parse address information. 

Ian MacBean
Yelp Partner Relations
Re: Latitude/Longitude not being returned with address Fabian Canas 6/20/13 5:00 PM
That's very inconvenient. In order to show search results on a map I'll have to make the search call, parse the address objects, and then make a geo-coder request for each one? I'll likely have to use a different source for local place data. 
Re: Latitude/Longitude not being returned with address Ian MacBean 6/21/13 9:44 AM
Thanks for the feedback. We understand the inconvenience, and this isn't a decision we made lightly, but was a necessary change from our end. 
Re: Latitude/Longitude not being returned with address Darryl Kuhn 6/25/13 12:10 PM
Hi Ian - is there a place to vote on this feature or provide feedback to a product manager? As Fabian states it's hugely inefficient to make independent geocoder calls for each result, not to mention that most geocoding services have rate limits meaning it substantial delays in rendering points on a map. Like Fabian it probably means I'll have to use another places service (e.g. google places), though I'd much rather include yelp data.

Thanks,
Darryl
Re: Latitude/Longitude not being returned with address Ian MacBean 6/26/13 11:50 AM
Hi Darryl - this is as good a place as any; I work closely with our product team and am happy to relay feedback and many of them are subscribers to this list as well. With that said, this decision was driven by contractual obligation, not product strategy. 
Re: Latitude/Longitude not being returned with address Rob Zmudzinski 7/2/13 4:32 PM
Hi Ian,
  Thanks for filling in the blanks on the missing data there. Totally understand that Yelp isn't a source of Geo data but of reviews.
I used Map Quest to fill in. I believe they support up to 100 requests at a time so two Web Service calls instead of one. Not the end
of the world. I've posted a demo on code project if anyone would like to grab the code it's free for the taking...

Demo is here...


Just a tutorial but Ian could you let me know if I've met the user requirements (Yelp logo etc, etc)? 
If not let me know and I'll correct or take it down. Thanks!
Re: Latitude/Longitude not being returned with address Iñaki Villar 8/13/13 9:32 AM
Hi. 
Thanks Rob for your code. 
I´m having same problems. Now my company is migrating from Qype and we find that for our apps don´t have locations of business.  
I understand that Yelp has  her own policy, but did you think about Qype Api Users...  Qype was very popular in Germany
We have only time until December, and I don´t know if our users will be happy with poor UX of geocodig services for yelp requests.

+1 for latitude/longitude response


Iñaki