To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
Program to calculate sunrise/sunset based on gps position
I wanted to play around with doing some programming on my iQue, so for my first little project I wrote a program to calculate sunrise/sunset based on your current gps position (or last known position if the gps is off). It's pretty basic but gets the job done. You can post suggestions and comments about the program in this thread.
I am more of an am/pm type and would put the standard sunrise/sunset at the top of the list and bolder than the rest. But then again, Im an expressive personality type.
Actually, I do not mind it the way it is and I really appreciate you spending the time on this and releasing it for free.
I work in the aviation industry and we use civil twilight as our definition of "night", so I'll get a lot of good use out of it. If you're looking for features to add, the only thing I'd suggest is a way to pick another date (like the calendar and the "goto" calendar feature) so you can get data from other days.
Again, well done and thanks!
__________________
vectorman
Excellent source ---> iQue FAQ <--- of iQue Information!!!
I figured that no choice for am/pm would be the first complaint.
As for putting the standard sunrise/sunset at the top, I thought about doing that, but I think it makes more sense keeping it in order the events happen. I would have put it in bold or another color, but I don't know how to do that yet. I might add an option that would allow you to choose which items you're interested in though.
I was going to have the program take altitude into account as well, but I didn't have any data to verify my formula. I checked different places for the sunrise/sunset in denver, co but none of them take altitude into account. According to the formula I have being 1 mile above sea level would make the sunrise occur about 4 minutes earlier and the sunset about 4 minutes later. Does anyone know of a source that takes altitude into account so I can check my figures?
Originally posted by Stymyx For those who don't know (i.e., ME), could you please explain the differences between Astronomical, Nautical, Civil and Standard readings?