Skip to main content

Hi im new to this and want to create a workspace which allows the user to transform the cellsize of a rasterimage. But if the values supplied by the user would cause an upsampling, then the workspace should be set in a way that no resampling takes place. My approach is to set a user parameter but i have no clue how I can set it in a way to make this possible any hints?

 

Thx to all!

I would use a RasterPropertiesExtractor to get the current spacing or number of rows/cols and then a tester to compare that with the supplied user parameter, connect the RasterResampler to the Passed port and then the Failed port will link up to the rest of the workflow bypassing the resampling step.


Thank you so much I guess it worked 🙂

It was by far easier than I thought on the first view.

 

Best wishes Tina


Reply