z_accuracy_gcp fails after Python 3/Conda migration
plimkilde opened this issue · comments
Checks with z_accuracy_gcp
fails under the new Conda/Python 3 toolchain with the following message:
[qc_wrap]: Traceback:
Traceback (most recent call last):
File "C:\dev\DHMQC\qc_wrap.py", line 126, in run_check
return_code = test_func(send_args)
File "C:\dev\DHMQC\qc\z_accuracy_gcp.py", line 83, in main
feats=vector_io.get_features(pointname,pargs.layername,pargs.layersql,extent)
File "C:\dev\DHMQC\qc\thatsDEM\vector_io.py", line 221, in get_features
layer.SetSpatialFilterRect(*extent)
File "C:\Users\[REDACTED]\.conda\envs\DHMQC\lib\site-packages\osgeo\ogr.py", line 1345, in SetSpatialFilterRect
return _ogr.Layer_SetSpatialFilterRect(self, *args)
NotImplementedError: Wrong number or type of arguments for overloaded function 'Layer_SetSpatialFilterRect'.
Possible C/C++ prototypes are:
OGRLayerShadow::SetSpatialFilterRect(double,double,double,double)
OGRLayerShadow::SetSpatialFilterRect(int,double,double,double,double)