holoviz / holoviz/datashader

Use geodatasets for examples instead of geopandas

Open
#1,224 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.6k
Forks
376
Avg merge
4h 32m
Merged PRs (30d)
1

Description

There has been a change in the example data that is/isn't shipped with `geopandas`, in particular the various "naturalearth" datasets. We should replace these with use of other examples from `geodatasets`. The only place in datashader that this relevant is in `8_Polygon.ipynb`. See holoviz/geoviews#635.

A suitable replacement is something like
```python
import geodatasets as gds
import geopandas
us_counties = geopandas.read_file(gds.get_path('geoda health'), include_fields=["statename", "countyname", "cty_pop200"])
```
which works locally but gives some obscure projection error in CI. I don't wish to hold off the 0.15.0 release any longer, so this can be dealt with after that.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with 8_Polygon.ipynb and the proposed geodatasets example using geoda health. Reproduce the example locally, then investigate the projection error reported in CI. Done means the notebook no longer relies on geopandas naturalearth datasets and passes CI.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.