LinePatterner
From fmepedia
| This page contains a Custom Transformer created by an fmepedia user. See the attached files list at the foot of this page for the zip file containing this custom transformer. |
Created by: Dave Campanas
The LinePatterner replaces a line with a multiline aggregate of lines separated by gaps along the original path. The size of the lines and gaps is controlled by the attribute "pattern", which must hold on and off values separated by commas.
1,.5,1,1,3,2
Each On value must have a corresponding Off value, so the number of elements in the list will always be even.
Non-line features will be passed through the transformer unchanged. Lines with an invalid pattern will be logged and left unpatterned.
Original Line:
Patterned Multiline:
