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.
Discussion
Anonymous
-
2002-08-26
labels: 408891 -->
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-12-03
Logged In: YES
user_id=104098
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...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-12-03
summary: Sun / Moon picture --> Sun / Moon picture based on time at location
milestone: --> phpweather-2.x
labels: --> 410114
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-12-03
Functions that will calculate sunrise and sunset based on longitude/latidude data.
Logged In: YES
user_id=104098
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:
http://tgsv5.nws.noaa.gov/oso/site.shtml
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.