Solved

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

  • 24 April 2019
  • 2 replies
  • 2 views

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

icon

Best answer by ebygomm 24 April 2019, 20:39

View original

2 replies

Badge +10

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

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!

Reply