Skip to content

[rasterio] pyproj.CRS typing #16136

Description

@jack-volantautonomy

As far as I'm aware, all methods that take a CRSInput should be able to take pyproj.CRS so this type should be added to the TypeAlias. Is there any objections, limitations, or considerations before I take a look into adding this @thomas-maschler ?

I raise this as our codebase supplies a few differernt rasterio methods we use with a pyproj.CRS, and now these get flagged by our linting tools as invalid argument types. Methods we use with pyproj.CRS and work include:

  • rasterio.warp.transform_bounds
  • rasterio.warp.reproject
  • rasterio.io.MemoryFile.open

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions