-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Georeferencer fixes, pt 2 #47279
Georeferencer fixes, pt 2 #47279
Conversation
I'm not sure how the changes of 46941 are integrated in this, as far as I understand the number of columns are the same, the main difference is that changing the value of the point in the table now changes the crs of the stored point and the values stored in the point. The approach proposed in 46941 was to exposed the hidden values of the points, that way the user could maintain the stored coordinates in the intended crs and still change the initial or transformed values as needed. This would be needed if the stored values of the point are in a distinct crs than the output and would need a tweak( such as using known geographic coords on a map). Now the used would need to change the target crs for the whole widget to the ones of the points that need a change to 'expose' the values in the proper way and then give them the correct values before reverting back. I agree those cases may be rare, but I don't think the proposed changes make this convivial. Wether that behavior is worth crowding up the table with two extra columns, I assumed we had enough room for it. |
That's my big concern. Adding the extra columns in the table makes it very complex and information heavy, and I suspect that even experienced qgis users would have difficulties interpreting all the columns and information exposed. I think we have two possibilities here:
My preference obviously goes to 1, but I'd value wider feedback (ping @gioman @nirvn @3nids @m-kuhn )! |
agree. |
I'm fine with either, it's a tradeoff, my only worry was with multiple change in crs, was if the points could 'drift' . Hence why I wanted to keep the original coords and transform them, though this fear might be unfounded. As for the output crs I think we could fit it at the bottom of the window. |
That's indeed a valid concern! I think it's only an extreme corner case though -- it would only have an impact on results when:
Step 3 is the big one here. If they don't do multiple cycles of change crs+move point, then there's only a single transform involved at the actual "run georeference" time. I can't see this affecting real world use cases as a result, so that pushes me to the simpler interface/UX option. |
points in table are always updated to reflect actual target CRS whenever it is changed
georeferenced, assume the source points are in the raster's IF there's no explicit crs information in the .points file
set CRS of destination to match the georeference target CRS
Helps clarify for users exactly what CRS these destination coordinates are in
d740f21
to
ff345d3
Compare
The backport to
stderr
stdout
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-3_22 release-3_22
# Navigate to the new working tree
cd .worktrees/backport-release-3_22
# Create a new branch
git switch --create backport-47279-to-release-3_22
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick ea2bf1b7664265dbad0f7634968edb019bafed09,ee7ffe9f779a7c1b17af25257ffebb84e50e5a43,d1b9a3ff32d96cbd220a9a499a07774077afba28,40a8b4386ebb52bacaf8dea049917fa6d05b942f,d5fe47d307a37d00f88ea95acdb91ad6a812d159,d9542c3dcf382dbc61066ed1e7c93e21d536d5a0,c613e1791efc400a6643bcbc5d2ff35a3681b7e2,287605d0964a7f39db8ebc9e64292c88e8365c71,903776b8964b19bd5813dbd6a2becc636f2ec356,5d248287bf72659f97fe9f0f4c97551f26b1d6de,39e1581a2b11417126b897955805f6d0456f0115,ff345d363d68074ecca4386e4a10c5cab2cf9650
# Push it to GitHub
git push --set-upstream origin backport-47279-to-release-3_22
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-3_22 Then, create a pull request where the |
Follow up #47141
Supersedes #46941