[gdal-dev] gdal 3.1.2: Unknown resampling method: 13.
Martin Landa
landa.martin at gmail.com
Wed Oct 6 01:46:14 PDT 2021
Hi all,
we have issue with using gdalconst.GRA_Sum. Calling Warp() with
GRA_Sum leads to the error message below:
gdal.Warp(output_path, file, dstSRS='EPSG:3035',
resampleAlg=gdalconst.GRA_Sum,xRes=1000, yRes=1000)
ERROR 5: Unknown resampling method: 13.
File "/usr/lib/python3/dist-packages/osgeo/gdal.py", line 689, in Warp
return wrapper_GDALWarpDestName(destNameOrDestDS, srcDSTab, opts,
callback, callback_data)
File "/usr/lib/python3/dist-packages/osgeo/gdal.py", line 4600, in
wrapper_GDALWarpDestName
return _gdal.wrapper_GDALWarpDestName(*args)
TypeError: in method 'wrapper_GDALWarpDestName', argument 4 of type
'GDALWarpAppOptions *'
Is it a bug or feature - GRA_Sum is not supported by Warp()?
Thanks for clarification in advance, Martin
--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
More information about the gdal-dev
mailing list