This project uses the Folium library to create an interactive map of a college campus. The map includes markers for various departments, roads, lawns, gates, and a visual boundary for the campus.
- Interactive Map centered at the college location.
- Department Markers: Each major department/building is marked with a popup showing its name and an image.
- Roads and Paths: Main roads and walkways are illustrated using white polylines.
- Lawns: Green lawn areas between buildings are drawn using polygons.
- Campus Boundary: The overall college campus is enclosed with a transparent boundary polygon.
- Admin Block
- Botany, Physics, Chemistry, Zoology, HPE, Islamiyat
- BS Block, Computer Science, Library, FSC Classes, Economy
- Masjid, Secrecy, Hostel
- Girls Gate & Boys Gate
- Python 3
- Folium Library
- HTML Popups for image embedding
CampusMap/ β βββ images/ # Folder for all referenced images β βββ Admin Block.png β βββ Botany.png β βββ ... β βββ map.html # The generated interactive map βββ campus_map.py # Main Python script to create the map βββ README.md # Project documentation
- Clone this repository:
git clone https://github.com/AjwaHarram/CollegeMap-Project cd CampusMap - Install required package:
pip install folium
- Run the script:
python campus_map.py
β οΈ Note: Ensure all image paths used in the code are correctly linked to your local or hosted image files. Otherwise, image popups may not render.