-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Georeferencer does not allow to ignore whatever positional info in the input and does havoc due to that #51814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I had a look to some even before posting. The bug #51367 is different one. The issue #51699 could be same but in my case the offset was huge, somewhere totally elsewhere on Earth, if at all. I had to use The issue #51299 could be same case I faced, it just depend how latge are the values in you originally georeferenced image (which nobody warned you about). The issue #51197 is exactly what I found as well. But I think I had even had at that time an older version of QGIS. Like mentioned in #51197 (comment) I also have the impression that also the broken GCP points were fetched during my repeated experiments. One should drop the Again, issue #44994 is yet another instance of what I hit as well. Regarding #44994 (comment) , there should be a warning message raised tot he user of QGIS and second, an automated way to discard the offending georef values directly inside the Georeferencer GUI. The fix #51705 is only partion IMO. At least commit description does not say it does automagically discard the offending georef data. |
If you want you can test if the issue does occur using the latest QGIS 3.29.0-Master nightly build or provide a sample raster layer and exact step and GCP points in order replicate the issue. |
No, with master I still get an offsetted georef result. The input was a TIF file with
The error after georeferencing is still about 20-30 m, depending on the number of points used (20 to 40). Even wirh 56 GCPs I get an error of 20 m. QGIS version Note the input and out coords are both in EPSG:5514 where the source should be in pixels, right? At least if the debug messages were more descriptive:
What image file was used as the input, its pixel x pixel size, aimed target projection, in which projection were the reference positions collected from main GUI, etc. |
What is the bug or the crash?
I spent several months in overall, time to time trying to georeference several aerial images. Most of them were roughly georeferenced already from the Cadastral institute and that was the culprit.
It worked for some and seemed NOT to work for other files (Georeferencer did not complain and finished cleanly, the calculated GCP points seemed fine) but the resulting layer/image loaded in QGIS in a completely wrong area. No matter if loaded directly after georeferencing or later from the resulting raster file. I use EPSG:5514 which also has negative both X and Y coordinates in Czechia but it also breaks if I use WGS84 to derive the GCP points.
Workaround:
Zap the eventually added roughly georeferenced positions from the input image. Neither QGIS Georeferencer nor Freehand raster georeferencer v. 0.8.3 are able to ignore the input georeferencing values (in my case they were quite inexact). QGIS does havoc and on a side note, Freehand raster georeferencer refuses to operate on the input. Both should just give me warning and ask to proceed with the input while IGNORING the original values. At least the image rotation should be preserved from the rough georeferencing info. And the georef info could be respected by the main QGIS GUI, I do not mind that Georeferencer uses pixel in its own window. But the main QGIS GUI would navigate me into the area where the image was taken.
To get around try on Linux:
Fix:
>QGIS-3.28.2-Firenze
should ignore the original, unwanted georef values in the input image but preserve rotation, incl. flip&flop info and main QGIS GUI could navigate me into the area.Steps to reproduce the issue
See above.
Versions
3.28.2-Firenze
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: