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
Observed in #142, that the following test is started to fail: test_multipolygon_cx_selection
test_multipolygon_cx_selection
import geopandas as gpd from shapely.geometry import shape from spatialpandas.geometry import MultiPolygonArray geometry = {"type": "MultiPolygon", "coordinates": [[[[0, 50], [20, 50], [50, 20], [50, 0]]]]} geometry = {"type": "Polygon", "coordinates": [[[0, 50], [20, 50], [50, 20], [50, 0]]]} gp_multipolygon = gpd.GeoSeries([shape(geometry)]) xslice, yslice = (slice(None, 0.0, None), slice(50.0, None, None)) # Works if slice is 50.0000001 expected = MultiPolygonArray.from_geopandas(gp_multipolygon.cx[xslice, yslice]) result = MultiPolygonArray.from_geopandas(gp_multipolygon).cx[xslice, yslice] assert all(expected == result)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Observed in #142, that the following test is started to fail:
test_multipolygon_cx_selection
The text was updated successfully, but these errors were encountered: