Skip to main content
Question

Process rasters of different dimensions with RasterCellValueCalculator

  • June 11, 2013
  • 1 reply
  • 17 views

Hi everyone,

 

 

I'm trying to figure this out but I can't find an easy way to do it.

 

 

I want to process two rasters with different dimensions in the RasterCellValueCalculator but obviously this isn't possible (e.g. tiff, 1999x1999 minus tiff, 2000x2000). Suggestions on how to pre-process the rasters in order to make this work? I don't mind losing some data of the larger raster, as long as i can get them the same size (dimension). I've tried to resample (RasterResampler) the larger raster by the _num_columns and _num_rows attribute (RasterPropertiesExtractor) of the smaller raster but can't get it to work.

 

 

Thanks for your help!
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • June 11, 2013
Hi,

 

 

And resampling on the cell size?