kopia lustrzana https://github.com/anitagraser/ogd-at-lab
Update elevation.ipynb
rodzic
5fefdda3d6
commit
772ac602fe
|
@ -82,8 +82,8 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"from utils.dataaccess import get_gdf_from_wfs\n",
|
||||
"citybike_gdf = get_gdf_from_wfs('CITYBIKEOGD')\n",
|
||||
"citybike_gdf = citybike_gdf.to_crs('epsg:3857')"
|
||||
"bike_gdf = get_gdf_from_wfs('RADGRAETZELOGD')\n",
|
||||
"bike_gdf = bike_gdf.to_crs('epsg:3857')"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -102,7 +102,7 @@
|
|||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"citybike_gdf['elevation'] = citybike_gdf.apply(get_elevation_for_row, axis=1)"
|
||||
"bike_gdf['elevation'] = bike_gdf.apply(get_elevation_for_row, axis=1)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -111,7 +111,7 @@
|
|||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"citybike_gdf = citybike_gdf.to_crs('epsg:4326')"
|
||||
"bike_gdf = bike_gdf.to_crs('epsg:4326')"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -120,7 +120,7 @@
|
|||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"citybike_gdf.hvplot(c='elevation', geo=True, tiles='OSM', title='Citybike station elevation')"
|
||||
"bike_gdf.hvplot(c='elevation', geo=True, tiles='OSM', title='Bike station elevation')"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue