Skip to content

A change map is not being created #68

@taras-user

Description

@taras-user

A change map is not being created.
The source data have the same coverage and the same coordinate system

Use QGIS --- 3.34.13-Prizren Ubuntu 22.04

Errors when executing a Python script
ValueError: 255 отсутствует в списке

         Traceback (последний последний вызов):
          Файл "/home/taras/.local/share/QGIS/QGIS3/profiles/default/python/plugins/molusce/algorithms/models/area_analysis/manager.py", строка 110, in getChangeMap
          self.makeChangeMap()
          Файл "/home/taras/.local/share/QGIS/QGIS3/profiles/default/python/plugins/molusce/algorithms/models/area_analysis/manager.py", строка 135, in makeChangeMap
          band[i, j] = self.encode(r, c)
          Файл "/home/taras/.local/share/QGIS/QGIS3/profiles/default/python/plugins/molusce/algorithms/models/area_analysis/manager.py", строка 100, in encode
          return self.categories.index(initialClass) * m + self.categories.index(
         ValueError: 255 отсутствует в списке
           
          Python: 3.10.12 (main, Nov 6 2024, 20:22:13) [GCC 11.4.0]
                      Version: 3.34.13-Prizren Prizren, 222b59952c9
                    
         Python location:             
         /usr/share/qgis/python/home/taras/.local/share/QGIS/QGIS3/profiles/default/python/home/taras/. local/share/QGIS/QGIS3/profiles/default/python/plugins/usr/share/qgis/python/plugins/usr/lib/python310.zip/usr/lib/python3.10/usr/lib/python3.10/lib-dynload/home/taras/.local/lib/python3. 10/site-packages/usr/local/lib/python3.10/dist-packages/usr/lib/python3/dist-packages/usr/lib/python3.10/dist-packages/home/taras/. local/share/QGIS/QGIS3/profiles/default/python/usr/lib/python3/dist-packages/IPython/extensions/home/taras/QGIS/DNESTR_LIM/CORE_DATA/NDVI_SPAT_SEAS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions