Skip to content

Correct geodetic scale denominator calculation#3979

Merged
sbrunner merged 3 commits intomasterfrom
fix/correct-geodetic-scale-denominator-calculation
Feb 13, 2026
Merged

Correct geodetic scale denominator calculation#3979
sbrunner merged 3 commits intomasterfrom
fix/correct-geodetic-scale-denominator-calculation

Conversation

@sbrunner
Copy link
Member

Replace #3828 to be able to apply the copilot fixies

@sbrunner sbrunner marked this pull request as ready for review February 11, 2026 08:26
Copilot AI review requested due to automatic review settings February 11, 2026 08:26
@sbrunner
Copy link
Member Author

@copilot can you add a test for the modified method?

Copy link

Copilot AI commented Feb 11, 2026

@sbrunner I've opened a new pull request, #3980, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes an incorrect coordinate used in geodetic scale denominator computation so geodetic scale correction is applied at the intended map position.

Changes:

  • Correct minGeoX computation in Scale.getGeodeticDenominator to use position.x instead of position.y.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI commented Feb 11, 2026

@sbrunner I've opened a new pull request, #3982, to work on those changes. Once the pull request is ready, I'll request review from you.

@sbrunner
Copy link
Member Author

@sebr72 this is ready to be reviewed and merged

@sbrunner sbrunner added backport 3.28 Backport the pull request to the '3.28' branch backport 3.29 Backport the pull request to the '3.29' branch backport 3.30 Backport the pull request to the '3.30' branch backport 3.31 Backport the pull request to the '3.31' branch backport 3.32 Add this label to backport the pull request to this branch backport 3.33 Add this label to backport the pull request to the '3.33' branch labels Feb 11, 2026
@sbrunner sbrunner marked this pull request as draft February 11, 2026 15:42
…pendent projections (#3982)

Add a regression test for geodetic scale with CH2056 X-position dependence

Co-authored-by: sbrunner <353872+sbrunner@users.noreply.github.com>
Co-authored-by: Stéphane Brunner <stephane.brunner@camptocamp.com>
@sbrunner sbrunner force-pushed the fix/correct-geodetic-scale-denominator-calculation branch from 4520fe6 to 2c1ae8a Compare February 12, 2026 07:39
@sbrunner sbrunner marked this pull request as ready for review February 12, 2026 17:12
@sbrunner sbrunner force-pushed the fix/correct-geodetic-scale-denominator-calculation branch from 86794ef to 7368486 Compare February 13, 2026 14:53
@sbrunner sbrunner merged commit 8d40689 into master Feb 13, 2026
16 of 18 checks passed
@sbrunner sbrunner deleted the fix/correct-geodetic-scale-denominator-calculation branch February 13, 2026 17:17
@geo-ghci-int geo-ghci-int bot removed the backport 3.30 Backport the pull request to the '3.30' branch label Feb 13, 2026
@geo-ghci-int geo-ghci-int bot removed the backport 3.29 Backport the pull request to the '3.29' branch label Feb 13, 2026
@geo-ghci-int geo-ghci-int bot removed the backport 3.28 Backport the pull request to the '3.28' branch label Feb 13, 2026
geo-ghci-int bot pushed a commit that referenced this pull request Feb 13, 2026
Correct geodetic scale denominator calculation

Co-authored-by: fdiaz <fdiaz@gvsig.com>
@geo-ghci-int geo-ghci-int bot removed the backport 3.32 Add this label to backport the pull request to this branch label Feb 13, 2026
geo-ghci-int bot pushed a commit that referenced this pull request Feb 13, 2026
Correct geodetic scale denominator calculation

Co-authored-by: fdiaz <fdiaz@gvsig.com>
@geo-ghci-int geo-ghci-int bot removed the backport 3.33 Add this label to backport the pull request to the '3.33' branch label Feb 13, 2026
geo-ghci-int bot pushed a commit that referenced this pull request Feb 13, 2026
Correct geodetic scale denominator calculation

Co-authored-by: fdiaz <fdiaz@gvsig.com>
@geo-ghci-int geo-ghci-int bot removed the backport 3.31 Backport the pull request to the '3.31' branch label Feb 13, 2026
@geo-ghci-int geo-ghci-int bot added this to the 4.0.0 milestone Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants