[gdal-dev] gdalbuildvrt problem with heterogenous band characteristics

2012-07-30 Thread CABO
Hi! I'm trying to create a VRT file from 4 GeoTIFFs using gdalbuildvrt. Three of the GeoTIFFs are created using OrthoVista and the last one created with an earlier version of the same program. When I run gdalbuildvrt I get the following error message when I try to add the file created by the ea

Re: [gdal-dev] gdalbuildvrt problem with heterogenous band characteristics

2012-07-31 Thread Chaitanya kumar CH
Casper, This message should not appear unless there is a difference in the band data type, colour interpretation or the band order. Can you check if manually adding the old file works? On Mon, Jul 30, 2012 at 11:01 PM, Casper Børgesen (CABO) wrote: > Hi! > > ** ** > > I’m trying to create

Re: [gdal-dev] gdalbuildvrt problem with heterogenous band characteristics

2012-07-31 Thread CABO
(CABO) Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] gdalbuildvrt problem with heterogenous band characteristics Casper, This message should not appear unless there is a difference in the band data type, colour interpretation or the band order. Can you check if manually adding the old

Re: [gdal-dev] gdalbuildvrt problem with heterogenous band characteristics

2012-07-31 Thread Chaitanya kumar CH
not present in the 3 new files. Could this be the reason? *** > * > > ** ** > > Btw. my normal version of gdal is 1.9. > > ** ** > > Regards, Casper > > ** ** > > *From:* Chaitanya kumar CH [mailto:chaitanya...@gmail.com] > *Sent:* 31. juli 2012 15:30 > *To:* Ca

Re: [gdal-dev] gdalbuildvrt problem with heterogenous band characteristics

2012-08-16 Thread Margherita Di Leo
Hi All, On Mon, Jul 30, 2012 at 7:31 PM, Casper Børgesen (CABO) wrote: > Hi! > > ** ** > > I’m trying to create a VRT file from 4 GeoTIFFs using gdalbuildvrt. Three > of the GeoTIFFs are created using OrthoVista and the last one created with > an earlier version of the same program. When I

Re: [gdal-dev] gdalbuildvrt problem with heterogenous band characteristics

2012-08-16 Thread Even Rouault
Selon Margherita Di Leo : > Hi All, > > On Mon, Jul 30, 2012 at 7:31 PM, Casper Børgesen (CABO) wrote: > > > Hi! > > > > ** ** > > > > I’m trying to create a VRT file from 4 GeoTIFFs using gdalbuildvrt. Three > > of the GeoTIFFs are created using OrthoVista and the last one created with > >

Re: [gdal-dev] gdalbuildvrt problem with heterogenous band characteristics

2012-08-16 Thread Margherita Di Leo
On Thu, Aug 16, 2012 at 4:32 PM, Even Rouault wrote: > Selon Margherita Di Leo : > > > Hi All, > > > > On Mon, Jul 30, 2012 at 7:31 PM, Casper Børgesen (CABO) >wrote: > > > > > Hi! > > > > > > ** ** > > > > > > I’m trying to create a VRT file from 4 GeoTIFFs using gdalbuildvrt. > Three > >

Re: [gdal-dev] gdalbuildvrt problem with heterogenous band characteristics

2012-08-16 Thread Eli Adam
> Band 1 Block=5000x1 Type=Int16, ColorInterp=Gray ... > Band 1 Block=1x1 Type=Float32, ColorInterp=Gray > > I can't see anything obvious why these two files can't be mosaiced.. > It looks like one is 16 bit and the other 32. gdalbuildvrt probably can't determine the type of output to create.

Re: [gdal-dev] gdalbuildvrt problem with heterogenous band characteristics

2012-08-16 Thread Margherita Di Leo
Hi, On Thu, Aug 16, 2012 at 11:02 PM, Eli Adam wrote: > > Band 1 Block=5000x1 Type=Int16, ColorInterp=Gray > ... > > Band 1 Block=1x1 Type=Float32, ColorInterp=Gray > > > > I can't see anything obvious why these two files can't be mosaiced.. > > > > It looks like one is 16 bit and the other

Re: [gdal-dev] gdalbuildvrt problem with heterogenous band characteristics

2012-08-21 Thread Margherita Di Leo
Dear all, in regard of this different behavior performed by gdalwarp and gdalbuildvrt respect to different data type entries, I have some considerations. The error raised by gdalbuildvrt made me wonder about my data and then with your help I discovered what was wrong with them. On the other hand,