<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="Avenir" size="4"><br>
</font>
<blockquote type="cite"
cite="mid:b2b8ae48-4e49-4acb-ada3-fbd7c1a368bf@gmx.de"> <font
face="Avenir" size="4">Dear gdal community,</font>
<p><font face="Avenir" size="4">I hope this is the right spot to
ask questions? <br>
</font> </p>
<p><font face="Avenir" size="4">I am trying to use new gdal raster
reproject to georeference image chunks using ground control
points. I figured that for some of these chunks, <span
style="color: rgb(59, 59, 59); white-space: pre;">due to ship movement, the lower left & lower right image coordinates are switched, which (understandably) leads the algorithm to fail.
however, there is no error message, it just doesn't produce output. I use:</span></font></p>
</blockquote>
<div><font face="Avenir" size="4"><span style="color: #008000;">gdal
raster reproject -r bilinear --to SRC_METHOD=GCP_HOMOGRAPHY
--co COMPRESS=DEFLATE -d EPSG:4326 -i
2025-03-17_08-30-44_0_ch0_0_chunk_tmp.tif -o
2025-03-17_08-30-44_0_ch0_0_chunk_tmp_WGS84.tif</span></font></div>
<blockquote type="cite"
cite="mid:b2b8ae48-4e49-4acb-ada3-fbd7c1a368bf@gmx.de">
<p><font face="Avenir" size="4"><span
style="color: rgb(59, 59, 59); white-space: pre;">with gcps applied like so: </span></font></p>
</blockquote>
<br>
<div><font color="#008000">gdal_translate -of GTiff \</font></div>
<div><font color="#008000">-gcp im_x_ul im_y_ul lon_ul, lat_ul \</font></div>
<div><font color="#008000">-gcp im_x_ur im_y_ur lon_ur, lat_ur \</font></div>
<div><font color="#008000">-gcp im_x_ll im_y_l lon_ll, lat_ll \</font></div>
<div><font color="#008000">-gcp im_x_lr im_y_lr lon_lr, lat_lr </font></div>
<div><font color="#008000">
</font></div>
<div><font color="#008000">(ul/r, ll/r = upper/lower left/right)
--> but sometimes, ll and lr are switched<br>
</font></div>
<blockquote type="cite"
cite="mid:b2b8ae48-4e49-4acb-ada3-fbd7c1a368bf@gmx.de">
<p><font face="Avenir" size="4"><span
style="color: rgb(59, 59, 59); white-space: pre;">
I would love to catch the error to adjust those files - </span></font><font
face="Avenir" size="4" style="white-space: pre;"><span
style="color: #3b3b3b;">Is there something like a verbose mode for gdal raster reproject?
Then i could see what is going on? </span></font></p>
<div
style="color: #3b3b3b;background-color: #ffffff;font-family: Menlo, Monaco, 'Courier New', monospace;font-weight: normal;font-size: 12px;line-height: 18px;white-space: pre;"><div><font
face="Avenir" size="4"><span style="color: #3b3b3b;">
</span></font></div><div><font face="Avenir" size="4"><span
style="color: #3b3b3b;">Anyways thank you guys so much for all the work you put into the development of gdal, it is such a powerful tool!</span></font></div><div><font
face="Avenir" size="4"><span style="color: #3b3b3b;">
</span></font></div><div><span style="color: #3b3b3b;"><font
face="Avenir" size="4">All the best,
Mia</font>
</span></div><div><span style="color: #3b3b3b;">
</span></div></div>
</blockquote>
<blockquote type="cite"
cite="mid:b2b8ae48-4e49-4acb-ada3-fbd7c1a368bf@gmx.de">
<div
style="color: #3b3b3b;background-color: #ffffff;font-family: Menlo, Monaco, 'Courier New', monospace;font-weight: normal;font-size: 12px;line-height: 18px;white-space: pre;"><div><span
style="color: #3b3b3b;">
</span><span style="color: #008000;">
</span></div></div>
</blockquote>
</body>
</html>