Skip to content

Update to PROJ-JNI 2.1 - #691

Open
PZahnen wants to merge 1 commit into
masterfrom
proj-jni-osgeo
Open

PZahnen wants to merge 1 commit into
masterfrom
proj-jni-osgeo

Conversation

@PZahnen

@PZahnen PZahnen commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Problem

PROJ-JNI 2.1 (xtraplatform-native#NN) renames its package to org.osgeo.proj and drops Proj.setSearchPath(). Datum ensembles (e.g. WGS 84, ETRS89) have no datum anymore, the old fork returned the first member.

Solution

  • Imports org.kortforsyningen.proj → org.osgeo.proj
  • Set the PROJ search paths with the system property org.osgeo.proj.data, and disable the PROJ log output with org.osgeo.proj.logLevel=none. maxThreadsPerInstance is renamed and now set before PROJ is used.
  • CrsTransformerProj falls back to the semi-major axis 6378137 m when a CRS has no datum. All datum ensembles in the EPSG database use it.

Has to be merged together with ldproxy/xtraplatform-native#21. CI fails until that is published.

@PZahnen
PZahnen requested a review from azahnen as a code owner November 3, 2026 12:13
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.

1 participant