Skip to main content

I have a dataset that includes 'from' and 'to' values in separate columns. The 'from' column contains latitude and longitude coordinates. Both 'from' and 'to' values are unique.

My question is: How can I create a line that connects the 'from' and 'to' values in FME? I would like to visualize the connection between these points using a line geometry.

Any guidance or suggestions on the workflow or transformers to use would be greatly appreciated.

Thank you in advance for your help!

Use a featuremerger, to get the lat long values for your to points, then a vertex creator with add point to create the lines

image


Use a featuremerger, to get the lat long values for your to points, then a vertex creator with add point to create the lines

image

Thank you so much @ebygomm​. That worked for me.


Reply