[gdal-dev] Incorrect geolocation information using newer gdal versions
Cristhian Rivera
cristhian.rivera at hyds.es
Tue Mar 26 11:01:10 PDT 2024
Hi all,
I'm trying to debug an issue with a NetCDF file where in previous gdal
versions (up until 3.3.0) the geolocation was correctly identified by
gdalinfo, but in newer versions (>= 3.3.1) it is not.
In the attachments are the outputs of gdalinfo from the versions mentioned,
but the difference in both outputs is that newer versions cannot find the
"Origin" and "Pixel size", and the Corner coordinates differ a lot:
*Gdal 3.3.0:*
> Origin = (24500.000000000000000,465500.000000000000000)
> Pixel Size = (1000.000000000000000,-1000.000000000000000)
Corner Coordinates:
> Upper Left ( 24500.000, 465500.000)
> Lower Left ( 24500.000, 14500.000)
> Upper Right ( 375500.000, 465500.000)
> Lower Right ( 375500.000, 14500.000)
> Center ( 200000.000, 240000.000)
>= *Gdal 3.3.1*
> Corner Coordinates:
> Upper Left ( 0.0, 0.0)
> Lower Left ( 0.0, 451.0)
> Upper Right ( 351.0, 0.0)
> Lower Right ( 351.0, 451.0)
> Center ( 175.5, 225.5)
The files can also be found in the following drive repo if they are not
available in the mail:
https://drive.google.com/drive/folders/1zqV3n2SYUhOjgwxpYpChwqdNTiHAgNHj?usp=sharing
I've tried checking the changelog of that version but it seems only like a
bug fix release.
Any ideas of what else I can test to identify the issue?
Kind regards,
--
*Cristhian Rivera*
cristhian.rivera at hyds.es
*HYDS (Hydrometeorological Innovative Solutions)*
Jordi Girona 1-3, Ed. ParcUPC K2M 002
08034 Barcelona (Spain)
https://www.hyds.es
Tel: (+34) 933 524 050 <+34933524050>
*Disclaimer <https://www.hyds.es/disclaimer/> | Aviso Legal
<https://www.hyds.es/es/disclaimer/> | Avís Legal
<https://www.hyds.es/ca/disclaimer/>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240326/bc0c2fa0/attachment.htm>
More information about the gdal-dev
mailing list