[gdal-dev] Create copy without any bands

Chaitanya kumar CH chaitanya.ch at gmail.com
Sat Aug 21 13:00:34 EDT 2010


Tim,

You can create it easily by modifying GDALDriver::DefaultCreateCopy()

On Sat, Aug 21, 2010 at 9:51 PM, Tim Keitt <tkeitt at gmail.com> wrote:

> I am writing a utility that takes a raster as input and outputs a
> raster with all attributes the same, except that I only want one
> output band and I want to specify its type independent of the data
> type in the input file. Is there a function that creates a copy of a
> dataset (or creates a virtual dataset), but does not copy any raster
> bands? This would really simplify things as all I would have to do is
> add a band to the output dataset of the desired type.
>
> THK
>
> --
> Timothy H. Keitt
> http://www.keittlab.org/
> _______________________________________________
> gdal-dev mailing list
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100821/b08b977b/attachment.html


More information about the gdal-dev mailing list