Hi,
Imagerasterizer to draw geometry to a raster.
You must asign a color to your features prior to sending them to the imagerasterizer (else you will get an error, wich is logical of course...)
You can use Rasterter to make "snappable" areas.
Thanks Gio!
I will keep in mind to add color.
I actually need the raster image snapped to another raster image such that a third image can be created that shows the difference between the first two images. Is that possible too using FME?
Cheers,
Jochgem
Hi Jochgem,
Yes u can.
You can combine rasters by making outputextenst of both fit on the output raster.
You can use RasterMosaicker (must make sure they have same numer of bands with same number of paletttes) .
You may have to make sure they are close enough to eachother (or atleast find the total boundingbox), maybe using boundingbox, offsetter and or affiner.
If youre new to this, the FME knowledge center has a lot of exmples and there is a tutorial roaming about too.
succes!
The other way to find the difference between two rasters is the RasterExpressionEvaluator - but like the RasterMosaicker - you'll need to make sure they have the same number of bands, but also the same cell size/spacing and extents. The RasterResampler and Clipper transformers would help there.