Re: Generating weather maps
Brought to you by:
iridium
From: Phil P. <phi...@sw...> - 2004-03-04 00:10:26
|
Very nice. A simple workaround for the "it's not fast" issue would be to schedule (eg cron) the map generation rather than recalculating it for each Page View. I believe most METARS are only released on an hourly schedule, though I think I recall reading somewhere that some locations generate half-hourly ones. One simple thing I'd always thought would look nice was a worldmap with every METAR station pinpointed. ImageMap to select a country, then show (for example) your country weather map, and image-map to get detailed METAR report. Phil P Jonas Kaufmann wrote: > 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 > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > PHPWeather-devel mailing list > PHP...@li... > https://lists.sourceforge.net/lists/listinfo/phpweather-devel > > |