Skip to main content
Solved

Is there anyway I can use the rasterCellcoercer to write directly into an xyz file?

  • February 20, 2018
  • 1 reply
  • 87 views

Forum|alt.badge.img

I am creating xyz files from a DEM Raster using the RasterCellCoercer to create a point feature containing heights from the DEM. I am writing first into an ESRI geodatabase, and then using the coordinate extractor to write X,Y,Z fields to a CSV file then renaming it to *.xyz.

Is there maybe a more straight forward way of doing this? Could I cut out the ESRI Geodatabase and write directly from the RasterCellCoercer into a xyz?

Best answer by takashi

Hi @robertdbuckley, you can transform the DEM raster to a point cloud with the PointCloudCombiner, and then write it into a xyz file with the Point Cloud XYZ writer. You can change the separator character (space by default) through the writer parameter.

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.

1 reply

takashi
Celebrity
  • Best Answer
  • February 20, 2018

Hi @robertdbuckley, you can transform the DEM raster to a point cloud with the PointCloudCombiner, and then write it into a xyz file with the Point Cloud XYZ writer. You can change the separator character (space by default) through the writer parameter.