I want to fetch some weather data via latitude and longitude using yahoo query. but it seems this query is not available now. the query is below:
select * from w
This works for me(you should switch to the table geo.places(1)):
...
query = "SELECT * FROM weather.forecast " +
"WHERE woeid in (" +
"SELECT woeid " +
"FROM geo.places(1) " +
"WHERE text=\"(%1$s, %2$s)\") " +
"AND u='c'";
... and then:
query = String.format(query, location.getLatitude(), location.getLongitude());