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
Apparently, there is no support for spatialpandas.dask.DaskGeoDataFrames in HoloViz plotting libraries other than datashader.
A simple example:
importholoviewsashvhv.extension("bokeh")
# I have a single-row Parquet file I created using spatialpandas. # It only contains one row and one column, called geometry, which contains a MultiLine object. # I can easily read in as a spatialpandas.dask.DaskGeoDataFrame:fromspatialpandas.ioimportread_parquet_daskdf=read_parquet_dask("sample_spatialpandas_row.parquet")
# I now want to plot the multiline. For instance, with hvplot:importhvplot.daskdf.hvplot()
# This raises an exception: Supplied data type DaskGeoDataFrame not understood# And the same goes for instance for GeoViews:importgeoviewsasgvgv.Path(df)
# It does not recognizes it as a geodataframe-like element, raising: # ValueError: kdims: list length must be between 2 and 2 (inclusive)
The above is just an example, obviously. You can find the sample parquet file I used here (needs to be unzipped).
Having this working would allow datashading dinamically and directly from Holo/GeoViews/HvPlot using holoviews.operation.datashader on larger than memory datasets, backed by spatialpandas.dask.DaskGeoDataFrame, which would be amazing.
What do you think?
The text was updated successfully, but these errors were encountered:
and then re-running your code. I haven't tested your code with this work-in-progress branch, so I don't know if it will work yet, but you can see what we are testing it with at holoviz-topics/examples#130 .
Hi,
Apparently, there is no support for
spatialpandas.dask.DaskGeoDataFrame
s in HoloViz plotting libraries other than datashader.A simple example:
The above is just an example, obviously. You can find the sample parquet file I used here (needs to be unzipped).
Having this working would allow datashading dinamically and directly from Holo/GeoViews/HvPlot using
holoviews.operation.datashader
on larger than memory datasets, backed byspatialpandas.dask.DaskGeoDataFrame
, which would be amazing.What do you think?
The text was updated successfully, but these errors were encountered: