According to the latest reply to this answer, you should switch to the table geo.places and remove the gflags="R" part.
I tried it in the YQL console and it seems to work:
select * from weather.forecast where woeid in (SELECT woeid FROM geo.places WHERE text="(latitude,longitude)")