failing to upload custom landcover in qgis

23 views
Skip to first unread message

Edoardo Forzano

unread,
Sep 11, 2024, 12:15:17 PM9/11/24
to Trends.Earth Users
Hi everyone, I am trying to upload a custom land cover file, I tried with both polygon and raster versions I keep getting Python error like this: 

2024-09-11T18:07:19     WARNING    Traceback (most recent call last):
              File "C:\Users/edoar/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\lc_setup.py", line 949, in done
              self.validate_input(value)
              File "C:\Users/edoar/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\lc_setup.py", line 982, in validate_input
              self.ok_clicked()
              File "C:\Users/edoar/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\lc_setup.py", line 1120, in ok_clicked
              remap_ret = self.remap_raster(out_file, self.dlg_agg.nesting.get_list())
              File "C:\Users/edoar/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\data_io.py", line 1248, in remap_raster
              warp_ret = self.warp_raster(temp_tif)
              File "C:\Users/edoar/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\data_io.py", line 1315, in warp_raster
              raster_import_worker = worker.StartWorker(
              File "C:\Users/edoar/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\worker.py", line 170, in __init__
              raise self.exception
              File "C:\Users/edoar/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\worker.py", line 38, in run
              result = self.work()
              File "C:\Users/edoar/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\data_io.py", line 360, in work
              res = gdal.Warp(
              File "C:\PROGRA~1\QGIS33~1.1\apps\Python39\lib\site-packages\osgeo\gdal.py", line 1051, in Warp
              return wrapper_GDALWarpDestName(destNameOrDestDS, srcDSTab, opts, callback, callback_data)
              File "C:\PROGRA~1\QGIS33~1.1\apps\Python39\lib\site-packages\osgeo\gdal.py", line 5462, in wrapper_GDALWarpDestName
              return _gdal.wrapper_GDALWarpDestName(*args)
             TypeError: object of wrong GDALDatasetShadow


Do you have any solution or workaround? thanks


Reply all
Reply to author
Forward
0 new messages