mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Save Raster Layer as: do not propose PDF as possible format, which is not supported
The PDF driver only supports 'random' creation for vectors, not raster. For raster, it only supports CreateCopy() mode Refs #58891
This commit is contained in:
parent
e74bb60ad4
commit
98de62cc7a
@ -162,7 +162,8 @@ QList<QgsGdalOption> QgsGdalOption::optionsFromXml( const CPLXMLNode *node )
|
||||
bool QgsGdalUtils::supportsRasterCreate( GDALDriverH driver )
|
||||
{
|
||||
const QString driverShortName = GDALGetDriverShortName( driver );
|
||||
if ( driverShortName == QLatin1String( "SQLite" ) )
|
||||
if ( driverShortName == QLatin1String( "SQLite" ) ||
|
||||
driverShortName == QLatin1String( "PDF" ) )
|
||||
{
|
||||
// it supports Create() but only for vector side
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user