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
Describe the bug TypeError: 'MultiPolygon' object is not iterable
TypeError: 'MultiPolygon' object is not iterable
at line: https://github.com/worldbank/DECAT_Space2Stats/blob/main/src/country_zonal.py#L62
Probably related to an upgrade in shapely: https://stackoverflow.com/questions/76074394/typeerror-multipolygon-object-is-not-iterable
Solution is to change to for cPoly in in_shp.geoms: or request an older version of shapely. What version were you using?
for cPoly in in_shp.geoms:
Screenshots
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
TypeError: 'MultiPolygon' object is not iterable
at line: https://github.com/worldbank/DECAT_Space2Stats/blob/main/src/country_zonal.py#L62
Probably related to an upgrade in shapely: https://stackoverflow.com/questions/76074394/typeerror-multipolygon-object-is-not-iterable
Solution is to change to
for cPoly in in_shp.geoms:
or request an older version of shapely. What version were you using?Screenshots
The text was updated successfully, but these errors were encountered: