Will Deakin · @wnd
35 followers · 104 posts · Server fosstodon.org

@martinfleis for what it's worth I have updated all of the modules according to your recipe and have a backwardly incompatible but Shapely 2.0 "compliant" version on GitHub.

This is based on my now-closed pull-request. It passes pytest validation and I'll use this in the meantime.

(With this and the issue at Christmas, which is fixed, I seemed to be inadvertently surfing the bleeding edge somewhat).

Anyway thanks again for all these toolsets and your help today.

#PySAL #momepy #pyogrio

Last updated 2 years ago

Will Deakin · @wnd
33 followers · 102 posts · Server fosstodon.org

Today's update is and may give unexpected results due to and 2.0 compatibility.

The problem is here github.com/pysal/momepy/issues.

Based on the PR comments #473 github.com/pysal/momepy/pull/4, it is a Shapely 2.0 compatibility issue.

Based on guidance here github.com/pysal/momepy/pull/4 and noting a GeoPandas discussion here github.com/geopandas/geopandas I have a workaround and the issue will be fixed.

Thanks to @martinfleis for his work on this and his timely help and advice.

#momepy #PySAL #pygeos #Shapely

Last updated 2 years ago

Will Deakin · @wnd
33 followers · 101 posts · Server fosstodon.org

For those interested in such things, I'm going to look at a patch for .0 compatibility

#PySAL #momepy #shapely2

Last updated 2 years ago

Will Deakin · @wnd
23 followers · 71 posts · Server fosstodon.org

For those who are interested in such things, based on the ONS 2021 Census and the National Records Scotland mid-year 2021 population estimates, the population centre of Great Britain is here.

This was based on calculating a mid-line based on cumulative population totals using Topler projection of the census data onto100m width slices north-south and east-west. Using @geopandas, and .

#PySAL #python

Last updated 3 years ago

The more I read, study, and do research, the more I feel like spatial statistics should become a major focus for me.

Luckily there are plenty of awesome online resources available for it completely free. docs, Geographic Data Science book, docs.

But there's this one book coming up. Spatial Analysis in the Social Sciences. It's apparently a 560-page chonker but hoooooooo boy, gotta have that!

#GeoDA #PySAL

Last updated 3 years ago