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

Set operators are inconsistently handled #81

Closed
kjordahl opened this issue Dec 30, 2013 · 0 comments · Fixed by #1255
Closed

Set operators are inconsistently handled #81

kjordahl opened this issue Dec 30, 2013 · 0 comments · Fixed by #1255

Comments

@kjordahl
Copy link
Member

Since merging #68 to allow geometric operations on GeoDataFrame objects, set operators work with a dataframe as the second item in an operation, but not the first.

For example,

a = GeoSeries(...)
b = GeoDataFrame(...)

a.intersection(b)  # Okay
b.intersection(a)  # Okay
a & b  # Okay
b & a # Error
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

Successfully merging a pull request may close this issue.

1 participant