Ticket #4434 (reopened defect)
Ogrinfo does GetExtent() in a heavy way with WFS driver
|Reported by:||jratike80||Owned by:||warmerdam|
When ogrinfo checks the extents of a WFS data source it makes the GDAL WFS driver to send a GetFeature? request for the corresponding feature type. This means reading all the features with all their attributes from the service (unless the number of features will be cut by the server side maxFeatures setting). This can be a slow and heavy operation if the feature type happens to contain a lot of data and network is slow.
Knowing the extents of a data source is not always necassary. It might be good if ogrinfo had an option for skipping the extent resolving for WFS feature types. This could perhaps be done by utilising the bForce parameter as GetExtent?(bForce = FALSE).