Commit fc8d1d7
committed
Improve consistency in georeferencing setup
After calling Georeferencing::setProjectedRefPoint(..., false, false),
consistently configure scaling and rotation explicitly. In most cases,
this means simply preserving the current values of combined scale
factor and grivation (which affect the transformation to paper
coordinates directly), causing calculated updates to auxiliary scale
factor and declination.
Given that transformation is preserved, there shall be no visible
effect. However, the Georeferencing objects are put into a consistent
state with regard to the scaling and rotation variables, similar to
what is otherwise achieved by calling setProjectedRefPoint(...).
This relevant at least where Georeferencing objects are saved/loaded
as member of template configuration etc.1 parent 07524fb commit fc8d1d7
File tree
6 files changed
+14
-1
lines changed- src
- fileformats
- gdal
- templates
6 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
855 | | - | |
| 855 | + | |
856 | 856 | | |
857 | 857 | | |
858 | 858 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
| 597 | + | |
| 598 | + | |
597 | 599 | | |
598 | 600 | | |
599 | 601 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
851 | 851 | | |
852 | 852 | | |
853 | 853 | | |
| 854 | + | |
| 855 | + | |
854 | 856 | | |
855 | 857 | | |
856 | 858 | | |
| |||
971 | 973 | | |
972 | 974 | | |
973 | 975 | | |
| 976 | + | |
974 | 977 | | |
975 | 978 | | |
976 | 979 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
197 | 199 | | |
198 | 200 | | |
199 | 201 | | |
| |||
368 | 370 | | |
369 | 371 | | |
370 | 372 | | |
| 373 | + | |
| 374 | + | |
371 | 375 | | |
372 | 376 | | |
373 | 377 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
238 | 240 | | |
239 | 241 | | |
240 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
| 612 | + | |
| 613 | + | |
612 | 614 | | |
613 | 615 | | |
614 | 616 | | |
| |||
0 commit comments