Skip to content
Permalink
Browse files

Update comment

  • Loading branch information
nyalldawson committed Jan 12, 2021
1 parent 9cf44e4 commit 3feda231b86a0b2b6df28f55cb62d1bf477a54ac
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/grass7/Grass7Algorithm.py
@@ -1030,15 +1030,15 @@ def exportAttributeTable(self, grassName, fileName, outFormat='CSV', layer=1):
def setSessionProjectionFromProject(self):
"""
Set the projection from the project.
We creates a PROJ4 definition which is transmitted to Grass
We create a WKT definition which is transmitted to Grass
"""
if not Grass7Utils.projectionSet and iface:
self.setSessionProjection(iface.mapCanvas().mapSettings().destinationCrs())

def setSessionProjectionFromLayer(self, layer):
"""
Set the projection from a QgsVectorLayer.
We creates a PROJ4 definition which is transmitted to Grass
We create a WKT definition which is transmitted to Grass
"""
if not Grass7Utils.projectionSet:
self.setSessionProjection(layer.crs())

0 comments on commit 3feda23

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