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

ENH: Use shapefile crs attribute when possible #2307

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

greglucas
Copy link
Contributor

When reading in the shapefile, use the .prj file information if it is present to set a crs attribute on the reader which can be used down the line by features to get the correct Projection.

Somewhat interesting that loading the wkt from the file produces a different CRS than the one going through Fiona's CRS first... I'm not sure if that is expected or not, so opening this PR as a draft for now.

closes #2289

When reading in the shapefile, use the .prj file information
if it is present to set a crs attribute on the reader which
can be used down the line by features to get the correct
Projection.
@dopplershift
Copy link
Contributor

Seems really odd that those would be different.

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

Successfully merging this pull request may close these issues.

NaturalEarthFeature is hard-coded to PlateCarree()
2 participants