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

Update spatial.py #205

Merged
merged 3 commits into from
Sep 28, 2023
Merged

Update spatial.py #205

merged 3 commits into from
Sep 28, 2023

Conversation

CwhGIS
Copy link
Contributor

@CwhGIS CwhGIS commented Sep 25, 2023

fixed that written polygon shapefile may be not correctly loaded in ArcGIS

@bemcdonnell
Copy link
Member

#202

@bemcdonnell
Copy link
Member

@chuwenhao123 can you please make a quick commit and bump down the Pillow version number required so we can get this to pass?

@CwhGIS
Copy link
Contributor Author

CwhGIS commented Sep 26, 2023

Hello @bemcdonnell, I observed that you may not have direct control over the Pillow version, as shown in the image below. On my own computer, I utilized the swmmio.draw_model function with Pillow version 9.5, and it worked perfectly. "I plan to attempt committing a compatible version at a later time.
image
image

@CwhGIS
Copy link
Contributor Author

CwhGIS commented Sep 26, 2023

Hi @bemcdonnell, I've managed to control the PILLOW version in the requirements.txt file. I hope this resolves the issue.
image

@bemcdonnell
Copy link
Member

@karosc, nice work on SWMM-toolkit. I retriggered the build (from the beach 🏖️) and things are looking good. We obviously need to circle back to see if we need to deprecate pillow or move to v10.

Copy link
Member

@bemcdonnell bemcdonnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aerispaha pending your approval. Take it away :)

Copy link
Member

@aerispaha aerispaha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Approving this from my paternity leave 👶

@aerispaha aerispaha merged commit 3a309dd into pyswmm:master Sep 28, 2023
13 checks passed
@aerispaha aerispaha mentioned this pull request Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants