PDA

View Full Version : World weather database - To use in any weather software.


twolf
21st February 2009, 03:03 PM
I'm building a weather tool in flash called W3D: http://forum.xda-developers.com/showthread.php?t=482115
http://img294.imageshack.us/img294/4827/screen01oy5.png

I recently wanted to add a city list from all the world, but the xml from HTC was too heavy and has over 3.000 variables that I didnt needed.

So I created a alternative database with small txt files, that can be easily updated and used on any software. With less variables to load, much smaller size and only the cities of each country to load separatly.

See it here: http://weather-cities.sytes.net

Any update/adition/bug correction/request post here. Cities can also be added thru the site (by email for now)...
If you need instructions on how to use this database with your software, talk about it here.:)

The city codes are used with something like this:
]http://vortex.accuweather.com/adcbin/netweather_v2/datav2.asp?zipcode=(+country code+) &metric=1&lang=eng&x=x[

Mr_Gee
21st February 2009, 04:55 PM
great stuff. tWolf
but don't you think this will be a bit too much work to maintain?
If I were you I'd go the accuweather way

twolf
21st February 2009, 09:17 PM
Well, the cities are many, but limited (and to be honest I dont expect many ppl rushing to help)... :D

Does accuweather have something like this? :/
all I found were huge incomplete xml's...

The city codes are used with something like this:
]http://vortex.accuweather.com/adcbin/netweather_v2/datav2.asp?zipcode=(+country code+) &metric=1&lang=eng&x=x[