Generating weather maps
Brought to you by:
iridium
From: Jonas K. <me...@j0...> - 2004-03-03 20:22:37
|
Hello there, as Martin posted some days ago, I developed a little weather map with the help of phpWeather(see: http://www.j0nes.de/wetter/ - be patient, a lot of METARs have to be fetched *g* - but weather.noaa.gov seems to be down, so no data for now). Together with the idea of having lat/long-data for every station in the database, it would be possible to generate those maps for every country on the fly. I just checked how to figure out the positions on the map with latitude and longitude, and this works quite well - assuming that we have the exact location and range of the map. A problem might be to find suitable map data for each country. But... I found a nice Sourceforge project called GeoClass. It has some very nice features such as converting lat/long-positions to x/y-positions, getting position data from DB and storing them in a GeoObject or, even better, generating maps out of a .e00-textfile. You can find this project here: http://sourceforge.net/projects/geoclassphp/ I will have to take a closer look at this project. With the help of those classes weather map generation might get a lot easier. Cu Jonas Kaufmann |