[Qgis-user] QGIS 3 clipping raster with a polygon - problem

David Addy davesgrandad at gmail.com
Thu May 24 06:25:37 PDT 2018


Hi Nyall,
Thanks very much for looking at this.
The two versions are as follows:

>From QGIS 2.18.16 I get:
gdalwarp -q -cutline "D:/My Pictures/QGIS Projects/Payne
calibration/payne_clipper.shp" -tr 0.639640252898 0.639640252898 -of GTiff
"D:/My Pictures/QGIS Projects/Payne calibration/payne_modified.tif" "D:/My
Pictures/QGIS Projects/Payne calibration/p_clipped_Q2A.tif"

>From QGIS 3.0.2 I get :
gdalwarp -ot Float32 -of GTiff -cutline path_to_data_file -crop_to_cutline
-dstnodata 0.0 "D:\\My Pictures\\QGIS Projects\\Payne
calibration\\payne_modified.tif"
C:/Users/DJAddy/AppData/Local/Temp/processing_fd479b6503d44fbcb53887e62e4cf315/f36463c35cc34f29b240d30ad811d6fd/OUTPUT.tif

The output file in Q3 is a temp file as I forgot to browse to the same name
as above. "Payne modified" is my calibrated input file, and "payneclipper"
is my polygon clipping mask. The algorithms look quite different but I do
not know enough to know what is wrong.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html



More information about the Qgis-user mailing list