AnsweredAssumed Answered

Referencing the SHAPE.STLength() field?

Question asked by ibroad on Sep 18, 2018
Latest reply on Sep 18, 2018 by ibroad

Using 4.8, how do I reference the SHAPE.STLength() field?

 

I have a line feature, and I see the following in the attributes:

 

SHAPE.STLength():763.4507937540045

 

I want to sum all the span lengths, but I can't figure out how to get the data from this field.

 

I've tried:

 

var length = results.features[0].attributes.SHAPE.STLength();

var length = results.features[0].attributes.SHAPE.STLength;

var length = results.features[0].attributes.SHAPE.Length;

 

But nothing works.

Outcomes