Skip to main content
Question

CSV to Point Cloud

  • January 7, 2014
  • 5 replies
  • 180 views

Forum|alt.badge.img+1
Hi,

 

 

I am trying to convert a CSV file (no header, just X Y and Z columns) into either a LAS or POD file format.  However I keep getting the error:

 

 

"Failed to obtain point cloud from feature.  Only features with point cloud geometry are expected"

 

 

Is there a step that I'm missing here?

 

 

Thanks,

 

5 replies

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • January 7, 2014
Hi,

 

 

Most probably, can you describe what you are doing?

 

Tip add the header in the CSV and save as .xyz file.

 

 

Itay

Forum|alt.badge.img+1
  • Author
  • January 7, 2014
Hi Itay

 

 

There is no header in the CSV....

 

 

when you say Save as .xyz is this within FME or outside of FME?

 

 

All I have in my FME workbench at the moment is a CSV reader and an LAS writer.  I tried to put the "3DPointReplacer" transformer in between them, but I got the same error..

 

 

Thanks,

david_r
Evangelist
  • January 7, 2014
Hi,

 

 

have you tried passing your points through a GeometryCoercer set to "fme_point_cloud" before the Writer?

 

 

David

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • January 7, 2014
Hi,

 

 

Outside FME open the CSV and add the header (XYZ), and save as myfile.xyz

 

This way you can use the XYZ reader (much faster than the CSV) and FME recognizes it as point cloud geometry.

 

 

Itay

Forum|alt.badge.img+1
  • Author
  • January 7, 2014
Thanks Itay and David,

 

 

I used the POINTCLOUDXYZ reader and changed the delimiter to a comma and it worked successfully.

 

 


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