HOW TO find the latitude, longitude of a location based on WOEID


Yahoo! has devised a unique identifier called the Where on Earth ID, or WOEID - for almost any named place on the Earth. This is used by APIs like Twitter Trends, flickr etc.

However, a majority of geo-location related APIs require latitude, longitude of a place to provide their services. So if you're building a mash-up that has to deal with latitude, longitude and WOEID, you can resolve a WOEID to a place with this call:
http://where.yahooapis.com/v1/place/2507854?appid=[YourYahooAppidHere]

Replace, 2507854 in the above example with the WOEID of the location whose co-ordinates you want to find.

The results can be requested in XML or JSON format.


Comments

Popular posts from this blog

HOW TO Filter Products on Open Food Facts by Country (India) Using DuckDB & Superset

This Week I Learned - Week 41, 2026