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
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 i
Hi Johannes,
You can use GDALGetGCPCount to check if the file has GCPs, then use gdalwarp
-tps or the equivalent to uncrinkle it:
https://stackoverflow.com/questions/48770002/project-raster-file-using-gcps.
Laurentiu
On Tue, Jun 11, 2024, at 17:02, Johannes Paul via gdal-dev wrote:
> Hello,
>
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 ne