Bug report #11621

Raster - Exctraction - Clipper - produce wrong (unequal) cell size

Added by Miroslav Umlauf over 9 years ago. Updated over 9 years ago.

Category:GDAL Tools
Affected QGIS version:2.6.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:19874


When I clip raster (cell size 5x5m) to polygon (both in GDA94 Z56 - EPSG:28356) the result has very slightly unequal cell size like:

Pixel Size = (4.999893471194129,-5.000074452387987)

It might seem like nothing but some tools needs exact square dimensions which makes in these cases clipped grids useless...


#1 Updated by Giovanni Manghi over 9 years ago

  • Status changed from Open to Feedback
  • Category set to GDAL Tools

are you using the "clipper" tool in the raster menu?

if yes then the tool is just an interface of gdalwarp command line utility. You should test run the same clip operation directly from the command line (qgis shows you the command), if the result is the same then is a gdal issue not a qgis one.

#2 Updated by Miroslav Umlauf over 9 years ago

  • Status changed from Feedback to Closed

Yes, I think it is gdal_warp issue. I reported it on http://trac.osgeo.org/gdal/ticket/5733. Thank you.

Also available in: Atom PDF