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.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to