[Gdal-dev] Create method
Pereira, Ricardo Scachetti
rpereira at ku.edu
Fri Sep 24 09:48:14 EDT 2004
GDAL supports creation of many raster formats from table on this
But then when I check if the drivers support the Create method,
with a call like this:
poDriver = GetGDALDriverManager()->GetDriverByName("AAIGrid");
if( poDriver == NULL ) exit( 1 );
papszMetadata = poDriver->GetMetadata();
bool result = ( CSLFetchBoolean( papszMetadata, GDAL_DCAP_CREATE,
FALSE ) );
Only BMP and Gtiff seem to support it.
So my question is, what is the alternative method of creating
raster datasets using the various drivers, other than using Create()?
Why some drivers implement it and others don't?
Ricardo Scachetti Pereira
Biodiversity Research Center
Natural History Museum
University of Kansas
1345 Jayhawk Boulevard
Lawrence, KS 66045-7561 USA
Tel: (785) 864-4655, Fax: (785) 864-5335
email: rpereira at ku.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gdal-dev