Skip to content

Commit ab03453

Browse files
committed
[processing] Rename 'export/add geometry columns' alg + add tags for discoverability
1 parent cb9314a commit ab03453

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/plugins/processing/algs/qgis/ExportGeometryInfo.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ def getIcon(self):
5252
return QIcon(os.path.join(pluginPath, 'images', 'ftools', 'export_geometry.png'))
5353

5454
def defineCharacteristics(self):
55-
self.name, self.i18n_name = self.trAlgorithm('Export/Add geometry columns')
55+
self.name, self.i18n_name = self.trAlgorithm('Add geometry columns and measures')
56+
self.tags = self.trAlgorithm('export,measurements,areas,lengths,perimeters,latitudes,longitudes,,x,y,z,extract,points,lines,polygons')
5657
self.group, self.i18n_group = self.trAlgorithm('Vector table tools')
5758

5859
self.calc_methods = [self.tr('Layer CRS'),
@@ -120,7 +121,6 @@ def processAlgorithm(self, feedback):
120121
coordTransform = QgsCoordinateTransform(layCRS, mapCRS)
121122

122123
outFeat = QgsFeature()
123-
inGeom = QgsGeometry()
124124

125125
outFeat.initAttributes(len(fields))
126126
outFeat.setFields(fields)

0 commit comments

Comments
 (0)