Skip to main content
Question

Extract pixel value to point file (available)


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

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

 


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