Question

Extract point elevation data into shapefile from rasterdata


Im trying to extract point data into a ESRI shapefile from rasterdata, but i'm very unsure what transformers I should be using? I've been laborating with rastercellcoercer and coordinateextractor but I just can't get it to work. Anyhone have an idé where to start? I could need a push in the right direction at the moment.


2 replies

Userlevel 6
Badge +33

Multiple ways to do this, depending on what you need.

  • All cells to points:
    • RasterCellCoercer
    • PointCloudCombiner
  • Specific cell to point:
    • PointOnRasterValueExtractor

I suspect you need a 3D point shapefile.

 

When you use RasterCellCoercer you need to add an AttributeExposer to expose the band value you need. Probably _band{0}.value. Then you need a 3DForcer to put bring the points Z to _band{0}.value.

 

I think the fastest way is to use the PointCloudCombiner followed by a PointCloudCoercer.

 

Attached sample workspace.

Thank you nielsgerrits, I'll be sure to try that out. And you are correct I need 3D point shapefile.

Reply