# Create a Folium map m = folium.Map(location=[gdf.geometry.y.mean(), gdf.geometry.x.mean()], zoom_start=10)
import geopandas as gpd import folium
You can find more information in the following pdf: https://www.pythongeospatialanalysis.com/en/latest/ applied geospatial data science with python pdf
https://github.com/geopandas/geopandas
# Display the map m This code loads a shapefile, creates a Folium map, and adds the data to the map. # Create a Folium map m = folium
# Load the data gdf = gpd.read_file('data.shp') creates a Folium map
No account yet?
Create an Account