Skip to main content

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?

Would MeasureSetter be what I am looking for?


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