[GIS] How to find a county fips given a yahoo woeid

county

I've used the Yahoo API to pull some woeids for counties. I need to map those woeids back to fips codes in order to associate them back to other data in my database, but I can't seems to figure out how to get a fips given a woeid.

Yahoo's concordance API handles the other direction. With that, I can get a woeid for a given fips code, but how do I go the other direction?

Thanks!

Best Answer

You can use the YQL console to find all kinds of concordance for a given WOEID, eg. for Austria the query is 'select * from geo.concordance where namespace="woeid" and text="23424750"', try the following link and click the 'TEST' button.

http://developer.yahoo.com/yql/console/#h=select%20*%20from%20geo.concordance%20where%20namespace%3D%22woeid%22%20and%20text%3D%2223424750%22

Related Question