[gdal-dev] GDAL_DEFAULT_WMS_CACHE_PATH ignored in GDAL 1.11

2014-07-28 Thread Tomaka, Jacek
Hi, Looks like the patch mentioned here https://trac.osgeo.org/gdal/ticket/4540 did not make fully make it to the repository. Lines 61-62 of frmts\wms\gdalwmscache.cpp should have been removed. Regards. Jacek Tomaka Software Engineer T: +618 9217 3427 E: jacek.tom...@hexagongeospatial.com Hexago

Re: [gdal-dev] GDAL_DEFAULT_WMS_CACHE_PATH ignored in GDAL 1.11

2014-07-28 Thread Tomaka, Jacek
Also it does not look like WMS driver cleans the temp directory when it is done. Is it expected? Regards. Jacek Tomaka From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Tomaka, Jacek Sent: Tuesday, 29 July 2014 10:28 AM To: gdal-dev@lists.osgeo.org Sub

[gdal-dev] Does gdal_calc.py not calculate arithmetic with in the same file?

2014-07-28 Thread Cleo Drakos
Hi GDAL Developers, I have one GeoTIFF file with 2 bands. The data type is Byte. I want to calculate (Band2-Band1)/(Band2+Band1). But the following command provided a dark image: gdal_calc.py -A infile --A_band 1 -B infile, --B_band 0 --outfile outfile --calc "(A-B)/(A+B)" Does gdal_calc.py not