Skip to main content
Solved

Getting coordinates out of .laz and into .csv

  • August 22, 2018
  • 2 replies
  • 509 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • 7843 replies
  • 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
  • 1 reply
  • 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

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.