Skip to content

iso19111: I preserve heights when compound CRS units change - #4930

Closed
manduinca wants to merge 1 commit into
OSGeo:masterfrom
manduinca:fix/4923-compound-vertical-unit-conversion
Closed

manduinca wants to merge 1 commit into
OSGeo:masterfrom
manduinca:fix/4923-compound-vertical-unit-conversion

Conversation

@manduinca

Copy link
Copy Markdown

I keep the direct vertical unit/axis conversion when the horizontal CRS changes and both compound CRSs use the same vertical datum. This avoids an unnecessary geoid round trip that changes the height in #4923.

I added an offline regression covering 20 CRS combinations, three heights and inverse transforms.

Validation on macOS arm64:

  • The regression fails on unchanged master and passes with this change.
  • All 72 configured CTest targets pass, including 1,515 GoogleTest cases.
  • Existing BoundCRS/geoidModel and different-vertical-datum controls pass.

Fixes #4923

  • AI supported my development of this PR.
  • Tests added.

For the code, AI directed by me. I write it, AI helps with my English.

@nyalldawson

Copy link
Copy Markdown
Contributor

I write it

That's clearly untrue, as one glance at your GitHub profile reveals 👎

@manduinca

Copy link
Copy Markdown
Author

Thank you for your invaluable contribution.

@rouault

rouault commented Dec 3, 2026

Copy link
Copy Markdown
Member

superseded per #4978

@rouault rouault closed this Dec 3, 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.

Compound CRS with NAVD88 height (ftUS) to WGS 84-based + NAVD88 height: pipeline mixes GEOID18 and GEOID03 (~1.2 m error)

3 participants