feat(#62838): PR feedback

This commit is contained in:
Tom Christian 2025-09-29 13:13:45 -07:00
parent 03b4caab1a
commit c735ee32f9
No known key found for this signature in database
GPG Key ID: 0CC611E0CD80A370
4 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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;