<div dir="ltr"><div dir="ltr">inline<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 13 Mar 2020 at 16:13, Martin Dobias <<a href="mailto:wonder.sk@gmail.com">wonder.sk@gmail.com</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>1. Georeferencer opens in a new window. In order to see the main map<br>
canvas and the georeferenced layer side by side, it is necessary to do<br>
some resizing of windows which is inconvenient. It would be maybe more<br>
practical to have the georeferenced image in a dock widget in the main<br>
window - and all georeferencer related map tools included in the main<br>
QGIS window as well. (Or maybe the other way around - to keep<br>
georeferencer as a separate window, but allow the main map canvas to<br>
be embedded in it?)<br></blockquote><div><br></div><div>se j rectifier plugin </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
2. Georeferencer is a plugin. Its core/gui functionality cannot be<br>
reused elsewhere. It would be useful to have some Processing<br>
algorithms to load/save GCPs, to extract GCPs to raster images, to<br>
save GCPs to raster images and to warp imagery according to GCPs (and<br>
chosen transformation method).<br></blockquote><div><br></div><div>yes please</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
3. Georeferencer does not allow live preview of how the georeferenced<br>
raster image would end up looking on the map - user is required to<br>
write warped image to disk as a new file and only then see the<br>
results. It should be possible to use the estimated transformation<br>
based on GCPs and show the layer in the main map canvas any time (if<br>
wanted).<br></blockquote><div><br></div><div>see j rectifier plugin </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
4. It uses a combination of GDAL-based transformation methods<br>
(Polynomial of 1st/2nd/3rd order, thin plate spline) and some of its<br>
own (Helmert, Projective), for which it also requires GSL library as a<br>
dependency. In my opinion, QGIS georeferencer should leave all the<br>
math to GDAL which does a great job there. Moreover, I have some<br>
doubts about the methods that do not come from GDAL: the “Helmert”<br>
method is simply 2D affine transform (offset+scale+angle), while true<br>
Helmert transformation is 3D transformation with 7 parameters. Do we<br>
need it if GDAL’s 1st order polynomial transformation should do just<br>
that? And the “Projective” method which is a bit of a mystery to me.<br>
First of all, I am not sure in what situation it is useful and the<br>
documentation only says it is “a linear rotation and translation of<br>
coordinates” - which is a bit vague. It looks like a subset of RPC<br>
method supported by GDAL (although GDAL does not have estimation of<br>
RPC coefficients). Overall I would be for removal of these methods and<br>
stick to what GDAL offers.<br></blockquote><div><br></div><div>+1 to all in gdal... btw seems gdal has some hidden or poorly documented features. e.g geoid and gcp seems (form documentation) mutually exclusive, but they are not (reading the code) and can be combined to reach better accuracy.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Regards<br>
Martin<br></blockquote><div><br></div><div>cheers</div><div><br></div><div><div>Luigi Pirelli<br><br>**************************************************************************************************<br>* LinkedIn: <a href="https://www.linkedin.com/in/luigipirelli" target="_blank">https://www.linkedin.com/in/luigipirelli</a><br>* Stackexchange: <a href="http://gis.stackexchange.com/users/19667/luigi-pirelli" target="_blank">http://gis.stackexchange.com/users/19667/luigi-pirelli</a><br>* GitHub: <a href="https://github.com/luipir" target="_blank">https://github.com/luipir</a><br>* Book: <a href="https://www.packtpub.com/eu/application-development/mastering-geospatial-development-qgis-3x-third-edition" target="_blank">Mastering QGIS3 - 3rd Edition</a></div><div>* Hire a team: <a href="http://www.qcooperative.net" target="_blank">http://www.qcooperative.net</a><br>**************************************************************************************************<br></div></div></div></div>