This Streamlit app visualizes the Philadelphia Steam Loop system and its intersection with nearby building footprints and neighborhood boundaries in the city. Additional research on Combined Heat and Power (Cogeneration) energy is included.
- The app leverages GeoPandas, Branca, Streamlit-Folium, and Streamlit. It is hosted on Streamlit Community Cloud.
- The application uses Mapbox API for the satellite basemap in Folium
- Source data URLs are loaded using Streamlit Secret Management
To install and run the web application locally, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/phl_steamloop_streamlit.git
-
Navigate to the directory:
cd phl_steamloop_streamlit
-
Create a new python environment with conda or pipenv. Activate it, then install the required libraries using
requirements.txt
:pip install -r requirements.txt
-
Navigate to
pages
. Update thesecrets.toml
in the same directory. Then run the Streamlit app:streamlit run folium_app.py
-
Navigate to the localhost URL displayed in your terminal (usually
http://localhost:8501
).
Please note that the Mapbox API key and the source URLs from Streamlit secrets. You need to add your own Mapbox API key and URLs into the Streamlit secrets.toml
file for the application to work.
Please be aware that this map is intended to provide a general overview of the steam loop and should not be utilized for engineering or precise planning purposes. Its primary function is to serve as an informational tool. Relying on this map for other than informational purposes could lead to inaccuracies.
If you encounter any issues while running the project, please open an issue on the GitHub repository or reach out via email.
Happy Mapping!