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

Martin Landa landa.martin at gmail.com
Wed Oct 6 06:53:42 PDT 2021


Hi Even,

st 6. 10. 2021 v 14:00 odesílatel Even Rouault
<even.rouault at spatialys.com> 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 issues that prevented it to work, which will be
> fixed per https://github.com/OSGeo/gdal/pull/4604
>
> You can workaround by using command line style:
>
> gdal.Warp(output_path, file, options='-t_srs EPSG:3035 -r sum -tr 1000
> 1000')

Great. Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the gdal-dev mailing list