RE: [gdal-dev] RasterIO Writing Packed RGB data

2009-08-06 Thread Martin Chapman
Thanks Martin! _ From: Martin Chapman [mailto:chapm...@pixia.com] Sent: Thursday, August 06, 2009 4:09 PM To: 'Martin Chapman'; gdal-dev@lists.osgeo.org Subject: RE: [gdal-dev] RasterIO Writing Packed RGB data Answered my on question: It is: outputDataset->Rast

RE: [gdal-dev] RasterIO Writing Packed RGB data

2009-08-06 Thread Martin Chapman
ent: Thursday, August 06, 2009 3:51 PM To: gdal-dev@lists.osgeo.org Subject: [gdal-dev] RasterIO Writing Packed RGB data I'm using the RasterIO method on the GDALDataset object and trying to write a buffer where the pixels are packed as RGBRGBRGB etc. and having trouble figuring out what pa

[gdal-dev] RasterIO Writing Packed RGB data

2009-08-06 Thread Martin Chapman
I'm using the RasterIO method on the GDALDataset object and trying to write a buffer where the pixels are packed as RGBRGBRGB etc. and having trouble figuring out what parameters to pass as the pixel, line and band space. My desired output is a 3 band geotiff and the source and dest datatype is by