Skip to content

Inconsistency in 2D component between 2D and 3D transformation #4566

@ktheijs

Description

@ktheijs

Example of problem

C:\OSGeo4W>echo 39.62996151 -77.77042607 | cs2cs EPSG:4326 EPSG:6488 -f "%.3f"
1095322.536     715954.909 0.000
C:\OSGeo4W>echo 39.62996151 -77.77042607 438.851 | cs2cs EPSG:4979 EPSG:6488+EPSG:6360 -f "%.3f"
1095323.285     715952.045 1556.137

Problem description

When doing a 3D transformation I expect the resulting 2D component to be the same as when I do a 2D transformation where I strip the vertical part from the transformation.

Expected Output

I expect that the X and Y value for the 3D transformation would also be 1095322.536 and 715954.909.

Environment Information

  • PROJ Rel. 9.6.2, June 4th, 2025
  • Windows 11

Installation method

I'm using command line on OSGeo4W GDAL 3.11.3 "Eganville", released 2025/07/12.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions