Skip to main content

Hi,

I'm trying to build a workbench to help design run lines for survey planning. I have a feature class as input (reader) with a single polyline feature. I have two published parameters, number of lines to create and offset distance between lines. I then want the work bench to take the input line, and create the number of lines specified in the published parameter, offsetting each line from the last one created by the specified distance. For example, if I specify 5 lines and a 10m offset, I have 5 lines (plus the original input line) spaced 10m apart from each other.

I am looking at cloner and offsetter, but this only offsets the cloned lines from the input feature, how do I get all lines offset from each other?

Kind Regards,

Rob

Hi @r6

I think you are on the right track with the cloner and offsetter. I want to suggest to use the attribute '_copynum' created by the cloner to calculate for each of the lines the offset. You can use this with the expressionEvaluator and the following conceptual formula:

Offset = _copynum * SPACING

This will create a different offset for every of the cloned lines (0 for the first one, 10 for the second, 20 for the next, ....)


You might also want to look at the OffsetCurveGenerator

In some occasions the result is better than the Offsetter and it allows for offset lines on one side.


Hi guys. Thanks for taking the time to respond! The OffsetCurveGenerator was exactly what I needed 🙂 Thanks. Rob


Reply