Re: [gdal-dev] gdal 3.1.2: Unknown resampling method: 13.

2021-10-06 Thread Martin Landa
Hi Even, st 6. 10. 2021 v 14:00 odesílatel Even Rouault napsal: > I'm even surprised gdalconst.GRA_Sum was valid in GDAL 3.1.2, as it was > added (in the Python bindings) only in 3.3.0 per > https://github.com/OSGeo/gdal/pull/4604 sorry, I was wrong. I am running 3.3.2. > But there were other i

Re: [gdal-dev] gdal 3.1.2: Unknown resampling method: 13.

2021-10-06 Thread Even Rouault
Martin, I'm even surprised gdalconst.GRA_Sum was valid in GDAL 3.1.2, as it was added (in the Python bindings) only in 3.3.0 per https://github.com/OSGeo/gdal/pull/4604 But there were other issues that prevented it to work, which will be fixed per https://github.com/OSGeo/gdal/pull/4604 Yo

[gdal-dev] gdal 3.1.2: Unknown resampling method: 13.

2021-10-06 Thread Martin Landa
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/osge