Jump to content

WAsP Scripting Error


Recommended Posts

Posted

Hello and thank you for this great plugin.

I am using the plugin and for the CORINE dataset, I don't have any problems. However, when I use WorldCover, I receive the following error. Could you please help, me to solve this issue?

Many thanks

 

GDAL command output:

Creating output C:/Users/jama/AppData/Local/Temp/processing_EIXjaH/0a5161e0f997460a8de8b01247b4f4b6/OUTPUT.xtf of format Interlis 2.

Traceback (most recent call last):

File "C:\PROGRA~1\QGIS33~1.11\apps\Python312\Lib\site-packages\osgeo_utils\auxiliary\gdal_argparse.py", line 229, in main
self.doit(**kwargs)
File "C:\PROGRA~1\QGIS33~1.11\apps\Python312\Lib\site-packages\osgeo_utils\gdal_polygonize.py", line 355, in doit
return gdal_polygonize(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1\QGIS33~1.11\apps\Python312\Lib\site-packages\osgeo_utils\auxiliary\util.py", line 62, in enable_exceptions_wrapper
return fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1\QGIS33~1.11\apps\Python312\Lib\site-packages\osgeo_utils\gdal_polygonize.py", line 149, in gdal_polygonize
dst_ds = drv.CreateDataSource(dst_filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1\QGIS33~1.11\apps\Python312\Lib\site-packages\osgeo\ogr.py", line 723, in CreateDataSource
return _ogr.Driver_CreateDataSource(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: ILI2 Create(): model file not specified in destination filename.

Process returned error code 1

Results: {'OUTPUT': 'C:/Users/jama/AppData/Local/Temp/processing_EIXjaH/0a5161e0f997460a8de8b01247b4f4b6/OUTPUT.xtf'}

Clipping to bounding box...

Unable to execute algorithm
Could not load source layer for INPUT: C:/Users/jama/AppData/Local/Temp/processing_EIXjaH/0a5161e0f997460a8de8b01247b4f4b6/OUTPUT.xtf not found

Unable to execute algorithm
Could not load source layer for INPUT: C:/Users/jama/AppData/Local/Temp/processing_EIXjaH/0a5161e0f997460a8de8b01247b4f4b6/OUTPUT.xtf not found

Execution failed after 14.35 seconds

 

Loading resulting layers

Algorithm 'Get WorldCover landcover polygons' finished

 

Posted

Yes, there was recently another case that had this problem. The solution there was like this:

Quote

It is strange that the output file has the extension "xtf". Could you try to go "Options" in the "processing toolbox" and then go the section "Processing" and change the Default output vector layer file extension to "gpkg" (see attached)?

 

untitled.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...