[QGIS-Developer] Changes to processing gdal:translate?

Nyall Dawson nyall.dawson at gmail.com
Fri Jan 26 15:27:42 PST 2018


On 27 January 2018 at 02:58, Tom Chadwin <tom.chadwin at nnpa.org.uk> wrote:
> No, my mistake. I think there might be an issue with the processing wrapper
> for gdal:warp. It takes the argument TARGET_EXTENT, and uses that for the
> GDAL arg "-te". However, it then tries to add in extent details, and I think
> there might be an incorrect variable name. In warp.py from line 190:
>
> arguments.append(rasterExtent.xMinimum())
> arguments.append(rasterExtent.yMinimum())
> arguments.append(rasterExtent.xMaximum())
> arguments.append(rasterExtent.yMaximum())
>
> I'm not sure "rasterExtents" is defined, but substituting the more plausible
> "extent" gets no extent value out.
>
> Is this an issue, or are the Python bindings for Processing's
> gdal:warpreproject working for others?
>

Fixed by Alex in
https://github.com/qgis/QGIS/commit/891ca3cd11a1c192df937ffd49418f21f9956eaa

Nyall


More information about the QGIS-Developer mailing list