Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
add None in Exception
- Loading branch information
Showing
with
4 additions
and
0 deletions.
-
+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() |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.