Skip to content

Commit 540ac2e

Browse files
committed
FIX ellips - ortho height transformations with pyproj with network access setting
1 parent f89e5a7 commit 540ac2e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sandbox/pyproj_3d_transformations.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@
77
@app.cell
88
def _():
99
import marimo as mo
10+
import pyproj
1011
from pyproj import CRS, Transformer
1112
from pyproj.crs.crs import CompoundCRS
13+
14+
print(f"pyproj version: {pyproj.__version__}")
15+
print(f"PROJ version: {pyproj.proj_version_str}")
16+
pyproj.network.set_network_enabled(active=True)
17+
print(f"PROJ network enabled for geoid grid streaming? {pyproj.network.is_network_enabled()}")
1218
return CRS, CompoundCRS, Transformer, mo
1319

1420

0 commit comments

Comments
 (0)