Skip to main content

I have a feature class of lines with measures and a unique id. I also have a list of line unique IDs and a start and stop measure for each.

Given these two inputs, I would like to extract a portion of each line using the start and stop measurements...How might I go about doing this?

I am using a snipper transformer with snipping mode "distance (value)", but encountering error

 

 

Snipper_Input: @Tcl2 -- failed to evaluate expression `Snipper_fixIndex ' -- wrong # args: should be "Snipper_fixIndex numIndex"

...And warnings of line length being too short...Since these are 3D paths, perhaps I should switch the Snipper to 3D measurement?


Nope...Still same error. Switched mode to "measure relative to start" gets rid of the warnings of lines being too short though.

Checking further into the data it appears that some of my records have null/missing values...Problem solved..."Understand your inputs and filter for bad values."


Hi,

Just to clarify, are you using measures or distance? If you are using measures, do the features have measures assigned. Your snipper would also need to be set to "Measures (Value)".

If you have multiple clipping measures per feature, you could feature merge them with a list, and then explode the list, to get the a feature for every input in your "list". Not sure if you have that, but just want to confirm.

Cheers,

Todd


Reply