Skip to main content

If the measure value provided beyond the min and max, it would snip to a point as indicated in the log file: WARN |@Snip (or FMELine::snip) was given Measures of 123625.0508 and 123625.0508, which are out of range for a line with min/max measures of 2.1792075131088495e-6 and 79907.89199766226. Snapping params to closest valid value.

Can Snipper be set to reject the input?

Hi @george, I don't think there is a way to make the Snipper to reject features out of range. A workaround is to extract measure values from the feature and filter out it before entering to the Snipper if it was out of range. You can use the MeasureExtractor to extract measure values from the feature.


Hi @george You could also use the MeasureExtractor after the Snipper - extract the last measure with an Index of -1 and then use a Tester to see if this is the same as the Ending Location from the Snipper. Please post this idea about filtering these out-of-range features at https://knowledge.safe.com/content/idea/list.html


Running into this and the way that Takashi mentioned isn't very elegant. I created the idea: https://community.safe.com/s/idea/0874Q000000cU2wQAE/detail


Reply