mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
Correctly show ers files in browser
Workaround missing metadata in gdal driver
This commit is contained in:
parent
ce59cbd6f7
commit
f95d616d6a
@ -2251,7 +2251,6 @@ void buildSupportedRasterFileFilterAndExtensions( QString &fileFiltersString, QS
|
||||
}
|
||||
|
||||
fileFiltersString += createFileFilter_( myGdalDriverLongName, glob );
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -2276,6 +2275,11 @@ void buildSupportedRasterFileFilterAndExtensions( QString &fileFiltersString, QS
|
||||
fileFiltersString += createFileFilter_( myGdalDriverLongName, QStringLiteral( "*.bil" ) );
|
||||
extensions << QStringLiteral( "bil" );
|
||||
}
|
||||
else if ( myGdalDriverDescription == QLatin1String( "ERS" ) )
|
||||
{
|
||||
fileFiltersString += createFileFilter_( myGdalDriverLongName, QStringLiteral( "*.ers" ) );
|
||||
extensions << QStringLiteral( "ers" );
|
||||
}
|
||||
else if ( myGdalDriverDescription.startsWith( QLatin1String( "AIG" ) ) )
|
||||
{
|
||||
fileFiltersString += createFileFilter_( myGdalDriverLongName, QStringLiteral( "hdr.adf" ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user