I am new to FME, and I am trying to set up a workflow to transform some LRS segment feature data using the following rule: Assume that each feature segment has route identifier, begin and end measure, and a "split key" which is a value that indicates a percentage of the total segment length that I should split the event in TWO. I think this can be done with the Clipper transformer.
In addition however, I have another requirement where when I split the event into 2, I need to add a new value to the first segment only. This is what is tripping me up. After splitting the segment, how do I identify the first of the 2 splits and add the value. If my explanation is not clear enough, see the following example data
INPUT: Given the following example Event Segments:ROUTE_IDBEGIN_MEASUREEND_MEASURESPLIT_KEYR1 0520%R23950%R2912100%
OUTPUT:
ROUTE_IDBEGIN_MEASUREEND_MEASURE
NEW_ATTR
R101AR115nullR236AR2612nullR2912ANote that in the last segment, a split of 100% yields the same segment so there is only one segment in the resulting split list. Anyway, I am open to suggestions.
Thanks, Tom