mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
feat(#62838): PR feedback
This commit is contained in:
parent
03b4caab1a
commit
c735ee32f9
@ -86,7 +86,7 @@ COPC, empty auth configuration
|
||||
Returns a uri for the asset if it is a cloud optimized file like COG or
|
||||
COPC
|
||||
|
||||
.. versionadded:: 3.42
|
||||
.. versionadded:: 4.0
|
||||
%End
|
||||
|
||||
QString toHtml( const QString &assetId ) const;
|
||||
|
@ -86,7 +86,7 @@ COPC, empty auth configuration
|
||||
Returns a uri for the asset if it is a cloud optimized file like COG or
|
||||
COPC
|
||||
|
||||
.. versionadded:: 3.42
|
||||
.. versionadded:: 4.0
|
||||
%End
|
||||
|
||||
QString toHtml( const QString &assetId ) const;
|
||||
|
@ -137,6 +137,7 @@ QgsMimeDataUtils::Uri QgsStacAsset::uri( const QString &authcfg ) const
|
||||
}
|
||||
else if ( href().startsWith( QLatin1String( "s3://" ), Qt::CaseInsensitive ) )
|
||||
{
|
||||
// Remove the s3:// protocol prefix for compatibility with GDAL's /vsis3
|
||||
uri.uri = QStringLiteral( "ZARR:\"/vsis3/%1\"" ).arg( href().mid( 5 ) );
|
||||
}
|
||||
else
|
||||
|
@ -80,7 +80,7 @@ class CORE_EXPORT QgsStacAsset
|
||||
|
||||
/**
|
||||
* Returns a uri for the asset if it is a cloud optimized file like COG or COPC
|
||||
* \since QGIS 3.42
|
||||
* \since QGIS 4.0
|
||||
*/
|
||||
QgsMimeDataUtils::Uri uri( const QString &authcfg ) const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user