<div dir="ltr">Hello, <br><br>In this MVT source poLayer->GetFeatureCount() reports that there are 85 features, as does ogrinfo summary:<br><br>##  taken from <a href="https://docs.mapbox.com/vector-tiles/reference/">https://docs.mapbox.com/vector-tiles/reference/</a><br>ogrinfo -so <a href="http://a.tiles.mapbox.com/v4/mapbox.mapbox-streets-v7/14/4823/6160.mvt?access_token=">http://a.tiles.mapbox.com/v4/mapbox.mapbox-streets-v7/14/4823/6160.mvt?access_token=</a><your-token><br> <br>INFO: Open of `'<br>      using driver `MVT' successful.<br><br>Layer name: landuse<br>Geometry: Multi Polygon<br>Feature Count: 85<br>Extent: (-8239795.799271, 4968375.188829) - (-8238077.160463, 4970241.327215)<br>Layer SRS WKT:<br>...<br><br>But, iterating features finds 81 valid features, as reported by <br><br>ogrinfo <a href="http://a.tiles.mapbox.com/v4/mapbox.mapbox-streets-v7/14/4823/6160.mvt?access_token=">http://a.tiles.mapbox.com/v4/mapbox.mapbox-streets-v7/14/4823/6160.mvt?access_token=</a><your-token>  <br><br>without Summary Only mode. <div><br>Is this a problem for GDAL, or a general issue with various formats? I'm after advice on whether to always iterate for a valid feature count, or could this be fixed for MVT?<br><br>(I don't know anything about the internal details of protocol buffers.)<br><br>Thank you.<br><br>Mike<br><br></div><div>--<br>Michael Sumner<br>Software and Database Engineer<br>Australian Antarctic Division<br>Hobart, Australia<br>e-mail: <a href="mailto:mdsumner@gmail.com">mdsumner@gmail.com</a><br></div></div>