[gdal-dev] Geotiff with bands of different type

Martin Raspaud martin.raspaud at smhi.se
Tue Aug 10 04:33:47 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chaitanya kumar CH skrev:
> Martin,
> 
> Yes, it is possible.
> You can specify the data type in GDALDataset::AddBand()

Hi,

thanks for your answer.

Unfortunately, I get the following error:
ERROR 6: Dataset does not support the AddBand() method

I am using the gtiff driver.
Or was this solved in more recent versions of gdal ? (v. 1.5.3)

Best regards,
Martin

> On Tue, Aug 10, 2010 at 12:44 PM, Martin Raspaud <martin.raspaud at smhi.se
> <mailto:martin.raspaud at smhi.se>> wrote:
> 
>     -----BEGIN PGP SIGNED MESSAGE-----
>     Hash: SHA1
> 
>     Hi all,
> 
>     I'm using gdal/python and I would like to create geotiffs using one
>     band of
>     bytes and one of float32s...
> 
>     Is this even possible ?
> 
>     Thanks,
>     Martin
>     _______________________________________________
>     gdal-dev mailing list
>     gdal-dev at lists.osgeo.org <mailto:gdal-dev at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
> 
> 
> -- 
> Best regards,
> Chaitanya kumar CH.
> /tʃaɪθənjə/ /kʊmɑr/
> +91-9494447584
> 17.2416N 80.1426E

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMYQ7rAAoJEBdvyODiyJI4GREH/j1CI911HGlK8MAMRlbhAtEl
IIeZJbI4nlP/8hpOJWCbQuK+JSV7UJVbjcud0HqeZdjX9rfi7VVxBh1zx6BONtAz
qXIxn0/r/xz+2G4CZJyEIsL8q4w+/vGJZ+9Wz+TR/s4AtQPrEr86PcNu5YBf2jnp
hER54NMenInoEVmxAW0MsrkuHKL5D6mPeq7WYwUTqzCVz6twYZVwyv5IaLDsDblq
jf2pOMir4uEfgrQshik/SxBtVcdJMCIbYvfMJPYgQG+TebgWABJUaDbKxllqrNEf
gAqXu2b7plYCNqibAMYHQTxXrI0aLO4F6Gx2A3+t7dcjsS6Qhz+Q2fY4vMlpvrw=
=Mji/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: martin_raspaud.vcf
Type: text/x-vcard
Size: 259 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100810/bac0feef/martin_raspaud.vcf


More information about the gdal-dev mailing list