Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ValueError: Null geometry cannot be converted to a polyline. #8

Open
diledsys opened this issue Jul 7, 2022 · 0 comments
Open

Comments

@diledsys
Copy link

diledsys commented Jul 7, 2022

Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "C:\Users/di/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\joinmultiplelines\joinmultiplelines.py", line 185, in run
    newgeom = self.Step(newgeom, geomlist)
  File "C:\Users/di/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\joinmultiplelines\joinmultiplelines.py", line 114, in Step
    i_lastvertex = self.LastVertex(i_geom)
  File "C:\Users/di/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\joinmultiplelines\joinmultiplelines.py", line 100, in LastVertex
    return geom.vertexAt(self.LastVertexIndex(geom))
  File "C:\Users/di/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\joinmultiplelines\joinmultiplelines.py", line 97, in LastVertexIndex
    return len(geom.asPolyline()) - 1
ValueError: Null geometry cannot be converted to a polyline.

LocatePoints 0.3.4, QGIS 3.24.3-Tisler on Windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant