Loading repository data…
Loading repository data…
shakirul15-311 / repository
Create your Python MAP for BC Health Authority using Geographic Data
This Jupyter notebook (BC_HA_Map_v1.ipynb) provides a visualization of British Columbia's Health Authority regions using GeoPandas and Folium. It aims to showcase the geographical boundaries of each health authority and allows for interactive exploration with customized popups displaying the name of each health authority.
GeoPandas for Geospatial Data: Utilizes GeoPandas to load and manipulate geospatial data from a GeoJSON file (https://catalogue.data.gov.bc.ca/dataset/health-authority-boundaries/resource/581168b5-7014-41fd-86ec-334137d6bc4e ), ensuring accurate representation of health authority boundaries.
Employs Folium to create interactive maps that can be easily explored through a web interface. Folium's capabilities allow for the addition of tooltips and popups to enhance user interaction.
Implements custom styling for each health authority region based on predefined criteria, making it easier to distinguish between different regions on the map.
Includes interactive elements such as tooltips and popups, providing additional information about each health authority region upon interaction.
Ensure you have Jupyter Notebook or JupyterLab installed, along with GeoPandas and Folium. These can be installed via pip:
pip install jupyterlab geopandas folium
The notebook uses a GeoJSON file containing the boundaries and names of British Columbia's Health Authorities. Make sure the file is located in the correct directory as specified in the notebook.
Run the notebook cells sequentially. The final output is an interactive map displayed within the notebook interface.
Explore the map by hovering over and clicking on different health authority regions to view their names and additional information.
Changing Styles: Modify the colorize function to change the color scheme used for different health authorities. Additional Data: Incorporate more data into the popups by adjusting the feature_popup function and including additional fields from the GeoJSON file.
Contributions to improve or extend the functionality of this notebook are welcome. Please feel free to fork the repository, make your changes, and submit a pull request.