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 852fcc4 commit ab457ee4c2b9dff0b8f811c548a0dd8e792baa67
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/providers/ogr/qgsogrprovider.cpp
@@ -6163,7 +6163,7 @@ GIntBig QgsOgrLayer::GetApproxFeatureCount()
}
}
}
if ( driverName == QLatin1String( "OAPIF" ) || driverName == QLatin1String( "OAPIF" ) )
if ( driverName == QLatin1String( "OAPIF" ) || driverName == QLatin1String( "WFS3" ) )
{
return -1;
}

0 comments on commit ab457ee

Please sign in to comment.