Skip to content
Permalink
Browse files
[fix] #43905 append OAPIF extra query params if url is not empty
  • Loading branch information
Joonalai committed Jun 30, 2021
1 parent 545174c commit 56914ed3e275559e3f2f23709cc8b494d2a189c6
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/providers/wfs/qgsoapifprovider.cpp
@@ -690,10 +690,9 @@ void QgsOapifFeatureDownloaderImpl::run( bool serializeFeatures, long long maxFe
}
}

url = mShared->appendExtraQueryParameters( url );

while ( !url.isEmpty() )
{
url = mShared->appendExtraQueryParameters( url );

if ( maxTotalFeatures > 0 && totalDownloadedFeatureCount >= maxTotalFeatures )
{
@@ -721,7 +720,6 @@ void QgsOapifFeatureDownloaderImpl::run( bool serializeFeatures, long long maxFe
break;
}
url = itemsRequest.nextUrl();
url = mShared->appendExtraQueryParameters( url );

// Consider if we should display a progress dialog
// We can only do that if we know how many features will be downloaded

0 comments on commit 56914ed

Please sign in to comment.