Question

Calculate the nodata in a raster based on other values?

  • 14 March 2021
  • 3 replies
  • 21 views

Badge +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

Badge +20

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.

Badge +22

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)?

Badge +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.

 

Reply