Skip to content
Permalink
Browse files
QgsOgrLayer::GetApproxFeatureCount(): fix wrong test on WFS3 driver name
WFS3 was the name in GDAL 3.0, before we changed to OAPIF in 3.1
  • Loading branch information
rouault authored and nyalldawson committed May 25, 2021
1 parent 2abcb9c commit 19ff4695e4418d768966379ab72f1e0bfa094eb7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/providers/ogr/qgsogrprovider.cpp
@@ -6597,7 +6597,7 @@ GIntBig QgsOgrLayer::GetApproxFeatureCount()
}
}
}
if ( driverName == QLatin1String( "OAPIF" ) || driverName == QLatin1String( "OAPIF" ) )
if ( driverName == QLatin1String( "OAPIF" ) || driverName == QLatin1String( "WFS3" ) )
{
return -1;
}

0 comments on commit 19ff469

Please sign in to comment.