Add Geometry Attributes - Line bearing generate NULL values if (Line bearing) azimuth is 0°

11-02-2021 05:29 AM
Labels (2)
by Anonymous User
Not applicable

Hi, I`m using arcgis 10.7.0 and the the problem is that for lines with both end nodes with the same longitude (so azimuth is 0°) the Add Geometry Attributes tool - Line Bearing is generating <NULL> values instead of 0.
I tried on ArcGIS 10.6 and 10.2 (other machines) and is generating 0 value as it should be.

Any Ideas whats wrong, it is just me, or its a bug in 10.7?

Tags (3)
0 Kudos
1 Reply
MVP Emeritus

I can't comment on it being a bug or not, but obviously something changed between 10.6 and 10.7.  As a work around, can you run your calculations and then go back and select those lines where Bearing is Null and calculate them to 0?

That should just about do it....
0 Kudos