You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get a python error for the profile tool when using a mesh as height layer. See the error below. It does not matter if you draw a section line or use a line layer for the section line. I tested it with a freshly create 2dm mesh in QGIS.
Steps to reproduce:
Add a mesh to QGIS and open the profile tool
Add the mesh layer to the profile tool
Draw a section line or use a layer
Optionally, click the "interpolate line" if a python error has not occured already. Pressing this button does force a render of the graph
Observe that you get a python error as below.
IndexError: list index out of range
Traceback (most recent call last):
File "C:\Users/<username>/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\profiletool\ui\ptdockwidget.py", line 338, in refreshPlot
self.profiletoolcore.updateProfil(self.profiletoolcore.pointstoDraw, False, True)
File "C:\Users/<username>/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\profiletool\tools\profiletool_core.py", line 197, in updateProfil
self.profiles[i] = DataReaderTool().dataRasterReaderTool(
File "C:\Users/<username>/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\profiletool\tools\dataReaderTool.py", line 135, in dataRasterReaderTool
z = self._extractZValues(x, y)
File "C:\Users/<username>/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\profiletool\tools\dataReaderTool.py", line 176, in _extractZValues
ident = identifier.identify(
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Alright, thanks for the quick reply. I saw on another issue that this plugin is basically deprecated for QGIS version 3.26 and higher. I tested the build-in elevation profile in the newest LTR and there meshes work fine. I suppose this issue can be closed then.
I get a python error for the profile tool when using a mesh as height layer. See the error below. It does not matter if you draw a section line or use a line layer for the section line. I tested it with a freshly create 2dm mesh in QGIS.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: