mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[processing] Rename 'export/add geometry columns' alg + add tags for discoverability
This commit is contained in:
parent
cb9314af67
commit
ab03453136
@ -52,7 +52,8 @@ class ExportGeometryInfo(GeoAlgorithm):
|
||||
return QIcon(os.path.join(pluginPath, 'images', 'ftools', 'export_geometry.png'))
|
||||
|
||||
def defineCharacteristics(self):
|
||||
self.name, self.i18n_name = self.trAlgorithm('Export/Add geometry columns')
|
||||
self.name, self.i18n_name = self.trAlgorithm('Add geometry columns and measures')
|
||||
self.tags = self.trAlgorithm('export,measurements,areas,lengths,perimeters,latitudes,longitudes,,x,y,z,extract,points,lines,polygons')
|
||||
self.group, self.i18n_group = self.trAlgorithm('Vector table tools')
|
||||
|
||||
self.calc_methods = [self.tr('Layer CRS'),
|
||||
@ -120,7 +121,6 @@ class ExportGeometryInfo(GeoAlgorithm):
|
||||
coordTransform = QgsCoordinateTransform(layCRS, mapCRS)
|
||||
|
||||
outFeat = QgsFeature()
|
||||
inGeom = QgsGeometry()
|
||||
|
||||
outFeat.initAttributes(len(fields))
|
||||
outFeat.setFields(fields)
|
||||
|
Loading…
x
Reference in New Issue
Block a user