Skip to content

Commit

Permalink
Merge pull request #268 from Kaggle/fix-geospatial
Browse files Browse the repository at this point in the history
Geospatial: Fix Ex5, Q6 provided code
  • Loading branch information
alexisbcook authored Apr 29, 2020
2 parents def7092 + e5f09f2 commit 1c59223
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions notebooks/geospatial/raw/ex5.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@
"source": [
"m_6 = folium.Map(location=[40.7, -74], zoom_start=11) \n",
"\n",
"coverage = gpd.GeoDataFrame(geometry=hospitals.geometry).buffer(10000)\n",
"folium.GeoJson(coverage.geometry.to_crs(epsg=4326)).add_to(m_6)\n",
"HeatMap(data=outside_range[['LATITUDE', 'LONGITUDE']], radius=9).add_to(m_6)\n",
"folium.LatLngPopup().add_to(m_6)\n",
Expand Down

0 comments on commit 1c59223

Please sign in to comment.