I just learned this in my Trig. class this last semester. Unfortunately, since the semester is over, I've forgotten it all already.

In answer- Yes there is a way, using trigonometry, to calculate that. But I don't remember the specifics and I don't have a book. You might try google for trig or spherical measurements.