Bug report #12278
Hypsometric curves returns an error
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Alexander Bruy | ||
Category: | Processing/QGIS | ||
Affected QGIS version: | 2.8.1 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 20461 |
Description
Uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py",
line 232, in execute
self.processAlgorithm(progress)
File
"/usr/share/qgis/python/plugins/processing/algs/qgis/HypsometricCurves.py",
line 154, in processAlgorithm
rasterizedDS.SetGeoTransform(newGeoTransform)
AttributeError: 'NoneType' object has no attribute 'SetGeoTransform'
See attached data.
Associated revisions
[processing] correctly handle tiny polygons smaller than raster cell
size in Hypsometric curves algorithm (fix #12278)
[processing] correctly handle tiny polygons smaller than raster cell
size in Hypsometric curves algorithm (fix #12278)
History
#1 Updated by Paolo Cavallini over 9 years ago
- File comuni.zip added
#2 Updated by Paolo Cavallini over 9 years ago
DTM too large to attach, please find it here:
http://www.faunalia.eu/~paolo/dtm.tar.gz
#3 Updated by Alexander Bruy over 9 years ago
- Assignee changed from Victor Olaya to Alexander Bruy
#4 Updated by Alexander Bruy over 9 years ago
- Status changed from Open to In Progress
#5 Updated by Alexander Bruy over 9 years ago
Found the issue. There is a very small polygon in vector layer, smaller that raster pixel size. This is feature with ID=310 (part of the "Isola del Giglio" commune)
#6 Updated by Alexander Bruy over 9 years ago
- Status changed from In Progress to Closed
Fixed in changeset 7997c3535fc8a9cf371274796c1775066a1d9cc8.
#7 Updated by Alexander Bruy over 9 years ago
- Status changed from Closed to In Progress
- Resolution set to fixed/implemented
Also backported to 2.8
#8 Updated by Jürgen Fischer over 9 years ago
- Status changed from In Progress to Closed