-
Notifications
You must be signed in to change notification settings - Fork 45
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
write_shapefile #202
Comments
What's wrong with this guy? Already two months with no replies? |
@chuwenhao123 this is an open source software project run by awesome passionate volunteers. You can be a volunteer and help the team if you’d like - the bug fix would be done much faster with you help. Can you help the project? :-) |
@bemcdonnell Hi, I have already created a pull request. Hope it can be helpful. |
Hello @bemcdonnell, I noticed an error while merging the files. The specific error message is as follows: "AttributeError: 'ImageDraw' object has no attribute 'textsize'." It appears that this issue is related to Pillow version 10.0, as the ImageDraw.textsize function has been deprecated. You may want to consider downgrading the version of Pillow to resolve this problem. You can do this by specifying the desired version in your project's dependencies. Here is the error message for reference: Additionally, there is an open issue on the Pillow GitHub repository related to this problem, which you can track here. I hope this helps you address the issue. |
@aerispaha @karosc how would you like this handled ? |
Hey @chuwenhao123 and others, can we close this issue since we've merged #205? |
In Swmmio version 0.6.7, there is an issue with the created polygon shapefile not loading correctly in ArcGIS. The extents of the polygons are being ignored. I discovered the problem while referring to this link (https://swmmio.readthedocs.io/en/v0.6.7/_modules/swmmio/utils/spatial.html#write_shapefile), where it seems that you forgot to add the geometry for polygon.

if geomtype== 'polygon': w.poly([row.coords]).
As shown in the provided image, a fixed version is needed.
The text was updated successfully, but these errors were encountered: