kopia lustrzana https://github.com/anitagraser/ogd-at-lab
Update wien-ogd.ipynb
rodzic
23d9044d32
commit
d36a5f567f
|
@ -26,14 +26,17 @@
|
|||
"source": [
|
||||
"import hvplot.pandas\n",
|
||||
"from utils.dataaccess import get_gdf_from_wfs\n",
|
||||
"from utils.plotting import hvplot_with_buffer"
|
||||
"from utils.plotting import hvplot_with_buffer\n",
|
||||
"from holoviews import opts\n",
|
||||
"\n",
|
||||
"opts.defaults(opts.Overlay(active_tools=['wheel_zoom'], frame_width=500, frame_height=400))\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"For example, Citybike stations:"
|
||||
"For example, transport bicycle sharing stations:"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -42,7 +45,7 @@
|
|||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"gdf = get_gdf_from_wfs('CITYBIKEOGD')"
|
||||
"gdf = get_gdf_from_wfs('RADGRAETZELOGD')"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -51,7 +54,7 @@
|
|||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"gdf.hvplot(geo=True, tiles='OSM', hover_cols=['STATION']).opts(active_tools=['wheel_zoom'])"
|
||||
"gdf.hvplot(geo=True, tiles='OSM', hover_cols='all')"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -102,7 +105,7 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"election_districts = get_gdf_from_wfs('WAHLSPRGR2020OGD')\n",
|
||||
"election_districts.hvplot(geo=True, tiles='OSM', alpha=0.5).opts(active_tools=['wheel_zoom'])"
|
||||
"election_districts.hvplot(geo=True, tiles='OSM', alpha=0.5)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue