[gdal-dev] How to get coordinates of original corners from warped image

Nick Ves vesnikos at gmail.com
Wed Dec 4 06:56:42 PST 2013


On Sat, Nov 30, 2013 at 1:27 PM, Lauri Kajan <lauri.kajan at gmail.com> wrote:
> Hi all
>
> I have a set of aerial bird's view images and now I need to get extents of
> those images as polygons.
> I thought to add GCPs to images and possibly somehow to use the same
> transformation that is used when warping the images with perspective
> algorithm, to calculate coordinates for corners of the original images.
>

Get the coordinates from you projected Image then you can use the
cs2cs to re-projected those coordinates back to your original CRS

> Is this possible with python?
>
yes, you can use the pyproj lib

>
> Thanks
>
> -Lauri
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list