Skip to content

feat(crs): pick optional heights and compare CRS on their horizontal part - #598

Closed
MaxNumerique wants to merge 3 commits into
fix/crs_pukekohefrom
feat/compound_crs
Closed

MaxNumerique wants to merge 3 commits into
fix/crs_pukekohefrom
feat/compound_crs

Conversation

@MaxNumerique

Copy link
Copy Markdown
Contributor

Summary

  • CrsSelector: a "Heights (optional)" field under the CRS list. Once a CRS without heights is selected, picking heights emits the compound CRS (EPSG:2193+7839, "NZGD2000 / NZTM 2000 + NZVD2016 height"). A CRS that already has heights clears and disables the field.
  • Horizontal comparison: heights are a label of each data. The project CRS, the "out of the project CRS" flag and the basemap compare the X/Y part only (sameHorizontalCrs, store sameProjectCrs): EPSG:2193 data sit in an EPSG:2193+7839 project. Registered compounds use the horizontal_parts sent by the back.
  • The geographic list stays loaded once.

Stacked on #597; needs Geode-solutions/OpenGeodeWeb-Back feat/compound_crs.

Test plan

  • Unit tests: 458 passed
  • Vease e2e CRS specs (selector screenshots change)

Refs Geode-solutions/Vease#873

🤖 Generated with Claude Code

MaxNumerique and others added 3 commits November 23, 2026 11:18
Heights are a label of each data. A data in EPSG:2193 and a project in
EPSG:2193+7839 place X and Y the same: the project no longer flags it,
follows it as one CRS, and puts it under the basemap. Registered
compound CRS are compared through the horizontal parts the back lists.

The store keeps the vertical CRS, the compoundable CRS and the
horizontal parts from the geographic list, still loaded once.

Refs Geode-solutions/Vease#873

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Under the CRS list, a "Heights (optional)" field lists the vertical CRS
by name. Once a CRS without heights is selected (projected or
geographic 2D), choosing heights emits the compound CRS, e.g.
EPSG:2193+7839 "NZGD2000 / NZTM 2000 + NZVD2016 height". Selecting a
CRS that already has heights clears them and disables the field.

Refs Geode-solutions/Vease#873

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BenPinet
BenPinet deleted the branch fix/crs_pukekohe November 23, 2026 16:07
@BenPinet BenPinet closed this Nov 23, 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.

2 participants