Ciao Antonio. Now everything looks perfect. Thank you very much Gabriele -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-calc-py-IF-ELSE-Condition-tp5274166p5274365.html Sent from the GDAL - Dev mailing list archive at Nabble.com.