The Crowdsource module enables community participation in flood monitoring by collecting user-reported flood levels and feedback.
- Purpose: Stores user-submitted flood reports
- Fields:
name
: Name of the reporter (optional)location
: Description of the locationfeedback
: Additional comments or observationsfeet
: Water level in feetinch
: Additional inches of water leveltimestamp
: Time of report submissionlatitude
: Geographic latitudelongitude
: Geographic longitude
Submit a new flood report
- Required fields: location, latitude, longitude
- Optional fields: name, feedback, feet, inch
Get all flood reports
- Supports filtering by:
- Date range
- Location radius
- Water level threshold
Get recent flood reports (last 24 hours)
-
Location Validation
- Latitude must be between -90 and 90
- Longitude must be between -180 and 180
- Location description required
-
Water Level Validation
- Feet must be non-negative
- Inches must be between 0 and 11
-
Timestamp Handling
- Automatically set to current time
- Stored in Asia/Kolkata timezone
The crowdsourced data is used to:
- Verify automated measurements
- Fill gaps in sensor coverage
- Provide ground-truth flood reports
- Improve flood prediction models