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

No way to read shapefile's projection (.prj) file #906

Open
vvug opened this issue Jul 4, 2017 · 4 comments
Open

No way to read shapefile's projection (.prj) file #906

vvug opened this issue Jul 4, 2017 · 4 comments

Comments

@vvug
Copy link

vvug commented Jul 4, 2017

I used with success the shapereader function described here

http://scitools.org.uk/cartopy/docs/v0.15/tutorials/using_the_shapereader.html

but unfortunately it seems that there is no way to load a Projection from the .prj file shipped with the shapefile. This is of course of paramount importance: without the correct projection the shapefile is useless! Please implement a way to load the .prj file.

@pelson
Copy link
Member

pelson commented Nov 20, 2017

Agree completely. We don't have any solid means to convert from proj.4 -> cartopy.crs at this point, which is the blocker to being able to achieve this.

@kaedonkers
Copy link
Member

kaedonkers commented Apr 13, 2021

bump Has there been any progress made on this issue? If not, are there any pointers as to where in the codebase this might be implemented? Cartopy seems to be able to convert from proj.4 strings now (correct me if I'm wrong) so I don't see this being a blocker any more.
@dopplershift Any ideas?

@dopplershift
Copy link
Contributor

@kaedonkers I think #1023 still needs to go in before we can do the conversion from PROJ to Cartopy CRS.

@singledoggy
Copy link

singledoggy commented Aug 14, 2021

Can this be added to the tutorial manual? When I used a different projection I encountered many problems. And I used to think we don't need to care about the projection because I knew it can be readed automatically.

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

No branches or pull requests

5 participants