Python TypeError: in method 'Geometry_Transform'
Issue #3
new
Hi,
I'm trying to use your plugin on QGIS 2.8 but I am facing a Python error when clicking on "run":
An error has occured while executing Python code:
Traceback (most recent call last):
File "/home/alex/.qgis2/python/plugins/rasterstats/rasterstats_dialogs.py", line 42, in run
success = self.doWork()
File "/home/alex/.qgis2/python/plugins/rasterstats/rasterstats_dialogs.py", line 77, in doWork
statistics = self.zonal_stats(feat, self.input_zone_polygon, self.input_value_raster, self.decimals, self.histogram)
File "/home/alex/.qgis2/python/plugins/rasterstats/rasterstats_dialogs.py", line 134, in zonal_stats
geom.Transform(coordTrans)
File "/usr/lib/python2.7/dist-packages/osgeo/ogr.py", line 4628, in Transform
return _ogr.Geometry_Transform(self, *args)
TypeError: in method 'Geometry_Transform', argument 2 of type 'OSRCoordinateTransformationShadow *'
Python version:
2.7.3 (default, Jun 22 2015, 19:44:33)
[GCC 4.6.3]
My raster file is too big to be attached, but I can try to find another way to send it if you need it.
Comments (2)
-
repo owner -
Here it is: https://www.sendspace.com/file/9gozj6
- Log in to comment
Please send the raster so I can reproduce the error.