Dear Colleagues,
I am trying to use the oft-countpix.pl application to count pixel in a *.tif raster. The raster is 24MB in size and I am running the command within a virtual machine (ubuntu 14.04) hosted on a windows 7 machine. The raster of interest is created using the gdal_calc.py function and represents a land cover class. To reduce the size of the output from gdal_calc.py I have used LZW compression. The command used is
oft-countpix.pl temp.tif 1
After a couple of minutes I receive the following error:
wesley@wesley-VirtualBox:~/rasterData$ oft-countpix.pl temp.tif 1 Segmentation fault (core dumped) cat: /tmp/histtempZ4g/temp_hist.txt: No such file or directory
Any help on the matter would be greatly appreciated.
Wesley