-
Notifications
You must be signed in to change notification settings - Fork 15
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
Check for CRS on geopandas object #12
Comments
Thanks for that example! I think personally I'm in favor of just putting in a better error message; I'll see about putting this in the next release! |
Yes this is probably a good philosophy and a really easy implementation. I would just offer a suggestion in the error message of how to fix this issue, since it's relatively straight-forward, but might not be for someone newer to working with shapefiles. |
great packages!! i have "install" this full errors as:
|
I think it would be nice to have a simple helper function to add a CRS to an input
geopandas
object that doesn't have one.This returns the following traceback:
Maybe this is super obvious, but I was a bit confused by the error message. The
pixel_overlap
function doesn't allow one to pass in a CRS, so I'd say either:ValueError: Please add a CRS to your Geopandas object with gdf_in.set_crs("EPSG:4326")
The text was updated successfully, but these errors were encountered: