Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a four band aerial photography raster. The bands contain Red, Green, Blue, and IR data.

Using GDALInfo we get something like this currently:

Band 1 Block=2933x1 Type=UInt16, ColorInterp=Undefined
Band 2 Block=2933x1 Type=UInt16, ColorInterp=Undefined
Band 3 Block=2933x1 Type=UInt16, ColorInterp=Undefined
Band 4 Block=2933x1 Type=UInt16, ColorInterp=Undefined

The first three bands can be set to have a colour Interpretation of RGB respectively (GIS' get flaky if they're not set it seems).

But what should the ColorInterp be for the fourth, InfraRed band? Left Undefined? Or is there a setting for IR?


share|improve this question
Did you try "Alpha"? That's what I got for a 4-band TIFF I had handy. – blah238 Mar 4 '13 at 20:55
@blah238 Problem there is, I think some applications will assume alpha is what it says (transparency) and I'll get unexpected results. – GIS-Jonathan Apr 19 '13 at 10:25

You can indeed leave the NIR band as Undefined, there is nothing wrong with that.

If you set it to alpha, some software will handle it as a transparency layer.

Note that you may prefer an pseudo-color NIR composite by default instead of the true color image, then you can use "red" for band 4, "green" for band 3 and "blue" for band 2.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.