Skip to content

[GH-3103] Bump proj4sedona to 0.1.1 and re-enable RS_CRS round-trip tests - #3106

Merged
jiayuasu merged 1 commit into
apache:masterfrom
jiayuasu:fix/rs-crs-proj-roundtrip-3103
Jul 15, 2026
Merged

[GH-3103] Bump proj4sedona to 0.1.1 and re-enable RS_CRS round-trip tests#3106
jiayuasu merged 1 commit into
apache:masterfrom
jiayuasu:fix/rs-crs-proj-roundtrip-3103

Conversation

@jiayuasu

Copy link
Copy Markdown
Member

Did you read the Contributor Guide?

Is this PR related to a ticket?

What changes were proposed in this PR?

Bumps the proj4sedona dependency 0.1.0 → 0.1.1 and re-enables the 5 CrsRoundTripComplianceTest cases that were @Ignore'd against #3103.

proj4sedona 0.1.1 fixes the CRS-serialization interop issues that made RS_CRS PROJ-string export non-idempotent for several projected CRSs:

  • WKT1 emits TOWGS84 in human units (arc-seconds / ppm)
  • WKT / GeoTools method names are normalized to PROJ short codes on export (e.g. Polar_Stereographicstere)
  • Canonical PROJ short codes are registry-owned
  • Polar Stereographic variant A/B selection is consistent across proj-string / WKT1 / WKT2

Re-enabled cases: EPSG:5070 (Albers), EPSG:28992 (Oblique Stereographic), EPSG:27700 (OSGB TM), EPSG:3577 (Australian Albers), EPSG:3111 (Vicgrid LCC 2SP). Transforms were never affected — this was export idempotency only.

How was this patch tested?

Built the common module and the Spark CRS path against proj4sedona 0.1.1:

  • common full suite: 1145 tests, 0 failures / 0 errors / 0 skipped — including CrsRoundTripComplianceTest (81, all cases active, 0 skipped)
  • CRSTransformProj4Test (Spark ST_Transform → proj4sedona): 36, 0 failures
  • CRSTransformationTest (Spark core CRS): 1, 0 failures

Did this PR include necessary documentation updates?

  • No, this PR does not affect any public API so no need to change the documentation.

…trip tests

proj4sedona 0.1.1 fixes the CRS-serialization interop issues that made
RS_CRS PROJ-string export non-idempotent for several projected CRSs:
WKT1 now emits TOWGS84 in human units, WKT/GeoTools method names are
normalized to PROJ short codes on export, canonical PROJ codes are
registry-owned, and Polar Stereographic variant selection is consistent
across formats.

Re-enable the 5 CrsRoundTripComplianceTest cases that were @ignore'd
against apache#3103:
- Albers Equal Area (EPSG:5070)
- Oblique Stereographic (EPSG:28992)
- Transverse Mercator / OSGB (EPSG:27700)
- Albers Equal Area Australian (EPSG:3577)
- Lambert Conformal Conic 2SP / Vicgrid (EPSG:3111)

Closes apache#3103
@jiayuasu jiayuasu added this to the sedona-1.9.1 milestone Jul 15, 2026
@jiayuasu
jiayuasu merged commit ba6400b into apache:master Jul 15, 2026
44 checks passed
@jiayuasu
jiayuasu deleted the fix/rs-crs-proj-roundtrip-3103 branch July 15, 2026 05:27
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.

RS_CRS PROJ-string export is not idempotent for some CRSs (raster CRS-bridge path divergence)

1 participant