Skip to main content
Question

Add a Measure to nodes of a polyline


nicholas
Contributor
Forum|alt.badge.img+13

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?

2 replies

nicholas
Contributor
Forum|alt.badge.img+13
  • Author
  • Contributor
  • August 30, 2019

Would MeasureSetter be what I am looking for?


ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • August 30, 2019
nicholas wrote:

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


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