Skip to content

[discussion] Use WKT or PROJ.4 string for CRS representation? #2722

Closed
@snowman2

Description

@snowman2

Background

PROJ.4 is a popular format for storing projection strings. It has a nice and simple interface that is easy to use. However, converting to the PROJ.4 format from other formats can cause loss of useful projection information (PROJ.4 contains a warning about it here and other users have had issues with losing information in the conversion, an example is here). A lossless, though more complex, alternative is the WKT string. The WKT string is also going through improvements and will include the WKT2 (2015 and 2018) versions with useful information.

The rasterio project has already made the switch to use the WKT string.

Discussion

The issue is meant to be a place to discuss whether the xarray project should use the WKT or the PROJ.4 format moving forward for storing CRS strings.

@fmaussion @sgillies @cratcliff @djhoese @rouault @kbevers

Feel free to include others that you think would provide valuable information to this discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions