Skip to content
Permalink
Browse files
[fix] #43905 append OAPIF extra query params if url is not empty
  • Loading branch information
Joonalai authored and github-actions committed Jul 1, 2021
1 parent 261cae0 commit 196e593e09dd12ec3c0ea835881a96672208b678
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 196e593

Please sign in to comment.