Skip to main content
Hello,

 

 

I have a raster input that has cell values ranging from 0 - 255 (unsigned 8 bit).

 

 

What I want to do is twofold:

 

 

1. All values ranging from 0 - 250 need to be devided by 2.5 rounded up/down so that those values range from 0 - 100 instead.

 

2. The values above 250 need to get other values, for instance 255 needs to  become 251. 

 

 

I don't mind assigning every value individualy i.e:

 

250 --> 100

 

249 --> 99

 

etc..

 

 

I just want to know if it's possible to do this. The only way I found was first creating a shape file out of the raster file and then using an attribute value mapper on the shape file going back to raster. There must be an easier way...

 

 

Thanks!

 

Boyen

 

 

FME 2012, Vista
Hi,

 

I think that for this you better use the rasterexpressionevaluator, here  and here are some examples.

 

Hope this helps.
Hi Boyen,

 

 

I think RasterCellValueReplacer shoud also work.

 

 

Best regards,

 

Stefan

Reply