In my workspace I am using the CenterOfGravityReplaces and/or the CenterPointReplacer transformer but some of my points do not actually land on the line. Some do. How can I get it so that all of the midpoints land on the lines?

In my workspace I am using the CenterOfGravityReplaces and/or the CenterPointReplacer transformer but some of my points do not actually land on the line. Some do. How can I get it so that all of the midpoints land on the lines?

Best answer by gio
Make a network of it, that is, all lines are defined between nodes.
The use a snipper in percentage mode on these linepieces. Start = 50, End = 50 will result in middle of linepiece.