[gdal-dev] GDALGetGeoTransform
Johannes Paul
johannespaul92 at gmail.com
Tue Jun 11 07:41:33 PDT 2024
Thanks Even, that's what I was looking for.
Thanks a lot for the support.
On Tue, 11 Jun 2024 at 16:09, Even Rouault <even.rouault at spatialys.com>
wrote:
> Johannes,
>
> access to your DIMAP product would be needed to investigate.
>
> I assume the product also returns RPC? If so, test GetMetadata("RPC")
> != null, and if it does, you can likely consider than any GeoTransform
> is "garbage". If you have RPCs, you can directly compute a geotransform.
> You need to reproject using GDALWarp() with the "-rpc" option.
>
> Even
>
> Le 11/06/2024 à 16:02, Johannes Paul via gdal-dev a écrit :
> > Hello,
> >
> > coming back to an old thread regarding a DIMAP product which has no
> > lon/lat
> > (https://lists.osgeo.org/pipermail/gdal-dev/2018-January/048014.html).
> > GDALGetGeoTransform method will return CE_None despite
> > GeoTransformation matrix is not as expected, and in that specific case
> > I would rather use GDALGCPsToGeoTransform to compute GeoTransform array.
> >
> > Is there a way I can detect GDALGetGeoTransform shall not be used ?
> >
> > Thanks,
> > Johannes
> >
> >
> >
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> --
> http://www.spatialys.com
> My software is free, but my time generally not.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240611/81c08065/attachment.htm>
More information about the gdal-dev
mailing list