Navigation Menu

Skip to content

Commit

Permalink
Disable the prefetching of images from OWS services
Browse files Browse the repository at this point in the history
See:
https://lists.osgeo.org/pipermail/qgis-developer/2021-February/063165.html
and a followup of
#41832

Never prefetch tiled OWS layers
  • Loading branch information
rduivenvoorde committed Mar 31, 2021
1 parent dbd2b66 commit cc482dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -2020,7 +2020,8 @@ int QgsWmsProvider::capabilities() const
// See https://github.com/qgis/QGIS/issues/34813
if ( mSettings.mTiled && !( mSettings.mXyz && dataSourceUri().contains( QStringLiteral( "openstreetmap.org" ) ) ) )
{
capability |= Capability::Prefetch;
// March 2021: *never* prefetch tile based layers, see: https://github.com/qgis/QGIS/pull/41953
// capability |= Capability::Prefetch;
}

QgsDebugMsgLevel( QStringLiteral( "capability = %1" ).arg( capability ), 2 );
Expand Down

0 comments on commit cc482dc

Please sign in to comment.