{ "cells": [ { "cell_type": "markdown", "id": "a93f3f5c", "metadata": {}, "source": [ "# Karten mit Python und Folium\n", "Mit Python und Folium ist es erstaunlich einfach eine interaktive Karte in einem Jupyter Notebook zu erstellen" ] }, { "cell_type": "markdown", "id": "19f96cd3", "metadata": {}, "source": [ "## Folium importieren" ] }, { "cell_type": "code", "execution_count": 13, "id": "3ef9b86f", "metadata": {}, "outputs": [], "source": [ "import folium" ] }, { "cell_type": "markdown", "id": "868f1fc5", "metadata": {}, "source": [ "## Karte erstellen und positionieren\n", "Die folgende Zeile erstellt eine Karte mit Zürich im Zentrum" ] }, { "cell_type": "code", "execution_count": 14, "id": "ab7f235c", "metadata": {}, "outputs": [], "source": [ "m = folium.Map(location=[47.377623, 8.534659])" ] }, { "cell_type": "markdown", "id": "66f9eb08", "metadata": {}, "source": [ "## Karte anzeigen" ] }, { "cell_type": "code", "execution_count": 15, "id": "d029dbab", "metadata": { "scrolled": true }, "outputs": [ { "data": { "text/html": [ "