Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2008
    Posts
    82

    Grin Moon rise and moon set timings when we have longitude and latitude

    Hi

    I am a C++ developer. Did someone try to calculate the moonrise and moonset timings for a given latitude, longitude position for a particular date or current date.

    Could not find the algorithms or procedure with formulae for this… I already did the sunrise and sunset stuff through some algorithms found in internet, but could not find any clues for moon stuff.

    Problem: We have the latitude and longitude of the location and the date and time info… All we need to get is the timings for moon rise / set for that day in that location… (pls do not write the sunrise and sunset stuff).

    I could find a few Java scripts but they are not helpful for me, too much unnecessary stuff inside and confusing, the main logic is messed up in the huge scripts and I could not understand the final logic… Project manager donot want to use the webservice for this :( ...

    So any help on this is highly appreciated…

    Thank you,
    KK250040

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    It's not as straight forward as the sun calculations... Read here -- there's some good ideas.
    http://boards.straightdope.com/sdmb/...d.php?t=247586
    and
    http://star-www.st-and.ac.uk/~fv/webnotes/chapt13.htm


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts