Bug report #22018

[processing][xyz tiles] not possible to run XYZ tiles in batch mode

Added by Saber Razmjooei over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/QGIS
Affected QGIS version:3.7(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29832

Description

Traceback (most recent call last):
File "/usr/local/src/QGIS_master/build/output/python/plugins/processing/algs/qgis/TilesXYZ.py", line 376, in processAlgorithm
writer.writeTile(tile, tile_img)
File "/usr/local/src/QGIS_master/build/output/python/plugins/processing/algs/qgis/TilesXYZ.py", line 210, in writeTile
self._zoomDs.WriteRaster(xoff, yoff, self.tile_width, self.tile_height, data)
File "/usr/lib/python3/dist-packages/osgeo/gdal.py", line 2250, in WriteRaster
buf_type = self.GetRasterBand(1).DataType
AttributeError: 'NoneType' object has no attribute 'DataType'

History

#1 Updated by Saber Razmjooei over 5 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF