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

Bernd Vogelgesang bernd.vogelgesang at gmx.de
Thu May 24 06:40:32 PDT 2018


just a wild guess:
you have lots of spaces in your path and file names. This is to be avoided  
in general, cause lots of function may eat this, but lots of others may  
not. Try it with underscores instead of spaces.

Am 24.05.2018, 15:25 Uhr, schrieb David Addy <davesgrandad at gmail.com>:

> 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
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374



More information about the Qgis-user mailing list