Le 12/10/2015 12:15, matteo a écrit :
Hi all,
I'm doing some test with Processing and I'm facing some problem with
some algorithm:

* Create grid (QGIS).. each time I try to create a grid I receive this
error:
Grid instance has no attribute 'TYPES' See log for more details

while using the same algorithm from the Vector menu of QGIS no problem
This is also a lack due to my recent changes in the translation strings
This can be fixed by https://github.com/qgis/QGIS/pull/2366



* Zonal statistics: input raster (DEM) and a polygon vector (I'm sure
the CRS are the same). This is the error:

in method 'SpatialReference_ImportFromProj4', argument 2 of type 'char
*' See log for more details

same thing of above: the algorithm works if called from the QGIS menu.

Error seems to come from here : https://github.com/qgis/QGIS/commit/9fc1b48bf3ff46c2210bdbbc4d9353033da66f6a#commitcomment-13714783
This should also affect HypsometricCurves
@m-kuhn: Can you confirm that we can revert unicode() => str() on this specific lines
I'm not confortable with unicode object and binaries binding like osgeo._osr

Arnaud


I'll continue testing..

Thanks

Matteo
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to