Select to view content in your preferred language

Create points on a line upon insert or update

563
1
08-27-2023 10:38 PM
Aнастасия88
Regular Contributor

Hello Attribute Rules community,

I am just wondering if we can achieve to create points on a line feature with pre-specified interval (e.g. 100m) by immediate calculation using Arcade. For example, upon the insert a new line or update an existing line feature, points will be created dynamically on the line feature with pre-specified intervals. 
I was searching any posts relevant to this topic in Attribute Rules community, yet there has not been any by the look.

So far, what I know is only how to create start and end points on the line as per below. Much appreciated if anyone knows and tell me how to achieve this.

var start_point = Geometry($feature).paths[0][0]
var end_point = Geometry($feature).paths[-1][-1]

 

Tags (2)
0 Kudos
1 Reply