Skip to content
Permalink
Browse files

add None in Exception

  • Loading branch information
ghtmtt committed Jul 12, 2018
1 parent aea323e commit 92d1cdc17a860537db235690ab3cf347e9b82343
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/plugins/processing/algs/qgis/RasterSampling.py
@@ -169,6 +169,10 @@ def processAlgorithm(self, parameters, context, feedback):
try:
point = ct.transform(point)
except QgsCsException:
for b in range(sampled_raster.bandCount()):
attrs.append(
None
)
feedback.reportError(self.tr('Could not reproject feature {} to raster CRS').format(i.id()))

attrs = i.attributes()

0 comments on commit 92d1cdc

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