Abbeveratoi in Sicilia is a simple web application built with Flask. It displays the various watering places ("abbeveratoi") scattered across Sicily, utilizing data from OpenStreetMap.
The project is aimed at mapping active, inactive, and unknown-status watering places, with the ultimate goal of identifying and highlighting those that are inactive but could be restored. The restoration of these facilities could be crucial in supporting agricultural needs and ensuring water availability during periods of extreme drought.
This project combines historical preservation with modern water resource management, promoting environmental sustainability and the conservation of cultural heritage during critical times of water scarcity.
- Interactive Map: Visualize Sicilian watering places on a map with different markers representing their statuses (active, inactive, unknown).
- Filter Functionality: Easily filter watering places based on their status using buttons in the UI.
- Detail View: Clicking on a watering place in the list or on the map provides details, including location and status, with a direct link to OpenStreetMap.
- Restoration Feature: Identify potential inactive watering places that could be restored for public use.
- Data Collection: Integrate feedback mechanisms to collect updated status and information directly from users or local authorities.
Follow these steps to set up the project on your local machine:
Make sure you have Python installed. You can download it from the official Python website.
-
Clone the repository:
git clone https://github.com/your-username/abbeveratoi-in-sicilia.git cd abbeveratoi-in-sicilia
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the Flask application:
python app.py
-
Visit
http://127.0.0.1:5000/
in your browser to view the web app.
.
├── app.py # Main Flask app
├── README.md # Project documentation
├── requirements.txt # Dependencies
├── static
│ ├── css
│ │ └── style.css # Custom styling
│ └── style.css
├── templates
│ └── index.html # HTML template
└── watering_place_status.json # Example data file with watering place statuses
- Python: Main programming language.
- Flask: Web framework used for building the app.
- Bootstrap: Frontend framework for responsive design.
- Leaflet.js: JavaScript library for interactive maps.
- OpenStreetMap API: Data source for mapping watering places.
Read more about the restoration efforts related to these watering places: