Skip to main content
Solved

How to create a field that contains the minimum measure value of a polyline


Forum|alt.badge.img+1

The polyline is already measure aware. The field would be called "Begin Measure"

I would also want another field that contains the maximum measure called "End Measure"

Thanks

Best answer by ebygomm

You can use a MeasureExtractor - choose type 'individual vertex by index'

0 index for the start and then a second measure extractor with -1 for the end

 

Alternatively you can choose whole line which will give you all measures as a list, and then use a listindexer to get the first and last values

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+32
  • Influencer
  • Best Answer
  • April 24, 2019

You can use a MeasureExtractor - choose type 'individual vertex by index'

0 index for the start and then a second measure extractor with -1 for the end

 

Alternatively you can choose whole line which will give you all measures as a list, and then use a listindexer to get the first and last values


Forum|alt.badge.img+1
  • Author
  • April 24, 2019
ebygomm wrote:

You can use a MeasureExtractor - choose type 'individual vertex by index'

0 index for the start and then a second measure extractor with -1 for the end

 

Alternatively you can choose whole line which will give you all measures as a list, and then use a listindexer to get the first and last values

That worked!

Thank you egomm!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings