[gdal-dev] Get bounds of object before reprojection?

Alan Snow alansnow21 at gmail.com
Tue Jul 13 14:59:58 PDT 2021


This might be useful:

https://github.com/mapbox/rasterio/pull/2208

On Tue, Jul 13, 2021, 4:21 PM Craig Delancy <
cdelancy at blackfangtechnologies.com> wrote:

> Using the c++ API, how would I go about getting the bounds of a raster
> dataset, reprojected into another projection, without actually performing
> the reprojection first? Is there a way to do this, or do I have to do the
> reprojection to get this info?
>
> I was thinking I could get the corners and reproject them as points, but I
> think this could give an incorrect answer depending on the target
> projection.
>
>
>
> Thank you.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210713/7b570bce/attachment.html>


More information about the gdal-dev mailing list