<div dir="ltr">In <a href="https://github.com/OSGeo/gdal/commit/5b7829">https://github.com/OSGeo/gdal/commit/5b7829</a> a useful heuristic was added to gdalwarp that clamps latitudes when warping from geographic CRS to Mercator projections. However, AutoCreateWarpedVRT does not apply the same heuristic. Users who create warped VRTs programmatically will silently get unbounded extents in the same scenario, with no warning issued.  It would be great to have this heuristic available at a lower level so other callers beyond gdalwarp can benefit from it as well.</div>