Closed gabeschoenbach closed 3 years ago
I'm unable to reproduce this on linux, even after downgrading my version of maup
, etc. to match your installation. Perhaps this is OS-specific? This is very strange.
I am getting the same error with the RI sample data linked in the README.md. I also am using Mac and want to confirm whether or not this is an OS issue? Have any OS users at MGGG found a workaround?
https://github.com/mggg/maup/pull/44 might have fixed the issue -- could you see if upgrading to 1.0.3 (just released) fixes the issue? I can't test it myself as I can't seem to be able to reproduce this on Linux.
I upgraded maup to version 1.0.3 and reset the kernel. Unfortunately, I am still getting the same error listed above when assigning blocks to precincts.
FYI, I am still also getting this error with the latest version of maup
, using MacOS Catalina. It's rendering maup
pretty unusable for me unfortunately!
@gabeschoenbach @declanc2021 can one of you two do pip freeze
so we can see what version of the dependencies of maup are installed and try to reproduce this bug.
Encountered this bug while running dev MAUP on Python 3.9.0 with Shapely v.1.7.1 and GeoPandas v0.9.
@declanc2021 this issue has been fully investigated. https://github.com/geopandas/geopandas/issues/2199
Try disabling or uninstalling PyGeos (importing maup
with PyGeos enabled in GeoPandas will now throw an error and show users how to disable PyGeos while we work on a more sustainable fix).
geopandas.options.use_pygeos = False
I'm getting the above Attribute Error when trying to aggregate VAP data from blocks up to precincts in Arizona. I think I remember running into this with a different shapefile and can't remember how it was fixed, so putting this issue up here. Shapefiles can be found here.
Running the following code...
gives this error: