Skip to content

Commit f2033f4

Browse files
committedJan 23, 2015
Merge pull request #1859 from rduivenvoorde/xmin_rename
[processing] changing fieldnames from xmin to x_min
2 parents 01fd4f3 + b1b3614 commit f2033f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎python/plugins/fTools/tools/doVectorGrid.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ def compute( self, bound, xOffset, yOffset, polygon ):
171171
fieldCount = 1
172172

173173
if polygon:
174-
fields.append( QgsField("XMIN", QVariant.Double) )
175-
fields.append( QgsField("XMAX", QVariant.Double) )
176-
fields.append( QgsField("YMIN", QVariant.Double) )
177-
fields.append( QgsField("YMAX", QVariant.Double) )
174+
fields.append( QgsField("X_MIN", QVariant.Double) )
175+
fields.append( QgsField("X_MAX", QVariant.Double) )
176+
fields.append( QgsField("Y_MIN", QVariant.Double) )
177+
fields.append( QgsField("Y_MAX", QVariant.Double) )
178178
fieldCount = 5
179179
check = QFile(self.shapefileName)
180180
if check.exists():

0 commit comments

Comments
 (0)
Please sign in to comment.