Le lundi 25 avril 2016 22:29:52, Giovanni Manghi a écrit : > > Hi all, > > > > I encountered some trouble to integrate 'GDAL - Clip raster by extent' > > in a model. > > > > The NODATA param is described as 'Nodata value, leave blank to take the > > nodata value from input' and it is not optional. There is no problem if > > the algorithm is executed alone. But when we integrated 'GDAL - Clip > > raster by extent' in a model with an empty value for NODATA, because the > > field is empty, the algorithm can't be added. > > > > The easy way to fix it is to decalre NODATA param as optional. What do > > you think about it ? > > > > Do you know other potential optional parameters ? > > > > René-Luc > > Hi, > > I made a PR to fix it. > > By the way, recently in this GDAL gdal_translate (used to clip by > extent) has been added the parameter > > -wo OPTIMIZE_SIZE=TRUE > > but this is not documented > > http://www.gdal.org/gdal_translate.html > > and in fact the command run from Processing fails on master because of it. > > Can I remove it?
Would be appropriate. -wo is a gdalwarp specific option > > cheers > > -- G -- > _______________________________________________ > Qgis-developer mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
