Select to view content in your preferred language

Why is there no 'Length' option for Calculate Geometry Attributes?

520
2
Jump to solution
12-06-2023 05:38 AM
RandyMcGregor_BMcD
Frequent Contributor

I made a tool that includes the calculation of length. The input is always a line, and (as you see in the image below) other length options are available (3D, geodesic...). I got an error and it turned out that the simple 'Length' option is not available. It sometimes is, so what is it that causes it to not be an option. I can't see what's different about the input that causes this option to not be available. 

RandyMcGregor_BMcD_0-1701869636340.png

Thank you,

Randy McGregor

 

0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor

Length .... shows up for me if the input dataset is in a projected coordinate system and it is not Z-enabled

The other options allow for other options given the input data spatial reference and data type.

leng.png


... sort of retired...

View solution in original post

2 Replies
DanPatterson
MVP Esteemed Contributor

Length .... shows up for me if the input dataset is in a projected coordinate system and it is not Z-enabled

The other options allow for other options given the input data spatial reference and data type.

leng.png


... sort of retired...
RandyMcGregor_BMcD
Frequent Contributor

Facepalm. The input line was in decimal degrees. Projected it to State Plane, and 'Length' is back. Thank you!

0 Kudos