View Full Version : Finding Latitude, Longitude, Zenith

August 14th, 2005, 05:22 AM
I've never been in here before. I guess this could just as easily go in Science. Here's my problem... I found this PHP script which displays the sunrise. But I need to enter the latitude, longitude & zenith of my preferred location. Does anyone know where I can find these three variables for say, Rome Italy? Any help in this matter is appreciated.
Here's the code if anyone is interested:
// calculate the sunrise time for Lisbon, Portugal
// Latitude: 38.4 North
// Longitude: 9 West
// Zenith ~= 90
// offset: +1 GMT

echo 'sunrise: ' .date_sunrise(time(), SUNFUNCS_RET_STRING, 38.4, 9, 90, +1);

August 14th, 2005, 07:10 AM
on certain gps systems you can look up the lat/long of places without being there.. i am not sure if this is what you want..

August 14th, 2005, 03:19 PM
For longitude/latitude I prefer www.astro.com/atlas (www.astro.com/atlas) for its ease of use. You can also try http://gnswww.nga.mil/geonames/GNS/index.jsp (http://gnswww.nga.mil/geonames/GNS/index.jsp) for place names/locations, but it's a lot less intuitive.

For zenith, go to the Celestial Navigation Data calculator and enter your long/lat data. It'll give you zenith for most the Sun/Moon and other common sky objects.

August 15th, 2005, 01:45 AM
Thanks folks. :)