BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-28-2005, 09:50 AM   #1 (permalink)
New Member
 
Join Date: Feb 2005
Location: FL
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default BB today and location ID for weather

Please Login to Remove!

How in the world can I find my location ID. I tried to select lookup location ID on my blackberry but it does nothing.


Im on OS 4.0 and have 1.4.1 BBtoday
Offline  
Old 02-28-2005, 11:32 AM   #2 (permalink)
New Member
 
Join Date: Feb 2005
Location: Toronto, Ontario
Model: 7130g
Carrier: rogers
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

It worked for me when I entered my city into the lookup area and selected 'lookup'.

You could always just go to weather.com and search for your city there. For instance, Toronto's page is:
http://www.weather.com/outlook/trave...om=search_city
so the location ID is CAXX0504.
Offline  
Old 02-28-2005, 11:46 AM   #3 (permalink)
New Member
 
Join Date: Feb 2005
Location: FL
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks soo much.. that did the trick
Offline  
Old 03-08-2005, 10:25 AM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2005
Model: 7100g
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can also do this:

Quote:
How It Works:
You first ask Weather.com for your city's location ID. This city can be any known city in the world. In order to get the location ID, we first need to search for the city's location ID. This can be done by accessing this url: http://xoap.weather.com/search/search?where=[city name] and providing the city as the query for the variable "where".

For example: Lets say we wish to know the weather in...Tokyo! The url would look lik this: http://xoap.weather.com/search/search?where=tokyo. Weather.com would now present us with an XML feed which basically includes the name of requested city/cities along with their state or country and the location id of the listed cities.
Here's how the output looks like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--This document is intended only for use by authorized licensees of The Weather Channel.
Unauthorized use is prohibited. Copyright 1995-2004, The Weather Channel Enterprises, Inc.
All Rights Reserved.-->
<search ver="2.0">
<loc id="JAXX0085" type="1">Tokyo, Japan</loc>
</search>

From the above XML output, we can see the city along with the country and the location id! It's located between the <loc> tags. From the location id, we can use it to rertrieve the current/latest weather for the city. The location id for our city (Tokyo) happens to be JAXX0085. Now that we have our city code, we can now obtain the weather forcast.
In order to do that, we need to request another XML feed from weather.com with this url: http://xoap.weather.com/weather/local/[loc id]?cc=*&prod=xoap&par=xxx&key=xxx&un it=m.
__________________
Cingular 8700C
Offline  
Old 03-08-2005, 04:34 PM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2005
Model: 9530
Carrier: Verizon
Posts: 152
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just entered my zip code and it worked perfectly.
__________________
Verizon 8130 - Back in Prime Time!!
Verizon Storm - gone
AT&T/Cingular 7280,7290,7130c,8100, 8310 - gone
Offline  
Old 03-15-2005, 05:05 PM   #6 (permalink)
Thumbs Must Hurt
 
MorningZ's Avatar
 
Join Date: Mar 2005
Location: Ft Lauderdale, FL
Model: 8100
Carrier: T-Mobile
Posts: 66
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'll put another "me too" for the zipcode thing...... as i went nuts last night mucking around weather.com's site looking for a tool to do the lookup.. just tried the Zip and it worked find (i read somewhere afterwards that this only works for America locales)
Offline  
Old 03-27-2005, 08:17 PM   #7 (permalink)
Thumbs Must Hurt
 
buttbutt's Avatar
 
Join Date: Feb 2005
Model: 8300
Carrier: Cing
Posts: 49
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default zip

another me too in a way. If you look through the above posts, and do go to the weather.com site and punch in the zip rather than finding a city, the zip is what shows up in the locale id anyway. It works.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.