Skip to main content
Solved

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

  • April 24, 2019
  • 2 replies
  • 24 views

Forum|alt.badge.img+2

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3428 replies
  • 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+2
  • Author
  • 11 replies
  • 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

That worked!

Thank you egomm!