Skip to main content
Solved

Getting coordinates out of .laz and into .csv


Hello,

I am new and just starting out using FME. I have several .LAZ files and I need to get the coordinates and elevation out and into a .CSV file. I have tried to use the LAS reader >>> Point Cloud Coercer >>> CSV writer. All I get is a file filled with commas. Can someone walk me through what I need to do to get the x,y, and z data?

Thanks

Best answer by takashi

Hi @nt, you can use the CoordinateExtractor (Mode: Specify Coordinate, Coordinate Index: 0) to extract coordinate values (x, y, z) as attributes after applying the PointCloudCoercer, then write the attributes into the destination CSV file.

Alternatively, you can use the Point Cloud XYZ Writer to directly write a point cloud feature into a text file, without using any transformer. File extension, delimiter, etc. can be specified via the writer parameters. See the help on the writer to learn more: Point Cloud XYZ (POINTCLOUDXYZ) Reader/Writer

View original
Did this help you find an answer to your question?

2 replies

takashi
Contributor
Forum|alt.badge.img+21
  • Contributor
  • Best Answer
  • August 22, 2018

Hi @nt, you can use the CoordinateExtractor (Mode: Specify Coordinate, Coordinate Index: 0) to extract coordinate values (x, y, z) as attributes after applying the PointCloudCoercer, then write the attributes into the destination CSV file.

Alternatively, you can use the Point Cloud XYZ Writer to directly write a point cloud feature into a text file, without using any transformer. File extension, delimiter, etc. can be specified via the writer parameters. See the help on the writer to learn more: Point Cloud XYZ (POINTCLOUDXYZ) Reader/Writer


  • Author
  • August 22, 2018
takashi wrote:

Hi @nt, you can use the CoordinateExtractor (Mode: Specify Coordinate, Coordinate Index: 0) to extract coordinate values (x, y, z) as attributes after applying the PointCloudCoercer, then write the attributes into the destination CSV file.

Alternatively, you can use the Point Cloud XYZ Writer to directly write a point cloud feature into a text file, without using any transformer. File extension, delimiter, etc. can be specified via the writer parameters. See the help on the writer to learn more: Point Cloud XYZ (POINTCLOUDXYZ) Reader/Writer

Hi takashi, thanks for your answer. I followed the 1st suggestion and was able to get the coordinates in the csv file. The headers are a bit off and there are 3 commas in front of each entry but I do have the x,y,z coordinates I was looking for.

 

Thank you.

 

 


Reply


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