Re: [gdal-dev] Error in gdalwarp

2016-10-22 Thread Paolo Cavallini
Hi Even, Il 22/10/2016 21:54, Even Rouault ha scritto: > Since GDAL 2.1, validation of the cutline geometry once reprojected into > source coordinates is done, and defaults into an error if the validation > fails. > > Here the issue is linked to the fact that when the cutline datasource is mad

Re: [gdal-dev] Error in gdalwarp

2016-10-22 Thread Even Rouault
On Saturday 22 October 2016 18:30:27 Paolo Cavallini wrote: > Hi all, > I'm running gdalwarp on data from > > https://github.com/qgis/QGIS-Training-Data/tree/master/training_manual_data/ > processing/iterative > > as > > gdalwarp -ot Float32 -q -of GTiff -cutline watersheds.shp -co > COMPRESS=DE

Re: [gdal-dev] Error in gdalwarp

2016-10-22 Thread Andre Joost
Am 22.10.2016 um 18:30 schrieb Paolo Cavallini: gdalwarp -ot Float32 -q -of GTiff -cutline watersheds.shp -co COMPRESS=DEFLATE -co PREDICTOR=1 -co ZLEVEL=6 -wo OPTIMIZE_SIZE=TRUE dem25.tif OUTPUT.tif Works for me with GDAL 1.11.3 and 2.0-dev, but fails on GDAL 2.1.0 and 2.1.2. All Gisintenal b

[gdal-dev] Error in gdalwarp

2016-10-22 Thread Paolo Cavallini
Hi all, I'm running gdalwarp on data from https://github.com/qgis/QGIS-Training-Data/tree/master/training_manual_data/processing/iterative as gdalwarp -ot Float32 -q -of GTiff -cutline watersheds.shp -co COMPRESS=DEFLATE -co PREDICTOR=1 -co ZLEVEL=6 -wo OPTIMIZE_SIZE=TRUE dem25.tif OUTPUT.tif a