Closed krvkir closed 5 years ago
My guess is that geopandas changed its API since that code was written. I can reproduce the first error; haven't tried the rest. Seems like we'll need to update the geoviews code for geopandas. You might try using an earlier version of geopandas for now?
Thanks for the fast reply!
Luckily, I managed to rewrite my code in the way which avoids direct transformation from geodataframes to datasets (just fetched lon and lat from points to separate columns and converted geodataframe to regular dataframe, then declared those columns as kdims), so I'm not in a big hurry with this issue. But this way wouldn't help with geometries other than points, so the issue is still important.
I can't reproduce these issues on master.
I noticed strange behavior of things created from geodataframes. It seems to be inconsistent with the stuff created from regular pandas dataframes. Also, it worked fine with one of the previous versions of geoviews (about half a year ago).
Here is the sample code to reproduce the issue:
Versions:
For convenience, here's the notebook with this code.
2018-07-23 geoviews bugs.ipynb.gz