Output the sun or the moon pictures based on the local
time of the metar - not the server time, also be able to
display times as local times in the text output.
Logged In: YES
Christian Prior (chrisprior) sent this file to me some time
ago: it has a function that will calculate the sunrise and
sunset for a location based on the latitude and longitude.
Before we can use this in PHP Weather, then we have to
obtain the lati- and longitude data and put it in the ICAO
database. The data is available here:
Having this data in our database would solve this bug in an
elegant way, and perhaps prove usefull if someone wants to
make clickable maps of the World with the locations marked
by small dots or something like that...
Functions that will calculate sunrise and sunset based on longitude/latidude data.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.