Skip to main content
Question

Add a Measure to nodes of a polyline

  • August 30, 2019
  • 2 replies
  • 38 views

nicholas
Contributor
Forum|alt.badge.img+14

I have a series of points, representing points at ten metre intervals along a road.

The ten-metre intervals are the "driven distance" of the road, which is not necessarily the same as the geometric distance.

Each point feature has its "driven distance" as a numeric attribute "TDIST". The units is kilometres.

TDIST

0.00

0.01

0.02

0.03

and so on

I can use LineBuilder to assemble the point features into a polyline feature.

The result I want to achieve is to output the polyline feature to a file Geodatabase, with each node of the polyline having a Measure, where Measure is the TDIST attribute.

I have considered the MeasureGenerator Transformer, but this will generate measures along an existing polyline based upon the geometric length of the line, not what I want.

I already have the appropriate Measure values as the TDIST attribute of each point feature.

I'm hoping to;

1) convert the TDIST attribute of each point feature into a Measure of that point feature, then

2) convert the series of point features into a polyline feature, preserving the Measure of each node in the polyline

Is this possible?

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

nicholas
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • 116 replies
  • August 30, 2019

Would MeasureSetter be what I am looking for?


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • August 30, 2019

Would MeasureSetter be what I am looking for?

Yes, the measure setter would do this. If you want to apply a measure to each vertex of the line, you need a list with the same number of elements as there are points which contains the values for the measures. Alternatively you can apply the measures to each point before building the line