Re: [gdal-dev] Troubles with PAM file

2019-03-26 Thread Dominique Lyszczarz
If it can be useful to anyone facing the same issue, my little script for parsing these aux.xml and writing the expected GDAL commands to rectify the raster is available here https://github.com/domlysz/PAM-GCPs-warper Regards Le mer. 20 mars 2019 à 18:09, Dominique Lyszczarz a écrit : > Thank y

Re: [gdal-dev] Troubles with PAM file

2019-03-20 Thread Dominique Lyszczarz
Thank you Even for these informations, that's good to know. I've added the .aux.xml in the repository if it can be useful as reference. Finally, I got good results with gdal_translate -gcp option following by gdalwarp. Fun fact, in the PAM file Y image coordinates are negatives values but must be p

Re: [gdal-dev] Troubles with PAM file

2019-03-20 Thread Even Rouault
Dominique, > > I'm trying to read a raster georeferenced with ArcGIS. It's a jpg file > coming with a PAM file (.aux.xml) that store GCPs and define a polynomial > transformation of order 3. Unfortunately GDAL does not take the PAM file > into account and gdalinfo does not report GCPs. After some

[gdal-dev] Troubles with PAM file

2019-03-20 Thread Dominique Lyszczarz
Hi all, I'm trying to read a raster georeferenced with ArcGIS. It's a jpg file coming with a PAM file (.aux.xml) that store GCPs and define a polynomial transformation of order 3. Unfortunately GDAL does not take the PAM file into account and gdalinfo does not report GCPs. After some investigation