Let's say I know two persons are standing at GPS location A
and B
. A
is looking at B
.
I would like to know B
's (x
, y
, z
) coordinates based on A
, where the +y
axis is the direction to B
(since A
is looking at B), +z
is the vertically to the sky. (therefore +x
is right-hand side of A
)
I know how to convert a GPS coordinate to UTM, but in this case, a coordinate system rotation and translation seem needed. I am going to come up with a calculation, but before that, will there be some codes to look at?
I think this must be handled by many applications, but I could not find so far.