Search found 2 matches

by o2fill
Sat Sep 26, 2009 3:41 pm
Forum: General Discussion
Topic: bearing and coordinate calculations
Replies: 6
Views: 504

Re: bearing and coordinate calculations

Thanks for the moveable type link. it is just what I need. I note that it uses a three part modulus function. The mod function in php appears tO have just two arguments. Does anyone know how to replicate this method in php? If not, I'll develop a method and post it here.

Best,

phil
by o2fill
Thu Sep 24, 2009 9:28 pm
Forum: General Discussion
Topic: bearing and coordinate calculations
Replies: 6
Views: 504

bearing and coordinate calculations

Hi, Does anyone know of a php library for handling map coordinates? I'm trying to calculate the bearing to a coordinate2 (with a longitude and latitude in degrees) given coordinate1. Then I would like to calculate a third coordinate 'n' km from coordinate 1 on that bearing. If anyone can point me to...