You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
within my old python scripts, I used definitions like
mycrs = pyproj.Proj("+init=EPSG:31467 +units=m +nadgrids=./BWTA2017.gsb") to convert coordinates using specific ntv2 grids. After an updaten, using "+init" should be replaced to newer versions of pyproj (pyproj 3.1.0 and proj 7.2.1).
mycrs = CRS('epsg:31467') works fine, but my specific grid is not used.
Is there any possibility to use grid files in the latest version pf pyproj?
Thanks!
The script runs correctly now. There still remains the "FutureWarning: '+init=:' syntax is deprecated. ':' is the preferred initialization method. When making the change, be mindful of axis order changes: https://pyproj4.github.io/pyproj/stable/gotchas.html#axis-order-changes-in-proj-6
projstring = _prepare_from_string(" ".join((projstring, projkwargs)))"
Maybe there will be a solution for this warning in the future.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
within my old python scripts, I used definitions like
mycrs = pyproj.Proj("+init=EPSG:31467 +units=m +nadgrids=./BWTA2017.gsb") to convert coordinates using specific ntv2 grids. After an updaten, using "+init" should be replaced to newer versions of pyproj (pyproj 3.1.0 and proj 7.2.1).
mycrs = CRS('epsg:31467') works fine, but my specific grid is not used.
Is there any possibility to use grid files in the latest version pf pyproj?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions