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:
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.