18 #define CPL_SUPRESS_CPLUSPLUS //#spellok 20 #include "cpl_string.h" 26 QString driverShortName = GDALGetDriverShortName( driver );
27 if ( driverShortName == QLatin1String(
"SQLite" ) )
32 char **driverMetadata = GDALGetMetadata( driver,
nullptr );
33 return CSLFetchBoolean( driverMetadata, GDAL_DCAP_CREATE,
false ) &&
34 CSLFetchBoolean( driverMetadata, GDAL_DCAP_RASTER,
false );
static bool supportsRasterCreate(GDALDriverH driver)
Reads whether a driver supports GDALCreate() for raster purposes.