Folks: USGS, in their infinite wisdom, decided to embed what is effectively a 1-bit, 16-band byte-interleaved-by-pixel image into a 16-bit, single-band geotiff for the Landsat quality mask. I could write some crazy translation program that "reverse engineers" the data, but I was wondering if there is some way to "hack" or translate the file by simply redefining the "header" (change the number type to 1-bit, number of layers to 16, interleave to BIP). Any suggestions for how to do this?
I dropped an example file here: https://nevada.box.com/s/1xcqrnyyaym4fbzz3r9pjiv79qh5wblj To be clear, the "displayed" number has no real meaning, the information is embedded into the set of individual bits in each of the 16 positions. --j -- -- Jonathan A. Greenberg, PhD Randall Endowed Professor and Associate Professor of Remote Sensing Global Environmental Analysis and Remote Sensing (GEARS) Laboratory Natural Resources & Environmental Science University of Nevada, Reno 1664 N Virginia St MS/0186 Reno, NV 89557 Phone: 415-763-5476 http://www.unr.edu/nres AIM: jgrn307, MSN: jgrn...@hotmail.com, Gchat: jgrn307, Skype: jgrn3007
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev