You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The minimize_dispersion function expects a GeoDataFrame as input, but then it tries to aggregate all columns by summing them and throws up an error because it can't sum the geometry column. The problem appears to be in lines 300-306 of gerrytools/geometry/optimize.py and should be easily fixable by selecting only the necessary columns to aggregate.
The text was updated successfully, but these errors were encountered:
The minimize_dispersion function expects a GeoDataFrame as input, but then it tries to aggregate all columns by summing them and throws up an error because it can't sum the geometry column. The problem appears to be in lines 300-306 of gerrytools/geometry/optimize.py and should be easily fixable by selecting only the necessary columns to aggregate.
The text was updated successfully, but these errors were encountered: