Skip to content
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

Support for comparison with CRS a non-crs type supported by CRS.from_user_input #312

Closed
snowman2 opened this issue May 22, 2019 · 0 comments · Fixed by #313
Closed

Support for comparison with CRS a non-crs type supported by CRS.from_user_input #312

snowman2 opened this issue May 22, 2019 · 0 comments · Fixed by #313
Labels
enhancement proposal Idea for a new feature.

Comments

@snowman2
Copy link
Member

snowman2 commented May 22, 2019

I am thinking about adding support for these types of comparisons:

from pyproj import CRS
from rasterio.crs import CRS as RCRS

CRS.from_epsg(4326) == 4326
CRS.from_user_input(RCRS.from_epsg(4326)) == RCRS.from_epsg(4326)
CRS.from_dict({"init": "epsg:4326"}) == {"init": "epsg:4326"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement proposal Idea for a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant