-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does to_wkt use PROJ version to determine WKT version to use? #604
Comments
This should help: https://pyproj4.github.io/pyproj/latest/crs_compatibility.html |
Perfect! Thank you. That helps a lot. However, I couldn't find the answer I specifically wanted but I may just be missing an explicit answer on that page or have a misunderstanding of pyproj. If I do:
Is there ever a case where I could have a version of pyproj with those methods where |
If you have |
It comes from PROJ
Correct |
Great. |
I'm in the process of converting the pyresample project to use WKT internally by calling
CRS.to_wkt()
. We've had issues in the past with other projects where we would passpyproj.CRS.to_wkt()
to rasterio's CRS object. Rasterio seemed to depend on the version of GDAL installed (GDAL 3 -> WKT2 supported, otherwise WKT1). So I'm wondering, does pyproj's support of WKT2 depend on the version of PROJ? Is there ever a chance for a user to install current pyproj with an old-ish PROJ and get errors whento_wkt
tries to convert to WKT2?The text was updated successfully, but these errors were encountered: