[gdal-dev] Hacking the new Landsat pixel_qa help...
jgreenberg at unr.edu
Thu May 4 15:53:47 PDT 2017
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:
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.
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
AIM: jgrn307, MSN: jgrn307 at hotmail.com, Gchat: jgrn307, Skype: jgrn3007
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev