Skip to content
Permalink
Browse files

[processing] fix geometry by expression algorithm geometryless input

  • Loading branch information
nirvn authored and nyalldawson committed Jun 12, 2018
1 parent 4e37f38 commit f1397f8439749b564cc4de41edb68d3180c60ec8
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/plugins/processing/algs/qgis/GeometryByExpression.py
@@ -28,6 +28,7 @@
from qgis.core import (QgsWkbTypes,
QgsExpression,
QgsGeometry,
QgsProcessing,
QgsProcessingException,
QgsProcessingParameterBoolean,
QgsProcessingParameterEnum,
@@ -105,6 +106,9 @@ def prepareAlgorithm(self, parameters, context, feedback):
def outputWkbType(self, input_wkb_type):
return self.wkb_type

def inputLayerTypes(self):
return [QgsProcessing.TypeVector]

def sourceFlags(self):
return QgsProcessingFeatureSource.FlagSkipGeometryValidityChecks

0 comments on commit f1397f8

Please sign in to comment.
You can’t perform that action at this time.