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 310739 - Misc updates to Locations.xml
Misc updates to Locations.xml
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: gweather
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
: 313102 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-07-18 11:32 UTC by Loïc Minier
Modified: 2005-12-06 18:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
misc fixes (8.79 KB, patch)
2005-07-18 11:33 UTC, Loïc Minier
needs-work Details | Review

Description Loïc Minier 2005-07-18 11:32:19 UTC
Hi,

Michael Shields provided in Debian bug http://bugs.debian.org/318809 a patch
fixing misc things in gweather's Locations.xml.

Please see his message and the patch I'll attach for details:
"
The attached patch corrects several issues with gweather for locations          
in and near Washington, DC.                                                     
                                                                                
1. Weather forecasts for Washington, DC were unavailable.  The patch            
   changes to a valid NOAA IWIN zone, DCZ001.                                   
                                                                                
2. The latitude and longitude given for Washington, DC were actually            
   those for National Airport in Virginia.  The patch changes this to           
   use the Washington, DC Zero Milestone, the official measuring point.         
   This caused slightly inaccurate sunrise and sunset times.                    
                                                                                
3. Dulles Airport is listed under Washington, DC, although it is                
   actually 40 km to the west, twice as far as the size of the District         
   itself.  The DC entry is a duplicate of the Virginia entry except            
   with no forecast or radar information and different translations.            
   The patch deletes the DC entry.                                              
                                                                                
4. The Virginia version of Dulles Airport uses the abbreviation "Arpt",         
   not used for any other airport including those with much longer names.       
   The patch changes this to the conventional "Airport".                        
"

Bye,
Comment 1 Loïc Minier 2005-07-18 11:33:33 UTC
Created attachment 49348 [details] [review]
misc fixes
Comment 2 Danielle Madeley 2005-07-18 14:20:46 UTC
Please patch against Locations.xml.in from CVS HEAD. The Locations.xml file is
generated automatically, so there is little point in patching it. It is also
updated frequently, so it's easiest if you use the HEAD version. You can get
this using the web interface
http://cvs.gnome.org/viewcvs/gnome-applets/gweather/Locations.xml.in

When considering the location of the airport, is the airport considered by many
to be a part of Washington DC or a part of Virginia? Technical locations matters
less then perceived location in the case of the location tree.

Thanks for spotting these errors, I look forward to an updated patch.
Comment 3 Allison Karlitskaya (desrt) 2005-08-21 04:40:30 UTC
If you ask what city Dulles Airport in in you'd probably think Washington.

For purposes of weather reporting, though, someone who actually lives in
Virginia is more likely to care about weather at Dulles whereas someone who
lives in DC will want the "Washington" reporting station.

See also largely similar bug #313102.  (The patch there addresses 2 of the above
issues).
Comment 4 Allison Karlitskaya (desrt) 2005-08-22 03:49:46 UTC
*** Bug 313102 has been marked as a duplicate of this bug. ***
Comment 5 Allison Karlitskaya (desrt) 2005-12-06 18:05:41 UTC
2005-12-06  Ryan Lortie  <desrt@desrt.ca>

        * Locations.xml.in: Cleaned up the Dulles/Washington, DC/Virginia mess
          by setting the Zero Milestone for Washington, updating info between
          the two copies of Dulles and adding Arlington, VA.  These fixes
          should close bug #313102 and bug #310739.