Skip to content
Permalink
Browse files

[processing] Also standardise names for Spatialite algorithms

  • Loading branch information
nyalldawson committed Aug 21, 2018
1 parent 5fab46f commit 9fbef832c96e31f66c068b63919ed3ff8459261f
@@ -84,7 +84,13 @@ def name(self):
return 'importintospatialite'

def displayName(self):
return self.tr('Import into Spatialite')
return self.tr('Export to SpatiaLite')

def shortDescription(self):
return self.tr('Exports a vector layer to a SpatiaLite database')

def tags(self):
return self.tr('import,table,layer,into,copy').split(',')

def processAlgorithm(self, parameters, context, feedback):
database = self.parameterAsVectorLayer(parameters, self.DATABASE, context)
@@ -60,6 +60,9 @@ def name(self):
def displayName(self):
return self.tr('SpatiaLite execute SQL')

def shortDescription(self):
return self.tr('Executes a SQL command on a SpatiaLite database')

def flags(self):
return super().flags() | QgsProcessingAlgorithm.FlagNoThreading

0 comments on commit 9fbef83

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