[Qgis-developer] gdalwarp fails, Save as... reprojected works

Paolo Cavallini cavallini at faunalia.it
Sat Oct 8 03:12:34 PDT 2016


Hi all,
reprojecting a raster from 4326 to 3857 through Save as... menu works,
whereas the same through Processing does not:

gdalwarp -ot Float32 -t_srs EPSG:3857 -r near -of GTiff -te -20.0 40.0
20.0 90.0 -te_srs EPSG:4326 -co COMPRESS=DEFLATE -co PREDICTOR=1 -co
ZLEVEL=6 -wo OPTIMIZE_SIZE=TRUE gt30w020n90.dem OUTPUT.tif
GDAL command output:
ERROR 1: tolerance condition error
ERROR 1: -te_srs ignored since coordinate transformation failed.

With GDALTools it works. The CL in this case is:

gdalwarp -overwrite -s_srs EPSG:4326 -t_srs EPSG:3857 -of GTiff
gt30w020n90.dem test_repro.tif

So apparently Processing introduces unnecessary, damaging, params.

All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the Qgis-developer mailing list