Closed stfran22 closed 2 years ago
hi, thanks for raising this and sorry for the rough edge. We updated our datasets last week and the machinery got out of sync. I just released version 0.6.0 which should resolve the issue (though i'm leaving this open, so please let us know if it doesnt). If you have all the dependencies installed already, you should be able to update with pip, otherwise the conda release should be finished in a day or so.
Thanks for the quick response. Things are working better now but I’m having another issue viewing the gdf tables created from your “Standardizing Geographic Units Over Time” guide. Will post in GitHub later today.
Best, Steve
On Mar 23, 2021, at 6:35 PM, eli knaap @.***> wrote:
hi, thanks for raising this and sorry for the rough edge. We updated our datasets last week and the machinery got out of sync. I just released version 0.6.0 which should resolve the issue (though i'm leaving this open, so please let us know if it doesnt). If you have all the dependencies installed already, you should be able to update with pip, otherwise the conda release should be finished in a day or so.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spatialucr/geosnap/issues/296#issuecomment-805312549, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATL7WZCZQUGBHD4DXP2PCA3TFEJS3ANCNFSM4ZV4ZR6Q.
receiving this error when I attempt the first two lines of the quickstart from your site:
File "C:\Miniconda3\envs\gus5031\lib\site-packages\pandas\core\indexes\base.py", line 3080, in get_loc return self._engine.get_loc(casted_key)
File "pandas_libs\index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\hashtable_class_helper.pxi", line 4554, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas_libs\hashtable_class_helper.pxi", line 4562, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'wkb'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\tuo27112\OneDrive - Temple University\GIS Programming\Geosnap\geosnap_intro.py", line 9, in
dc = Community.from_census(state_fips='11')
File "C:\Miniconda3\envs\gus5031\lib\site-packages\geosnap_community.py", line 1670, in from_census 1990: datasets.tracts_1990(states=states),
File "C:\Miniconda3\envs\gus5031\lib\site-packages\geosnap_data.py", line 310, in tracts_1990 return _convert_gdf(t)
File "C:\Miniconda3\envs\gus5031\lib\site-packages\geosnap_data.py", line 97, in _convert_gdf df["geometry"] = P.map(_deserialize_wkb, df["wkb"])
File "C:\Miniconda3\envs\gus5031\lib\site-packages\pandas\core\frame.py", line 3024, in getitem indexer = self.columns.get_loc(key)
File "C:\Miniconda3\envs\gus5031\lib\site-packages\pandas\core\indexes\base.py", line 3082, in get_loc raise KeyError(key) from err
KeyError: 'wkb'