bearing and coordinate calculations
Posted: Thu Sep 24, 2009 9:28 pm
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 php source code or a library that might simplify things, I would greatly appreciate it.
Thanks in advance,
Phil
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 php source code or a library that might simplify things, I would greatly appreciate it.
Thanks in advance,
Phil