Skip to content

[GH-3161] Bump proj4sedona to 0.1.5 - #3191

Merged
jiayuasu merged 3 commits into
apache:masterfrom
jiayuasu:build/proj4sedona-0.1.4
Jul 28, 2026
Merged

[GH-3161] Bump proj4sedona to 0.1.5#3191
jiayuasu merged 3 commits into
apache:masterfrom
jiayuasu:build/proj4sedona-0.1.4

Conversation

@jiayuasu

@jiayuasu jiayuasu commented Jul 27, 2026

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?

  • Bump the managed proj4sedona dependency from 0.1.2 to 0.1.5.
  • Add the exact EPSG:3021 to EPSG:3006 SQL regression from ST_Transform is off by > 180 meters since Sedona 1.9 #3161. The test uses the PostGIS result reported in the issue and retains the existing one-metre projected-coordinate tolerance.
  • Convert the EPSG:2163 PROJJSON expected failure into a positive round-trip test and remove the obsolete failure helper.
  • Add EPSG:4267 and EPSG:26711 PROJJSON/WKT2 round trips, including the default RS_CRS(raster) path.
  • Pin GeoParquet CRS generation for EPSG:26711 and meridian-qualified polar axis metadata for EPSG:32661.
  • Clarify that GeoParquet's (x, y) WKB order overrides the axis order declared by the CRS.

proj4sedona 0.1.5 restores the complete generated datum registry used by the RT90 transform and includes the canonical grid-shift datum export fix. The latter is important for Sedona: unlike 0.1.4, the default PROJJSON and WKT2 RS_CRS paths retain NAD27-family CRS metadata instead of throwing or silently omitting GeoParquet metadata.

How was this patch tested?

  • Downloaded proj4sedona 0.1.5 from Maven Central into an isolated repository and verified SHA-256 a01ed412333a1706c995e75059b635b5ca4a97a0c032ebb535820aafa98491f9; the jar used by the tests matched it byte-for-byte.
  • mvn -pl common test — 1,163 tests passed, including 85/85 in CrsRoundTripComplianceTest.
  • mvn -f spark/common/pom.xml -Dspark=3.4 -Dscala=2.12 -DskipTests test-compile
  • mvn -f spark/common/pom.xml -Dspark=3.4 -Dscala=2.12 -DwildcardSuites=org.apache.sedona.sql.CRSTransformProj4Test scalatest:test — 37 tests passed, including the ST_Transform is off by > 180 meters since Sedona 1.9 #3161 regression.
  • mvn -f spark/common/pom.xml -Dspark=3.4 -Dscala=2.12 -DwildcardSuites=org.apache.sedona.sql.geoparquetIOTests scalatest:test — 54 tests passed, including the NAD27 and polar metadata regressions.
  • pre-commit run --all-files
  • Verified the common and Spark dependency trees both resolve org.datasyslab:proj4sedona:0.1.5.

Did this PR include necessary documentation updates?

  • Yes. The GeoParquet documentation now states the specification's (x, y) coordinate-order rule and how it relates to authoritative CRS axis metadata.

@jiayuasu jiayuasu added this to the sedona-1.9.1 milestone Jul 27, 2026
@jiayuasu jiayuasu changed the title [GH-3161] Bump proj4sedona to 0.1.4 [GH-3161] Bump proj4sedona to 0.1.5 Jul 28, 2026
@jiayuasu
jiayuasu marked this pull request as ready for review July 28, 2026 05:26
@jiayuasu
jiayuasu merged commit 24c4afc into apache:master Jul 28, 2026
41 of 44 checks passed
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.

ST_Transform is off by > 180 meters since Sedona 1.9

1 participant