Skip to content

Does to_wkt use PROJ version to determine WKT version to use? #604

@djhoese

Description

@djhoese

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 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions