Search
Items tagged with: momepy
Today's update is #Momepy and #Pysal may give unexpected results due to #PyGeos and #Shapely 2.0 compatibility.
The problem is here https://github.com/pysal/momepy/issues/472.
Based on the PR comments #473 https://github.com/pysal/momepy/pull/473, it is a Shapely 2.0 compatibility issue.
Based on guidance here https://github.com/pysal/momepy/pull/473#issuecomment-1465730704 and noting a GeoPandas discussion here https://github.com/geopandas/geopandas/issues/2691#issuecomment-1375890344 I have a workaround and the issue will be fixed.
Thanks to @martinfleis for his work on this and his timely help and advice.
The problem is here https://github.com/pysal/momepy/issues/472.
Based on the PR comments #473 https://github.com/pysal/momepy/pull/473, it is a Shapely 2.0 compatibility issue.
Based on guidance here https://github.com/pysal/momepy/pull/473#issuecomment-1465730704 and noting a GeoPandas discussion here https://github.com/geopandas/geopandas/issues/2691#issuecomment-1375890344 I have a workaround and the issue will be fixed.
Thanks to @martinfleis for his work on this and his timely help and advice.
Migration from PyGEOS to Shapely 2.0 · Issue #2691 · geopandas/geopandas
Starting with GeoPandas 0.12, we support running geopandas with shapely >= 2, but at the moment we still default to pygeos, if installed as well (as discussed in the original PR #2275, see eg #2...GitHub