Skip to main content

I want to split a line using distances along that line that are from a separate data table:

 

startendcategorylength02.3Cat 22.32.315.1Cat 312.815.126.6Cat 211.526.627.3Cat 50.727.329.9Cat 22.629.931Cat 51.13133.3Cat 22.333.334.3Cat 5134.339.7Cat 35.4

 

I am probably just tired, but I can't seem to work this out.

I meant to add: and copy the Category attribute across to the line segments created.


MeasureGenerator to create measure on line.

FeatureMerger to join line to records in table.

Snipper to select a part of the line based on the measure.

MeasureGeneratorSnipper2018.fmw


@ottadini

Or...

 

Count records (counter), clone line by this value. Merge to table. Snip by start and end. (4 transformers)

Or

Unconditionally merge line to records and explode. Snipp by start and end. (3 transformers)

 

Or (least favorable unless done previously once); use iterative snipper (create one for future use)

 

(With multiple lines use GRoup By)


Reply