We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TODO: checkup on the behavior of assign when a geometry in the source is completely untouched by any target geometry
The text was updated successfully, but these errors were encountered:
Update: maup will be NaN/undefined when this occurs. E.g.:
maup
import geopandas as gpd from shapely.geometry import Polygon source = gpd.GeoSeries([ Polygon([(0,0), (1,0), (1,1), (0,1)]), Polygon([(1,0), (2,0), (2,1), (1,1)]) ]) target = gpd.GeoSeries([ Polygon([(0,0), (1,0), (1,1), (0,1)]), ])
>>> maup.assign(source, target) 0 0.0 1 NaN dtype: float64 >>> maup.assign(target, source) 0 0 dtype: int64
I am going to make maup throw a user warning when either of these two ^ things occur.
Sorry, something went wrong.
No branches or pull requests
TODO: checkup on the behavior of assign when a geometry in the source is completely untouched by any target geometry
The text was updated successfully, but these errors were encountered: