Tim, You can create it easily by modifying GDALDriver::DefaultCreateCopy()
On Sat, Aug 21, 2010 at 9:51 PM, Tim Keitt <tke...@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@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
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev