Update elevation.ipynb

datathon
Anita Graser 2022-12-07 20:58:43 +01:00 zatwierdzone przez GitHub
rodzic 5fefdda3d6
commit 772ac602fe
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -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')"
]
},
{