Weather applet missing location: Bangalore, India

Bug #331908 reported by Arvind
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libgweather
Invalid
Medium
libgweather (Ubuntu)
Fix Released
Wishlist
Unassigned
Nominated for Karmic by Prashanth N S

Bug Description

Hi,

Distribution: Ubuntu 8.10
Package: libgweather1 2.24.1-0ubuntu1

The weather location database is missing Bangalore, India. Based on information from the two URLs below, I've come up with an entry. I've also verified that it works correctly.

http://en.wikipedia.org/wiki/Bangalore
http://www.flyhoward.com/AptSearch.aspx?Search=blr

The entry missing from Locations.xml is:

            <city>
                <name>Bangalore</name>
                <coordinates>12.966666 77.566666</coordinates>
                <location>
                    <name>Bangalore Airport / Bengaluru Airport</name>
                    <code>VOBG</code>
                    <coordinates>12.949986 77.668206</coordinates>
                </location>
            </city>

This should be in the "India" part of the Locations.xml file. Excerpt pasted:

        <country>
            <name>India</name>
            <iso-code>IN</iso-code>
            <fips-code>IN</fips-code>
            <timezones>
                <timezone id="Asia/Kolkata"/>
            </timezones>
            <tz-hint>Asia/Kolkata</tz-hint>
            ...

Thanks.

Related branches

Revision history for this message
Arvind (arvind-sv) wrote :

I missed out the international airport in Bangalore. Its code is VOBL. But, since it is about 40 kilometres (~ 25 miles) from the city, I believe that the previous snippet (for airport VOBG) is more representative of the weather of the city, at large. But, if you need the real international airport, its details are as below:

            <city>
                <name>Bangalore - International</name>
                <coordinates>12.966666 77.566666</coordinates>
                <location>
                    <name>Bangalore International Airport</name>
                    <code>VOBL</code>
                    <coordinates>13.198888 77.705555</coordinates>
                </location>
            </city>

Source: http://en.wikipedia.org/wiki/Bengaluru_International_Airport

Thank you.

Revision history for this message
Ted (tedks) wrote :

I'm attaching the debdiff for this change.

Changed in libgweather:
status: New → Confirmed
Changed in libgweather:
importance: Undecided → Wishlist
Revision history for this message
Luke Faraone (lfaraone) wrote :

Please also consider pushing this patch upstream.

@Ted:

libgweather uses a patch system, which allows changes like this to persist between package updates. https://wiki.ubuntu.com/PackagingGuide/PatchSystems explains how to use this, pretty much you check whether the package uses a patchsystem with "which-patch", and in this case, use "cdbs-edit patch PATCH_NAME", make your changes, exit the new shell it provided you, and then make your debdiff.

Revision history for this message
Alexander Sack (asac) wrote :

i extracted the diff, added it to the patchsystem and will sponsor it now. Thanks!

Please remember to send the patch upstream!!

Changed in libgweather:
status: Confirmed → Fix Committed
Revision history for this message
Alexander Sack (asac) wrote :

btw, not sure why bangalore international has the same location as "bangalore":

<name>Bangalore - International</name>
+ <coordinates>12.966666 77.566666</coordinates>

But well. seems to be ok in general.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libgweather - 2.25.91-0ubuntu2

---------------
libgweather (2.25.91-0ubuntu2) jaunty; urgency=low

  * fix LP: #331908 - Weather applet missing location: Bangalore, India;
    patch by Ted Smith <email address hidden>

 -- Alexander Sack <email address hidden> Mon, 23 Feb 2009 11:45:33 +0100

Changed in libgweather:
status: Fix Committed → Fix Released
Revision history for this message
Alexander Sack (asac) wrote :

forwarded patch to upstream bugzilla: http://bugzilla.gnome.org/show_bug.cgi?id=572839

Revision history for this message
Arvind (arvind-sv) wrote :

First of all. Thanks all of you for you very quick responses and the fix. You guys rock!

To Alexander Sack's question about the coordinates:

I saw that the XML tags are:

<city>
   <name>
   <coordinates>

So, I thought that the coordinates are for the city. Ideally, this entry should have been like this:

 <city>
                <name>Bangalore</name>
                <coordinates>12.966666 77.566666</coordinates>
                <location>
                    <name>Bangalore Airport / Bengaluru Airport</name>
                    <code>VOBG</code>
                    <coordinates>12.949986 77.668206</coordinates>
                </location>
                <location>
                    <name>Bangalore International Airport</name>
                    <code>VOBL</code>
                    <coordinates>13.198888 77.705555</coordinates>
                </location>
            </city>

The coordinates of the city remain the same, and there are two locations. But, the gnome weather applet (in the clock applet) does not seem to show locations. It seems to show cities. So, it probably won't show both locations.

Changed in libgweather:
status: Unknown → Invalid
Revision history for this message
Indian Art (goldfish-aol) wrote :

Hi,

I read the whole thread and am still not able to add Bangalore to the Weather Report 2.24.1.

I am not a technical person and am in the learning process.

Please could you let me know how I could add Bangalore to the Weather Report 2.24.1. I use Ubuntu 8.10 and have installed all the updates.

Thanks

Revision history for this message
Zaki Manian (zmanian) wrote :

This bug has not been fixed as of karmic and should be reopened

Revision history for this message
BK Singh (bksingh) wrote :

Hi,

I am facing problem to add Bangalore location in ubuntu weather applet. So please guide regard this.
Thanks
BK singh.

Changed in libgweather:
importance: Unknown → Medium
status: Invalid → Unknown
Revision history for this message
Zaki Manian (zmanian) wrote :

I believe this is fixed in Maverick

Changed in libgweather:
status: Unknown → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.