Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
edit folium
Browse files Browse the repository at this point in the history
  • Loading branch information
martindaniel4 committed Apr 25, 2015
1 parent 6d27a3a commit 130afda
Show file tree
Hide file tree
Showing 5 changed files with 191 additions and 3,518 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
"signature": "sha256:1f46348fa1b96a5e82fa28d971133835c4f8657b0f1f674c7e2cb54fdf027ddd"
"signature": "sha256:4e88d3a83d194b0296d8565ba9244e6c197def4aa24532d9af2e87571243e9ec"
},
"nbformat": 3,
"nbformat_minor": 0,
Expand Down Expand Up @@ -111,14 +111,11 @@
"outputs": []
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"Nous pouvons enfin lancer appeler la fonction **inline_map** qui affiche notre carte. "
],
"language": "python",
"cell_type": "markdown",
"metadata": {},
"outputs": []
"source": [
"Nous pouvons enfin lancer appeler la fonction **inline_map** qui affiche notre carte. "
]
},
{
"cell_type": "code",
Expand Down Expand Up @@ -222,6 +219,16 @@
"metadata": {},
"outputs": []
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"mcdo.count()"
],
"language": "python",
"metadata": {},
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -314,7 +321,9 @@
"cell_type": "code",
"collapsed": false,
"input": [
"map_departement.geo_json(geo_path=\"data/us-states.json\")"
"map_departement = folium.Map(location=[48,2], zoom_start=3)\n",
"\n",
"map_departement.geo_json(geo_path=\"data/departements.json\")"
],
"language": "python",
"metadata": {},
Expand Down
27 changes: 18 additions & 9 deletions s4/04 - Visualiser des données géographiques avec Folium.ipynb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
"signature": "sha256:1f46348fa1b96a5e82fa28d971133835c4f8657b0f1f674c7e2cb54fdf027ddd"
"signature": "sha256:4e88d3a83d194b0296d8565ba9244e6c197def4aa24532d9af2e87571243e9ec"
},
"nbformat": 3,
"nbformat_minor": 0,
Expand Down Expand Up @@ -111,14 +111,11 @@
"outputs": []
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"Nous pouvons enfin lancer appeler la fonction **inline_map** qui affiche notre carte. "
],
"language": "python",
"cell_type": "markdown",
"metadata": {},
"outputs": []
"source": [
"Nous pouvons enfin lancer appeler la fonction **inline_map** qui affiche notre carte. "
]
},
{
"cell_type": "code",
Expand Down Expand Up @@ -222,6 +219,16 @@
"metadata": {},
"outputs": []
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"mcdo.count()"
],
"language": "python",
"metadata": {},
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -314,7 +321,9 @@
"cell_type": "code",
"collapsed": false,
"input": [
"map_departement.geo_json(geo_path=\"data/us-states.json\")"
"map_departement = folium.Map(location=[48,2], zoom_start=3)\n",
"\n",
"map_departement.geo_json(geo_path=\"data/departements.json\")"
],
"language": "python",
"metadata": {},
Expand Down
1 change: 1 addition & 0 deletions s4/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"24": 10.9, "25": 9.6, "26": 11.1, "27": 10.7, "21": 8.6, "22": 9.2, "23": 9.7, "28": 9.7, "29": 9.2, "2A": 9.6, "2B": 11.6, "59": 12.9, "58": 9.4, "55": 10.3, "54": 10.2, "57": 10.8, "56": 9.5, "51": 10.0, "50": 8.4, "53": 6.9, "52": 9.7, "88": 11.9, "89": 10.0, "82": 11.5, "83": 11.4, "80": 11.7, "81": 11.1, "86": 8.4, "87": 9.8, "84": 12.8, "85": 8.6, "02": 14.1, "03": 10.6, "01": 7.3, "06": 10.7, "07": 10.7, "04": 12.0, "05": 9.3, "08": 12.5, "09": 12.3, "39": 7.7, "38": 8.3, "33": 10.1, "32": 8.2, "31": 10.6, "30": 14.2, "37": 9.3, "36": 9.5, "35": 8.2, "34": 14.5, "60": 10.1, "61": 9.4, "62": 13.1, "63": 8.7, "64": 8.7, "65": 11.5, "66": 15.4, "67": 8.9, "68": 9.9, "69": 9.3, "91": 7.7, "90": 11.8, "93": 13.2, "92": 7.9, "95": 10.2, "94": 9.0, "11": 14.1, "10": 12.4, "13": 12.0, "12": 7.3, "15": 6.4, "14": 9.8, "17": 10.9, "16": 10.3, "19": 8.1, "18": 10.4, "48": 6.2, "49": 9.5, "46": 9.4, "47": 10.1, "44": 8.8, "45": 10.1, "42": 10.1, "43": 8.4, "40": 9.8, "41": 9.1, "77": 8.2, "76": 11.2, "75": 8.3, "74": 7.5, "73": 8.1, "72": 10.1, "71": 9.3, "70": 10.4, "79": 7.9, "78": 7.4}]
Loading

0 comments on commit 130afda

Please sign in to comment.