The table below contains the numbers used for direction (decimal degrees) with the Bearing Distance to Lines tool (Azimuth_Ed field) and the result of Calculate Geometry Attributes tool (AZ_Test field).
The tool was run on x,y numbers with state plane, Illinois East coordinate system with that coordinate system set as the output coordinate system.
They don't match. Is this a result of the complex math used to calculate the lines and is expected, or should I be concerned?
Thank you,
Randy McGregor
Solved! Go to Solution.
The Line Bearing from Calculate Geometry Attributes tool or Add Geometry Attributes is planar, whilst the Azimuth_Ed used in Bearing Distance To Line is geodetic. The differences between them are expected.
Bearing Distance To Line (Data Management)—ArcGIS Pro | Documentation
which option did you use? geodesic, rhome-line, great circle, normal section? geodesic is the default, but just checking.
Your distances are fairly long... Is suspect that they will be much closer for shorter distances.
You can check some of the math involved here
PS also note that you planar distances aren't exactly the same either (small but there)
Thanks for the feedback. I am not able to follow that math, though. I am using the geodesic default. The numbers I get are very different based on coordinate system, so I think this is a difference resulting from geographic complexity.
I made a line with the direction/distance option, selecting 45 degrees and it ended up very very close to to the line I had created with the Bearing Distance to Lines tool and then ran Calculate Geometry with Line Bearing and got a value of 53.1 degrees. So, it looks like the Line Bearing calculation is incorporating geographic complexities.
I need to break up areas by degrees (0,45,90 etc..) and am checking to make sure the results are valid and can be used for geoprocessing - Is this feature in the sector between 45 and 90 degrees (NE to E)?
The Line Bearing from Calculate Geometry Attributes tool or Add Geometry Attributes is planar, whilst the Azimuth_Ed used in Bearing Distance To Line is geodetic. The differences between them are expected.
Hi DanLee
Just for my understanding...
the Line Bearing from Calculate Geometry Attributes tool or Add Geometry Attributes is relative to Grid North (planar) if working in a projected coordinate system - true?
If so the Bearing used in Bearing Distance To Line is relative to True North (geodetic) - correct?
Thanks,
Yes, that's correct.
By the way we have added a "planar line" option for output in a projected coordinate system in ArcGIS Pro 2.9.