AnsweredAssumed Answered

Get length of roads in a polygon using Arcade

Question asked by krishnavsav on Nov 19, 2019
Latest reply on Nov 20, 2019 by xander_bakker

Dear All,


Is it possible, to get the Length of Roads in a polygon layer using Arcade. I tried something below:

var fs = FeatureSetByName($map, 'Roads')
//Clip(geometry, envelope)
var roadsLength = Clip(fs, $feature)

Length(roads, 'kilometers')

How can I achieve this.