Does to_wkt use PROJ version to determine WKT version to use?
See original GitHub issueI’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 pass pyproj.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 when to_wkt
tries to convert to WKT2?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Understand EPSG, WKT and Other CRS Definition Styles
Using the PROJ.4 syntax, you specify the complete set of parameters including the ellipse, datum, projection units and projection definition ...
Read more >OGC WKT Coordinate System Issues — GDAL documentation
PostGIS - Keeps WKT in the spatial_ref_sys table, but it is up to clients to translate to PROJ.4 format for actual use. I...
Read more >CRS - pyproj 3.5.0.dev0 documentation - GitHub Pages
A pythonic Coordinate Reference System manager. New in version 2.0.0. See: proj_create(). The functionality is based on other fantastic projects:.
Read more >FAQ — PROJ 9.1.1 documentation
How do I calculate distances/directions on the surface of the earth? What is the best format for describing coordinate reference systems? Which CRS...
Read more >Switch from PROJ.4 format to WKT format for CRS
As a result I have to try and determine the epsg number and use ... to WKT as a canonical representation (as in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Great.
pyproj >= 2.3
is probably what pyresample will require so this looks good. Thanks again.It comes from PROJ
Correct