Re: [gdal-dev] Reading raster file

2023-05-10 Thread Javier Jimenez Shaw
Thanks Even I realized that "adjusting" the header a bit, it is read by GDAL as AAIGrid https://gdal.org/drivers/raster/aaigrid.html NCOLS 1440 NROWS 2220 XLLCENTER -76.00 YLLCENTER -57.000740 CELLSIZE 0.016667000 NODATA_VALUE -999 On Tue, 9 May 2023 at 19:12, Even Rouault

Re: [gdal-dev] Reading raster file

2023-05-09 Thread Even Rouault
Javier, The error message comes from the XYZ driver which is confused and believes it might be for it, but this is definitely not a .xyz file There are quite a lot of variations of ASCII grid formats. This one reminds me a bit of the IGN France ones that are handled by the https://github.com

[gdal-dev] Reading raster file

2023-05-09 Thread Javier Jimenez Shaw
Hi I want to read the Argentinian Geoid model with GDAL. It is an ascii raster floating-point file with just one band. https://dnsg.ign.gob.ar/apps/geoidear/documentos/GEOIDE-Ar16.gri (22 MB) The content is starts with: -57.000740 -20.016667 -76.00 -52.016187 0.0166