Select to view content in your preferred language

Attribute rule to split a line feature at a point intersection

994
3
Jump to solution
03-13-2023 02:15 AM
StefanAngerer
Regular Contributor

Hi Esri community,

I want to create an attribute rule that checks if a point feature intersects with a line feature. If there is an intersection, I would like to split the line feature into two, with the point feature placed in between. Has anyone done something similar before? Any guidance or suggestions would be appreciated.

Thanks!

0 Kudos
1 Solution
3 Replies
StefanAngerer
Regular Contributor

Hi @MikeMillerGIS ,

thanks for the fast replay and very helpfull rule. Im currently testing it and it works quite fine. However what I am trying to find out is, if its possible to also cut the lines when the point is not directly placed on a vertex of the line but rather at some point between two vertizes. Obviously it seems like this case was left out intentionally in the script, however i cant get a hold on why?

Thanks and kind regards!

0 Kudos
StefanAngerer
Regular Contributor

Nevermind, I just found the uncontrolled-variable. Looks like this is what i was talking about.

0 Kudos