[gdal-dev] Do any of the utilities (gdalwarp, gdal_translate) allow for assigment of ColorInterp?

Ethan Alpert ealpert at digitalglobe.com
Fri Aug 28 13:02:38 PDT 2015


I'm running in to a problem with gdalbuildvrt.

I started getting the following error from gdalbuildvrt.

Warning 6: gdalbuildvrt does not support heterogenous band characteristics. Skipping ....

I'm using 1.10

I've isolated the problem to some of my files in DTED2 format have the following:

Band 1 Block=1x3601 Type=Int16, ColorInterp=Undefined

The other data in my build VRT looks like:

Band 1 Block=1201x6 Type=Int16, ColorInterp=Gray


To fix this I translated the DTED2 to VRT's and manually inserted <ColorInterp>Gray</ColorInterp> to the VRTRasterBand.

I need a better way to do this. Any ideas?


This electronic communication and any attachments may contain confidential and proprietary information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee responsible for delivering this communication to the intended recipient, or if you have received this communication in error, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this communication in error, and delete the copy you received.

DigitalGlobe reserves the right to monitor any electronic communication sent or received by its employees, agents or representatives.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150828/885a83c2/attachment.html>


More information about the gdal-dev mailing list