Skip to content

Commit

Permalink
QgsOgrLayer::GetApproxFeatureCount(): fix wrong test on WFS3 driver name
Browse files Browse the repository at this point in the history
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 19ff469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -6597,7 +6597,7 @@ GIntBig QgsOgrLayer::GetApproxFeatureCount()
}
}
}
if ( driverName == QLatin1String( "OAPIF" ) || driverName == QLatin1String( "OAPIF" ) )
if ( driverName == QLatin1String( "OAPIF" ) || driverName == QLatin1String( "WFS3" ) )
{
return -1;
}
Expand Down

0 comments on commit 19ff469

Please sign in to comment.