Skip to content
Permalink
Browse files
[processing] code cleaning. Removed debug sentences
  • Loading branch information
volaya committed May 21, 2014
1 parent 202d331 commit 889d2a1b45ae99ab0ecb882bc8d308d028a5b68b
@@ -227,7 +227,7 @@ def processAlgorithm(self, progress):
else :
indexSubdataset = -1
else :
print "Error : no match of ", dataset, "$ in gdalinfo " + data
#print "Error : no match of ", dataset, "$ in gdalinfo " + data
indexSubdataset = -1


@@ -65,8 +65,6 @@ def processAlgorithm(self, progress):
weightField = self.getParameterValue(self.WEIGHT)
uniqueField = self.getParameterValue(self.UID)

print weightField, uniqueField

if weightField is None:
weightIndex = -1
else:
@@ -127,7 +127,7 @@ def singleToMultiGeom(self, wkbType):
else:
return QGis.WKBUnknown
except Exception, err:
print unicode(err)
pass

def extractAsMulti(self, geom):
if geom.type() == QGis.Point:
@@ -260,7 +260,7 @@ def singleToMultiGeom(self, wkbType):
else:
return QGis.WKBUnknown
except Exception, err:
print unicode(err)
pass

def extractAsMulti(self, geom):
if geom.type() == QGis.Point:
@@ -424,7 +424,6 @@ def processAlgorithm(self, progress):

crsId = self.getParameterValue(self.CRS)
self.crs = QgsCoordinateReferenceSystem(crsId)
print self.crs.authid()

if hspacing <= 0 or vspacing <= 0:
raise GeoAlgorithmExecutionException('Invalid grid spacing: '

0 comments on commit 889d2a1

Please sign in to comment.