Skip to main content
Question

I have and AutoCAD DWG file with several polylines. I would like to get the coordinates from these lines saved to a .csv file. Is this possible? I am new to FME so will need a thorough explanation please.

  • February 16, 2023
  • 1 reply
  • 56 views

I have and AutoCAD DWG file with several polylines. I would like to get the coordinates from these lines saved to a .csv file. Is this possible? I am new to FME so will need a thorough explanation please.

1 reply

DanAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • February 17, 2023

Hi @johnpaterson123​ If you want one line to be one record in the CSV, use a GeometryExtractor to extract the geometry to WKT format and write that out as an attribute in the CSV.

 

If you want each vertex to become a record in the CSV, then use a Chopper (chop to 1) and a CoordinateExtractor to get X,Y (and Z) attributes. You'll also want a unique identifier per line (e.g. using a Counter) so that the line can be recreated from this CSV later.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings