Skip to content
Permalink
Browse files
[fix] #43905 append OAPIF extra query params if url is not empty
  • Loading branch information
Joonalai authored and nyalldawson committed Jul 21, 2021
1 parent d31c2f8 commit 27396a27483403d604fc9faf9336e301fcdde11b
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/providers/wfs/qgsoapifprovider.cpp
@@ -690,10 +690,9 @@ void QgsOapifFeatureDownloaderImpl::run( bool serializeFeatures, int maxFeatures
}
}

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, int maxFeatures
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 27396a2

Please sign in to comment.