Skip to main content

Hi

 I’m trying to combine some linear events with a routes geometry. The segmentation works fine. The only problem I have is that the from-to values are no longer correct in the new geometry. How can I update them?

 

 

Before you split the lines, add a MeasureGenerator, starting from the current FROM value for the line. That will add measures to the line geometry such that every vertex has a measure for how far along the line it is. Check it in the inspector to see. Then after the overlayer, do two MeasureExtractors, one of the 0th index, and one for the -1st (last) index, and you’ll get the new from/to distance for the new split lines.


Thank you, that worked perfectly


Reply