Skip to main content
I am using the RasterDEMGenerator to create a raster surface from points and I need to align its cells to existing rasters I already have.

 

 

A common way to do this in FME seems to be to use RasterDEMGenerator to create a raster, then use RasterMosiacker to do a snap. However, RasterMosiacker requires either offsetting or resampling the raster that RasterDEMGenerator already made. I do not want to do either since I am trying to retain the maximum precision possible (I'm trying to recreate an existing dataset).

 

 

How can I tell RasterDEMGenerator not just cell spacing but also where exactly to place the first cell (for instance defining the _origin_x and _origin_y)?  

 

 

 

There is a RasterCellOriginSetter. transformer
From what I understand of RasterCellOriginSetter, it requires a raster? I'm looking to define the cell origin before RasterDEMGenerator creates a raster.
Hi,

 

 

Would it not be possible to use an RasterNumericCreator to create a "blank" raster the size of the total tiles and then add the tiles by performing rasterexpressions?

 

Afterwards turning it into a dem?
Hi Gio,

 

 

Intereseting approach - in my case this would also involve extrapolating cell values where no points exist, but a raster cell needs a value. Is it documented how RasterDEMGenerator extrapolates?

 

 

Seems like this would be a solution albeit a bit complex?

Reply