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

Import osr from osgeo instead of from root #53

Open
dodiws opened this issue Sep 5, 2018 · 0 comments
Open

Import osr from osgeo instead of from root #53

dodiws opened this issue Sep 5, 2018 · 0 comments

Comments

@dodiws
Copy link

dodiws commented Sep 5, 2018

from osr import SpatialReference

Import osr directly from root will fail if GDAL is installed using pygdal which is common alternative for virtual environment users.
Use osr module from osgeo instead: from osgeo.osr import SpatialReference

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

No branches or pull requests

1 participant