I would like an example or some C code showing how to calculate the new longitude and latitude coordinates if one has the starting point, in longitude and latitude, along with the distance to travel, in feet, and the heading/bearing. So for example if I have the long/lat as:
4290816,-78793945 distance = 50 feet and bearing = 55 degrees I need the new long2 lat2.
I have seen the data at:
but haven't been able to get the formulas to work correctly.
Again I need this in C, not Jave/Basic/Perl what have you.