Skip to main content
Is it not possible to have a floating point value for raster cells? I tried to put 4.2 in the RasterCellValueReplacer and all of the values came out as 4.

 

 

Thanks
Hi,

 

 

I think it depends on "interpretation" type of the raster. If the interpretation was an Int type, cell values cannot contain decimal fraction. The RasterCellValueReplacer would round the specified value.

 

You can check interpretation type using the RasterPropertiesExtractor. And in some cases, the RasterInterpretationCoercer can be used to change the interpretation type.

 

 

Takashi

Reply