I have a fc that looks a bit like the following:
ID NAME AZIMUTH ELEVATION DIST
01 first 60.5 28.3 100
02 second 125.2 14 100
03 third 90 7.8 100<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Azimuth and Elevation are expressed in degrees.
I would like to create lines between these points (themselves with no Z value) and paired points that must be calculated along a trajectory from the starting point, for n meters (the DIST field).
Creating the lines once I have the paired XYZ is easy. Getting to the XYZ is harder. Math is not my strong suit, and I am curious how I would accomplish it in python.
Distance unit of measurements are in meters. I want to keep this simple and relative, i.e., no need to account for curvature of the earth or terrain. Just calculating a new point 100 meters away from the origin point in xyz space, assuming the trajectory provided by the azimuth and elevation angles and a flat X plane.