mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[processing] Fix pixel centroids along lines handling of null geometries
This commit is contained in:
parent
d1e9ce1f69
commit
9e1bf68902
@ -107,6 +107,10 @@ class PointsFromLines(QgisAlgorithm):
|
||||
for current, f in enumerate(features):
|
||||
if feedback.isCanceled():
|
||||
break
|
||||
|
||||
if not f.hasGeometry():
|
||||
continue
|
||||
|
||||
geom = f.geometry()
|
||||
if geom.isMultipart():
|
||||
lines = geom.asMultiPolyline()
|
||||
|
Loading…
x
Reference in New Issue
Block a user