Question

need help with raster error

  • 15 May 2020
  • 1 reply
  • 3 views

Badge +6

Hi

 

I'm getting this error a lot:

 

Resampler: Failed to process raster with invalid dimensions: 0 rows by 1 columns. This operation can only be performed on rasters with positive values for both rows and columns

@ResampleRaster: Failed to resample raster to cell width '0.032' and cell height '0.032'

RasterResampler_2_RasterResampler: A fatal error has occurred. Check the logfile above for details

Clipper_Raster (RasterClippingFactory): A fatal error has occurred. Check the logfile above for details

A fatal error has occurred. Check the logfile above for details.

 

I'm getting this in a workbench that reads tiff tiles and blurs some parts of them.

The workbench works in most cases and sometimes I'm getting this error.

 

Is it possible to detect which tiles are bad?

 


1 reply

Badge +2

Hi @koenvdw, I suspect the rasters are the result from some clipping process. You could allways put a RasterPropertyExtractor in front of the Resampler and a Testter, to check whether num_cols or num_rows are zero.

Reply