Skip to content

fix(proj -V): keep easting/northing labels for polar projected CRSs#4702

Open
SergioChan wants to merge 1 commit intoOSGeo:masterfrom
SergioChan:fix-proj-v-axis-labels-4573
Open

fix(proj -V): keep easting/northing labels for polar projected CRSs#4702
SergioChan wants to merge 1 commit intoOSGeo:masterfrom
SergioChan:fix-proj-v-axis-labels-4573

Conversation

@SergioChan
Copy link

@SergioChan SergioChan commented Mar 7, 2026

Summary

  • proj -V currently decides whether to print Northing (y) first by checking whether the first projected axis direction is NORTH/SOUTH.
  • Polar CRSs like EPSG:3413 can have first axis easting with direction south (because of axis meridian orientation), which causes swapped labels.
  • This patch determines swapAxisCrs from first-axis metadata (name/abbreviation) instead of raw direction, so easting remains labeled as easting for EPSG:3413/3031-style CRSs.

Validation

  • Could not run local build/tests in this execution environment because cmake is not installed (cmake: command not found).
  • Validation here is code-path review against the issue reproducer and existing axis metadata behavior.

Related

Closes #4573

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.

proj -V swaps x and y annotations for some polar projections

1 participant