Here is how the log shows for one raster image. I want to do this same thing for several rasters. The batch processing is not working.
QGIS version: 3.8.0-Zanzibar
QGIS code revision: 11aff65f10
Qt version: 5.11.2
GDAL version: 2.4.1
GEOS version: 3.7.2-CAPI-1.11.0 b55d2125
PROJ version: Rel. 5.2.0, September 15th, 2018
Processing algorithm…
Algorithm 'Zonal statistics' starting…
Input parameters:
{ 'COLUMN_PREFIX' : 'sum_201204', 'INPUT_RASTER' : 'C:/Users/ghosh/Downloads/vbd_China_fishingban_analysis/tif/VBD_npp_20120401-20120430_asia_qf1-2-3-8-10-pc_v23_c201806110200.n_detect.china_crop.tif', 'INPUT_VECTOR' : 'C:/Users/ghosh/Downloads/vbd_China_fishingban_analysis/vectors/china_eez_v9_banarea.shp', 'RASTER_BAND' : 1, 'STATS' : [1] }
Execution completed in 17.04 seconds
Results:
{'INPUT_VECTOR': }
Loading resulting layers Algorithm 'Zonal statistics' finished
This is the error for batch processing
Input parameters: {} Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\qgis\ZonalStatistics.py", line 128, in prepareAlgorithm self.raster_interface = rasterLayer.dataProvider().clone() AttributeError: 'NoneType' object has no attribute 'dataProvider'
Batch execution completed in 0.02 seconds
No comments:
Post a Comment