Skip to main content
Question

Extract pixel value to point file (available)

  • July 10, 2014
  • 4 replies
  • 43 views

hoa_le
Contributor
Forum|alt.badge.img+5
I have a point file which had ID (1,2,3,4,5..10). And I have a Raster file.

 

 

I want to extract pixel value from raster to point file. That's mean each record in point file, it gets a value in raster.

 

 

In FME, Can I do it? And if it is possible, how can i do?

 

 

Thanks
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.

4 replies

david_r
Celebrity
  • July 10, 2014
Hi,

 

 

you can use the PointOnRasterValueExtractor for this. Be sure to check the help about the different interpolation type setttings first.

 

 

David

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • July 10, 2014
 the undisputed transformernamelenghtrecordholder: "PointCloudOnRasterComponentSetter"

hoa_le
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • July 10, 2014
Yes. Thank you. In case, I have multiple raster and only  a point file.

 

 

I want extract all value in raster to point file ( each raster file has a field in point file).

 

 

How can i do?

 

 

Thanks

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • July 10, 2014
If the rasters do not overlap and it is just one type of attribute you want to map/extract,

 

 

You can a dynamice reader on rasters and enter it in the rasterport of the PointCloudOnRasterComponentSetter. (i have never tried that though)

 

 

Else Tiler (or a tiling procedure) to do that.

 

 

You can extract boundingboxes from rasters, spatialrelate the boundingboxes to point cloud and then send the pointclouds to a tiler using bounds for tiles.

 

This will also make sure you have linked rastername (fme_feature_type).

 

Attach a featureReader to Tiler dynamically reed the  rasters based on this link (fme_feature_type).

 

Send output from tiler to PointCloudOnRasterComponentSetter"

 

Also send output raster from featurereade to PointCloudOnRasterComponentSetter

 

 

I hope this is understandable...

 

 

Haves Fun