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

Maven Crash Course - Learn Power Query, Power Pivot & DAX in 15 Minutes

"Data Prep & Exploratory Data Analysis" course by Maven Analytics

Oracle Cloud Infrastructure 2024 Generative AI Professional Course & Certification Exam (1Z0-1127-24)