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

geopandas version #141

Open
i-am-sijia opened this issue Apr 13, 2022 · 3 comments
Open

geopandas version #141

i-am-sijia opened this issue Apr 13, 2022 · 3 comments
Assignees

Comments

@i-am-sijia
Copy link
Member

The current installation installs the latest geopandas available from conda-forge, which is fine. However, some geopandas methods are updated in newer versions, e.g. op= in geopandas.sjoin() is deprecated in newer versions, and replaced by predicate=.

I updated the sjoin() calls in Lasso to use predicate=, but it crashed Rachel's runs, because she has an older version of geopandas that does not recognize predicate=.

Moving forward, we will add a version requirement on geopandas installation.

@RachelWikenMC @DavidOry

@i-am-sijia i-am-sijia self-assigned this Apr 13, 2022
@RachelWikenMC
Copy link
Collaborator

What can I do to make this work on my end now?

@e-lo
Copy link
Collaborator

e-lo commented Apr 13, 2022

@i-am-sijia : you should do an if/then on the geopandas version:

if gpd.version> XX:
do new version
else:
do old version

@i-am-sijia
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants