Bug report #19327

Updated by Giovanni Manghi about 2 years ago

*New description:*

https://issues.qgis.org/issues/19327#note-4

*Old description:*
*I am able to use newly created polygons as mask layers in the 'Clip raster by mask layer' command.*

Processing algorithm…
Algorithm 'Clip raster by mask layer' starting…
Input parameters:
{ 'ALPHA_BAND' : False, 'CROP_TO_CUTLINE' : True, 'DATA_TYPE' : 5, 'INPUT' : '//allstate/data/2018/18051.02-Ag-Power/LIDAR DATA/Lidar_ft.tif', 'KEEP_RESOLUTION' : False, 'MASK' : '\\allstate\data\2018\18051.02-Ag-Power\GIS DATA\rough clip boundary.shp', 'NODATA' : None, 'OPTIONS' : '', 'OUTPUT' : '//allstate/data/2018/18051.02-Ag-Power/LIDAR DATA/clipped_Lidar_ft.tif' }

GDAL command:
gdalwarp -ot Float32 -of GTiff -cutline "\\\\allstate\\data\\2018\\18051.02-Ag-Power\\GIS DATA\\rough clip boundary.shp" -crop_to_cutline "//allstate/data/2018/18051.02-Ag-Power/LIDAR DATA/Lidar_ft.tif" "//allstate/data/2018/18051.02-Ag-Power/LIDAR DATA/clipped_Lidar_ft.tif"
GDAL command output:
*ERROR 1: Cannot open \\\\allstate\\data\\2018\\18051.02-Ag-Power\\GIS DATA\\rough clip boundary.shp.*

Execution completed in 0.07 seconds
Results:
{'OUTPUT': <QgsProcessingOutputLayerDefinition {'sink'://allstate/data/2018/18051.02-Ag-Power/LIDAR DATA/clipped_Lidar_ft.tif, 'createOptions': {'fileEncoding': 'System'}}>}

Loading resulting layers
The following layers were not correctly generated.<ul><li>//allstate/data/2018/18051.02-Ag-Power/LIDAR DATA/clipped_Lidar_ft.tif</li></ul>You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.

Back