Re: [gdal-dev] Gdal_edit and -gcp as read-only

2021-11-22 Thread Even Rouault
Hi Jukka, from what I can see in https://github.com/OSGeo/gdal/commit/b5128c1ff3ac6ad44b225284f5be1f728840e7b3, this dates back to almost 20 years ago when SetGCPs() was initially implemented. And at that time, PAM didn't exist yet in GDAL :-) Please create a ticket about (and mention SetGeo

[gdal-dev] Gdal_edit and -gcp as read-only

2021-11-22 Thread Rahkonen Jukka (MML)
Hi, I tried to add ground control points into a TIFF file with gdal_edit. I do not want to touch the TIFF so I used the read-only option and supposed that gcp would be written into .aux.xml file but that did not happen. Instead I got a message gdal_edit -ro -gcp 1 1 20 30 test.tif ERROR 6: tes

Re: [gdal-dev] setting MAX_Z_ERROR on overviews compressed with LERC_DEFLATE

2021-11-22 Thread Duarte Carreira
So I tried LERC_DEFLATE and MAX_Z_ERROR=0.5 and that worked amazingly! From 350MB DEFLATE PREDICTOR 3, to 45MB... There are free 32bit elevation data here if anyone's interested: https://land.copernicus.eu/imagery-in-situ/eu-dem/eu-dem-v1.1?tab=download. Rahkonen Jukka (MML) escreveu no dia quin