After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 533787 - Use longitude/latitude-based interface for US forecast data
Use longitude/latitude-based interface for US forecast data
Status: RESOLVED FIXED
Product: libgweather
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: 2.22.0
Assigned To: libgweather-maint
libgweather-maint
: 510643 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-05-19 02:48 UTC by Dan Winship
Modified: 2014-02-18 23:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
first draft (11.94 KB, patch)
2008-06-18 19:59 UTC, Dan Winship
needs-work Details | Review

Description Dan Winship 2008-05-19 02:48:51 UTC
The interface we're currently using to get forecast data from NOAA depends on the use of "zone" codes that aren't very well-defined (and are therefore hard to assign correctly to newly-added locations).

It's possible to get forecasts from weather.gov based on longitude and latitude instead. Eg:

  http://forecast.weather.gov/MapClick.php?textField1=33.755&textField2=-84.39&TextType=4

textField1 is latitude and textField2 is longitude. Different values for TextType give different results, but "4" is probably most useful for us.
Comment 1 Dan Winship 2008-06-18 15:23:16 UTC
*** Bug 510643 has been marked as a duplicate of this bug. ***
Comment 2 Dan Winship 2008-06-18 19:59:45 UTC
Created attachment 113008 [details] [review]
first draft

My first attempt at this. Uses an XML interface that also provides English sentences, although if you compare it to the non-English version, you'll see that the sentences are generated pretty mechanically. Anyway, this interface doesn't work well, for the reasons described in bug 538787 comment 3, so we should use the NDFD interface instead.
Comment 3 Vincent Untz 2008-11-27 02:04:28 UTC
Setting status of the patch, based on Dan's comment.
Comment 4 Giovanni Campagna 2014-02-18 23:12:31 UTC
The IWIN backend already supports this interface. Closing.