Skip to main content

A client at the FME World Tour in Singapore has the following question

If I have 2 rasters (jpegs) of same image BUT different resolution and scale

What would be the process in FME Workbench to align them

@darkspatiallord @brianatsafe

Seems like RasterResampler would work: http://docs.safe.com/fme/2019.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/rasterresampler.htm

The documentation also mentions a whole bunch of other Raster Transformers that can be used for more specific purposes.


@darkspatiallord (I see there are 2 dark lords out there..)

 

Use an Affiner to move them to a common origin and then use a Scaler.

This will scale the spacing but will maintain the resolution, which is defined as the number of rows and columns.

 

To change resolution you can use a RasterResampler, set to columns and rows.

You have to maintain the aspect ratio though, else you'll warp your image.


Reply