{ "cells": [ { "cell_type": "markdown", "id": "11ce8688-2dd2-4a18-aa6c-bce96a801782", "metadata": { "nbgrader": { "grade": false, "grade_id": "cell-1720c646ec279d2e", "locked": true, "schema_version": 3, "solution": false, "task": false } }, "source": [ "# 8. Programmierübung: Folium\n", "\n", "
\n", "\n", "
\n", "Johannes-Selenka-Platz 1
\n", "38118 Braunschweig
\n", "Germany, DE
\n", "Visit: hbk-bs.de
\n", "\n", "---\n", "\n", "\n", "and the associated HTML:\n", "\n", "\n", "```html\n", "\n", "\n", "
\n", "Johannes-Selenka-Platz 1
\n", "38118 Braunschweig
\n", "Germany, DE
\n", "Visit: hbk-bs.de
\n", "```\n", "\n", "\n", "Do not let this confuse you. The statements in between `<> & >` are HTML tags, for example `` represents a 'Paragraph' & `` represents a hyperlink. \n",
"For the text semantic elements I recommend the following [reference](https://www.w3.org/html/wiki/Elements).\n",
"\n",
"In Python, no HTML can be displayed directly. For this, the entire HTML must be within a string. To simplify the readability Python offers the multiline string notated with 3 `'''`:\n",
"\n",
"\n",
"\n",
"'''\n",
"hi I am\n",
"\n",
"\n",
"a\n",
"\n",
"multiline string\n",
"'''\n",
"\n",
"\n",
"And as with the already known string, this one supports all string format options. But more about that later in the Factory Patterns part.\n"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "db9725a6-c438-4a23-9e5b-5b401d412832",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-b683105305025808",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"outputs": [],
"source": [
"# HBK Braunschweig\n",
"hbk_popup_html = folium.Popup(\n",
" '''\n",
" \n",
" \n",
" Johannes-Selenka-Platz 1 38118 Braunschweig Germany, DE Visit: hbk-bs.de \n",
" \n",
" Universitätspl. 2 38106 Braunschweigg Germany, DE Visit: tu-bs.de \n",
" \n",
" Johannes-Selenka-Platz 1 38118 Braunschweig Germany, DE Visit: hbk-bs.de \n",
" \n",
" Johannes-Selenka-Platz 1 38118 Braunschweig Germany, DE Visit: hbk-bs.de {} {} {}\n",
" \n",
"
\n",
"\n",
" \n",
" \n",
" \n",
" \n",
" University name \n",
" Type of university \n",
" Sponsorship \n",
" Right of promotion \n",
" Founding year \n",
" Number of students \n",
" Address \n",
" lat \n",
" lon \n",
" plz \n",
" pic \n",
" \n",
" \n",
" 0 \n",
" Hochschule für Bildende Künste Braunschweig \n",
" Artistic university \n",
" public \n",
" yes \n",
" 1963 \n",
" 976.000 \n",
" Johannes-Selenka-Platz 1 \n",
" 52.257738 \n",
" 10.502315 \n",
" 38118 Braunschweig \n",
" https://www.hbk-bs.de/fileadmin/_processed_/5/... \n",
" \n",
" \n",
" 1 \n",
" Technische Universität Carolo-Wilhelmina zu Br... \n",
" University \n",
" public \n",
" yes \n",
" 1745 \n",
" 17709.000 \n",
" Universitätspl. 2 \n",
" 52.273550 \n",
" 10.530097 \n",
" 38106 Braunschweig \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 2 \n",
" Hochschule 21 \n",
" University of Applied Sciences \n",
" privat \n",
" no \n",
" 2005 \n",
" 1084.000 \n",
" Harburger Str. 6 \n",
" 53.477650 \n",
" 9.704650 \n",
" 21614 Buxtehude \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 3 \n",
" Technische Universität Clausthal \n",
" University \n",
" public \n",
" yes \n",
" 1775 \n",
" 3446.000 \n",
" Adolph-Roemer-Straße 2A \n",
" 51.804840 \n",
" 10.334110 \n",
" 38678 Clausthal-Zellerfeld \n",
" https://www.presse.tu-clausthal.de/fileadmin/T... \n",
" \n",
" \n",
" 4 \n",
" Hochschule Emden/Leer \n",
" University of Applied Sciences \n",
" public \n",
" no \n",
" 2009 \n",
" 4481.000 \n",
" Constantiapl. 4 \n",
" 53.368160 \n",
" 7.181410 \n",
" 26723 Emden \n",
" https://sta-hisweb.hs-emden-leer.de/QIS/images... \n",
" \n",
" \n",
" 5 \n",
" PFH – Private Hochschule Göttingen \n",
" University of Applied Sciences \n",
" privat \n",
" no \n",
" 1995 \n",
" 4226.000 \n",
" Weender Landstraße 3-7 \n",
" 51.538910 \n",
" 9.933220 \n",
" 37073 Göttingen \n",
" https://goettingen-campus.de/fileadmin/_proces... \n",
" \n",
" \n",
" 6 \n",
" Georg-August-Universität Göttingen \n",
" University \n",
" public \n",
" yes \n",
" 1737 \n",
" 28614.000 \n",
" Wilhelmsplatz 1 \n",
" 51.534070 \n",
" 9.937850 \n",
" 37073 Göttingen \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 7 \n",
" Fachhochschule für die Wirtschaft Hannover \n",
" University of Applied Sciences \n",
" privat \n",
" no \n",
" 1996 \n",
" 641.000 \n",
" Freundallee 15 \n",
" 52.366200 \n",
" 9.772470 \n",
" 30173 Hannover \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 8 \n",
" Hochschule Hannover \n",
" University of Applied Sciences \n",
" public \n",
" no \n",
" 1971 \n",
" 9209.000 \n",
" Ricklinger Stadtweg 120 \n",
" 52.354190 \n",
" 9.722380 \n",
" 30459 Hannover \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 9 \n",
" Hochschule für Musik, Theater und Medien Hannover \n",
" Artistic university \n",
" public \n",
" yes \n",
" 1897 \n",
" 1409.000 \n",
" Neues Haus 1 \n",
" 52.377380 \n",
" 9.753920 \n",
" 30175 Hannover \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 10 \n",
" Leibniz-Fachhochschule \n",
" University of Applied Sciences \n",
" privat \n",
" no \n",
" 1920 \n",
" 589.000 \n",
" Expo Plaza 11 \n",
" 52.321150 \n",
" 9.818680 \n",
" 30539 Hannover \n",
" https://www.visit-hannover.com/var/storage/ima... \n",
" \n",
" \n",
" 11 \n",
" Medizinische Hochschule Hannover (MHH) \n",
" University \n",
" public \n",
" yes \n",
" 1963 \n",
" 3778.000 \n",
" Carl-Neuberg-Straße 1 \n",
" 52.384050 \n",
" 9.806030 \n",
" 30625 Hannover \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 12 \n",
" Stiftung Tierärztliche Hochschule Hannover \n",
" University \n",
" public \n",
" yes \n",
" 1778 \n",
" 2381.000 \n",
" Bünteweg 2 \n",
" 52.354680 \n",
" 9.797730 \n",
" 30559 Hannover \n",
" https://upload.wikimedia.org/wikipedia/de/thum... \n",
" \n",
" \n",
" 13 \n",
" Gottfried Wilhelm Leibniz Universität Hannover \n",
" University \n",
" public \n",
" yes \n",
" 1831 \n",
" 28935.000 \n",
" Welfengarten 1 \n",
" 52.382250 \n",
" 9.717770 \n",
" 30167 Hannover \n",
" https://www.uni-hannover.de/fileadmin/_process... \n",
" \n",
" \n",
" 14 \n",
" Fachhochschule für Interkulturelle Theologie H... \n",
" University of Applied Sciences \n",
" privat \n",
" no \n",
" 2012 \n",
" 91.000 \n",
" Missionsstraße 3-5 \n",
" 52.708843 \n",
" 10.140710 \n",
" 29320 Südheide \n",
" https://cdn.max-e5.info/damfiles/logo/fh_herma... \n",
" \n",
" \n",
" 15 \n",
" Universität Hildesheim \n",
" University \n",
" public \n",
" yes \n",
" 1978 \n",
" 8378.000 \n",
" Universitätspl. 1 \n",
" 52.134010 \n",
" 9.974690 \n",
" 31141 Hildesheim \n",
" https://www.uni-hildesheim.de/media/_processed... \n",
" \n",
" \n",
" 16 \n",
" HAWK Hochschule für angewandte Wissenschaft un... \n",
" University of Applied Sciences \n",
" public \n",
" no \n",
" 1971 \n",
" 6495.000 \n",
" Hohnsen 4 \n",
" 52.142460 \n",
" 9.957980 \n",
" 31134 Hildesheim \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 17 \n",
" HAWK Hochschule für angewandte Wissenschaft un... \n",
" University of Applied Sciences \n",
" public \n",
" no \n",
" 1971 \n",
" 6495.000 \n",
" Haarmannpl. 3 \n",
" 51.827260 \n",
" 9.450690 \n",
" 37603 Holzminden \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 18 \n",
" HAWK Hochschule für angewandte Wissenschaft un... \n",
" University of Applied Sciences \n",
" public \n",
" no \n",
" 1971 \n",
" 6495.000 \n",
" Von-Ossietzky-Straße 99 \n",
" 51.521750 \n",
" 9.969670 \n",
" 37085 Göttingen \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 19 \n",
" Leuphana Universität Lüneburg \n",
" University \n",
" public \n",
" yes \n",
" 1946 \n",
" 6497.000 \n",
" Universitätsallee 1 \n",
" 53.228531 \n",
" 10.401710 \n",
" 21335 Lüneburg \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 20 \n",
" Norddeutsche Hochschule für Rechtspflege – Nie... \n",
" University of Administration \n",
" public \n",
" no \n",
" 2007 \n",
" 6409.000 \n",
" Godehardspl. 6 \n",
" 52.144840 \n",
" 9.949230 \n",
" 31134 Hildesheim \n",
" https://static.studycheck.de/media/images/inst... \n",
" \n",
" \n",
" 21 \n",
" Kommunale Hochschule für Verwaltung in Nieders... \n",
" University of Administration \n",
" public \n",
" no \n",
" 2007 \n",
" 1570.000 \n",
" Wielandstraße 8 \n",
" 52.370500 \n",
" 9.722390 \n",
" 30169 Hannover \n",
" https://www.nsi-hsvn.de/fileadmin/user_upload/... \n",
" \n",
" \n",
" 22 \n",
" Carl von Ossietzky Universität Oldenburg\\n \n",
" University \n",
" public \n",
" yes \n",
" 1973 \n",
" 15635.000 \n",
" Uhlhornsweg 49-55 \n",
" 53.147340 \n",
" 8.179020 \n",
" 26129 Oldenburg \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 23 \n",
" Hochschule Osnabrück \n",
" University of Applied Sciences \n",
" public \n",
" no \n",
" 1971 \n",
" 13620.000 \n",
" Albrechtstraße 30 \n",
" 52.282680 \n",
" 8.025010 \n",
" 49076 Osnabrück \n",
" https://login.hs-osnabrueck.de/nidp/hsos/image... \n",
" \n",
" \n",
" 24 \n",
" Universität Osnabrück \n",
" University \n",
" public \n",
" yes \n",
" 1973 \n",
" 13640.000 \n",
" Neuer Graben 29 \n",
" 52.271370 \n",
" 8.044540 \n",
" 49074 Osnabrück \n",
" https://www.eh-tabor.de/sites/default/files/st... \n",
" \n",
" \n",
" 25 \n",
" Hochschule Braunschweig/Wolfenbüttel, Ostfalia... \n",
" University of Applied Sciences \n",
" public \n",
" no \n",
" 1971 \n",
" 11577.000 \n",
" Salzdahlumer Str. 46/48 \n",
" 52.176830 \n",
" 10.548650 \n",
" 38302 Wolfenbüttel \n",
" https://www.ostfalia.de/export/system/modules/... \n",
" \n",
" \n",
" 26 \n",
" Hochschule Wolfsburg, Ostfalia Hochschule für ... \n",
" University of Applied Sciences \n",
" public \n",
" no \n",
" 1971 \n",
" 11577.000 \n",
" Robert-Koch-Platz 8A \n",
" 52.425950 \n",
" 10.787110 \n",
" 38440 Wolfsburg \n",
" https://www.ostfalia.de/export/system/modules/... \n",
" \n",
" \n",
" 27 \n",
" Hochschule Suderburg, Ostfalia Hochschule für ... \n",
" University of Applied Sciences \n",
" public \n",
" no \n",
" 1971 \n",
" 11577.000 \n",
" Herbert-Meyer-Straße 7 \n",
" 52.897610 \n",
" 10.446590 \n",
" 29556 Suderburg \n",
" https://www.ostfalia.de/export/system/modules/... \n",
" \n",
" \n",
" 28 \n",
" Hochschule Salzgitter, Ostfalia Hochschule für... \n",
" University of Applied Sciences \n",
" public \n",
" no \n",
" 1971 \n",
" 11577.000 \n",
" Karl-Scharfenberg-Straße 55/57 \n",
" 52.087240 \n",
" 10.380550 \n",
" 38229 Salzgitter \n",
" https://www.ostfalia.de/export/system/modules/... \n",
" \n",
" \n",
" 29 \n",
" Hochschule für Künste im Sozialen, Ottersberg \n",
" University of Applied Sciences \n",
" privat \n",
" no \n",
" 1967 \n",
" 342.000 \n",
" Große Str. 107 \n",
" 53.106680 \n",
" 9.163100 \n",
" 28870 Ottersberg \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 30 \n",
" Private Hochschule für Wirtschaft und Technik ... \n",
" University of Applied Sciences \n",
" privat \n",
" no \n",
" 1998 \n",
" 558.000 \n",
" Rombergstraße 40 \n",
" 52.721250 \n",
" 8.278910 \n",
" 49377 Vechta \n",
" https://www.phwt.de/wp-content/uploads/2020/09... \n",
" \n",
" \n",
" 31 \n",
" Private Hochschule für Wirtschaft und Technik ... \n",
" University of Applied Sciences \n",
" privat \n",
" no \n",
" 1998 \n",
" 558.000 \n",
" Schlesier Str. 13A \n",
" 52.611710 \n",
" 8.363340 \n",
" 49356 Diepholz \n",
" https://www.phwt.de/wp-content/uploads/2020/09... \n",
" \n",
" \n",
" 32 \n",
" Universität Vechta \n",
" University \n",
" public \n",
" yes \n",
" 1995 \n",
" 4.551 \n",
" Driverstraße 22 \n",
" 52.721170 \n",
" 8.293800 \n",
" 49377 Vechta \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 33 \n",
" Hochschule Weserbergland \n",
" University of Applied Sciences \n",
" privat \n",
" no \n",
" 2010 \n",
" 485.000 \n",
" Am Stockhof 2 \n",
" 52.098750 \n",
" 9.355420 \n",
" 31785 Hameln \n",
" https://upload.wikimedia.org/wikipedia/commons... \n",
" \n",
" \n",
" 34 \n",
" Jade Hochschule – Wilhelmshaven \n",
" University of Applied Sciences \n",
" public \n",
" no \n",
" 2009 \n",
" 6789.000 \n",
" Friedrich-Paffrath-Straße 101 \n",
" 53.547870 \n",
" 8.088040 \n",
" 26389 Wilhelmshaven \n",
" https://www.jade-hs.de/fileadmin/layout2016/as... \n",
" \n",
" \n",
" 35 \n",
" Jade Hochschule – Oldenburg \n",
" University of Applied Sciences \n",
" public \n",
" no \n",
" 2009 \n",
" 6789.000 \n",
" Ofener Str. 16/19 \n",
" 53.141790 \n",
" 8.202130 \n",
" 26121 Oldenburg \n",
" https://www.jade-hs.de/fileadmin/layout2016/as... \n",
" \n",
" \n",
" 36 \n",
" Jade Hochschule – Elsfleth \n",
" University of Applied Sciences \n",
" public \n",
" no \n",
" 2009 \n",
" 6789.000 \n",
" Weserstraße 52 \n",
" 53.242440 \n",
" 8.466510 \n",
" 26931 Elsfleth \n",
" https://www.jade-hs.de/fileadmin/layout2016/as... \n",
" \n",
" \n",
" 37 \n",
" Steuerakademie Niedersachsen Rinteln \n",
" University of Administration \n",
" public \n",
" no \n",
" 2006 \n",
" 500.000 \n",
" Wilhelm-Busch-Weg 29 \n",
" 52.206960 \n",
" 9.091120 \n",
" 31737 Rinteln \n",
" https://www.steuerakademie.niedersachsen.de/as... \n",
" \n",
" \n",
" \n",
"38 \n",
" Steuerakademie Niedersachsen Bad Eilsen \n",
" University of Administration \n",
" public \n",
" no \n",
" 2006 \n",
" 500.000 \n",
" Bahnhofstraße 5 \n",
" 52.239810 \n",
" 9.104230 \n",
" 31707 Bad Eilsen \n",
" https://www.steuerakademie.niedersachsen.de/as... \n",
"