GNOME Bugzilla – Bug 305712
gweather lists two weather locations both called "Charlottetown"
Last modified: 2005-06-09 14:42:23 UTC
Please describe the problem: In gweather, under North America -> Canada -> Prince Edward Island, there are two locations, both titled "Charlottetown". One has the code CYYG and the other is CWYG. CYYG is the "Charlottetown Airport" and should be labelled as such. CWYG is a downtown Charlottetown weather station and can remain "Charlottetown" Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 46968 [details] [review] Patch to rename CYYG from "Charlottetown" to "Charlottetown Airport" Here's a patch to rename the CYYG location from "Charlottetown" to "Charlottetown Airport", so it doesn't have the same name as the other Charlottetown weather station.
I would like to propose a use of the <city> tag. <city> <_name>Charlottetown</_name> <location> <_name>Airport</_name> ... </location> ... </city> There is a DTD available for you to test the file with using xmllint.
Created attachment 47506 [details] [review] Updated patch to use CITY tag Good call. Here's an updated patch that uses the City tag as you recommend.
That looks great. Do you have commit access?
2005-06-09 Davyd Madeley <davyd@madeley.id.au> * Locations.xml.in: Fix Charlottestown. Closes bug #305712.