Solved

How to convert lines to points

  • 26 November 2022
  • 1 reply
  • 243 views

Badge +3

Hallo ,

i have lines data and I have only start point and end point of line .but I would like to get all geometry of points from start till end point.

,so I have used chopper to convert lines to points but my problem .I am not sure ,how could i add all geometry of points from start till end point in new attribute for the same id of line .

FME 2021

Thanks for help .

icon

Best answer by caracadrian 28 November 2022, 06:53

View original

1 reply

Badge +20

One way would by creating unique ID's for lines before Chopper, putting x,y,z in attributes then aggregating with GroupBy on the unique ID and generating a list with the coordinates.

Another way would be GeometryExtractor. It simply creates an attribute that stores the geometry as a whole. OGC Well Known Text would be one of your better choices.

GeometryExtractor

Reply