The Shape.Length field (SHAPE.STLength() in my case) doesn't show up as an option in the Arcade expression builder. Is there a way to access length and area values without having to manually calculate them using the path coordinates?
We got an error when trying to publish as it didn't like the Shape.STLength() field. This took several HOURS to figure out which is so silly and shouldn't be this hard. Below is the arcade expression for getting the length in feet rounded to 2 decimal places.
// Assigns the feature's geometry to the line variablevar line = Geometry($feature);Round(Length(line, "feet"),2);
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.