<!DOCTYPE html><html><head><title></title><style type="text/css">#qt p.qt-MsoNormal{margin-top:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;font-size:11pt;font-family:"Calibri", sans-serif;}

p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div style="font-family:Arial;">Yes, you can use gdal_edit -gcp to add some GCPs, then gdalwarp -tps to straighten out the image.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">QGIS has a tool to do this interactively, but last time I tried it, it somewhat buggy and confusing.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Laurentiu<br></div><div style="font-family:Arial;"><br></div><div>On Tue, Oct 15, 2024, at 16:54, Paul via gdal-dev wrote:<br></div><blockquote type="cite" id="qt" style="overflow-wrap:break-word;"><div class="qt-WordSection1"><p class="qt-MsoNormal"><span lang="EN-US">Is there a way to transform a raster file with selected points other then ulx, uly, lrx and lry in Gdal? I would like to select some distinct pixels in the raster file and connect them to coordinates in my map and then
 translate.</span><br></p><p class="qt-MsoNormal"><span lang="EN-US">Kind regards,</span><br></p><p class="qt-MsoNormal"><span lang="EN-US">Paul</span><br></p><p class="qt-MsoNormal"> <br></p></div><div>_______________________________________________<br></div><div>gdal-dev mailing list<br></div><div><a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br></div><div><a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></div><div><br></div></blockquote><div style="font-family:Arial;"><br></div></body></html>