[gdal-dev] GDALGetGeoTransform
Even Rouault
even.rouault at spatialys.com
Tue Jun 11 07:09:11 PDT 2024
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.
More information about the gdal-dev
mailing list