Skip to main content
Question

Calculate the nodata in a raster based on other values?


harmen_kampinga
Forum|alt.badge.img+2

Hi,

 

thank you for reading my question! And maybe you have an idea? Please let me know!

 

It's about: filling the nodata gaps in a raster.

So, I have downloaded a DTM raster file. It's based on a pointcloud and some classes are filtered out, like water, building, vegetation, bridges. That leaves some nodata holes in the raster. I like to recalculate them, based on the nearest cell values. In the past, I did this with GIS and some neighbor tools for rasters, but I can't really find how to do this in FME.

 

I have tried the RasterDEMGenerator and also the RasterConvolver, but without any good results... maybe I don't use them well or maybe I should use a completely different approach? No clue anymore.

 

Any help is appreciated!

 

Best,

Harmen

3 replies

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • March 15, 2021

I would try the NumericRasterizer or SurfaceModeller.

As a bonus you can first use RasterCellCoercer to extract the pixels into individual points before the NumericRasterizer or RasterDEMGenerator or SurfaceModeller.


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • March 15, 2021

The RasterDEMGenerator ought to work. It uses the same underlying engine as the SurfaceModeller.

 

What issues are you having (why aren't the results good)?


harmen_kampinga
Forum|alt.badge.img+2

thanks @caracadrian​ and @jdh​ !!

Appreciated your help, but not clear at the moment what does the job at its best

But I'm getting there bit by bit.

 


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