1.6 KiB
1.6 KiB
SmartCane Data Validation Tool
A standalone, client-side data validation tool for validating Excel harvest data and GeoJSON field boundaries before uploading to the SmartCane system.
Features
🚦 Traffic Light System
- 🟢 GREEN: All checks passed
- 🟡 YELLOW: Warnings detected (non-critical issues)
- 🔴 RED: Errors detected (blocking issues)
✅ Validation Checks
-
Excel Column Validation
- Checks for all required columns:
field,sub_field,year,season_start,season_end,tonnage_ha - Identifies extra columns that will be ignored
- Shows missing columns that must be added
- Checks for all required columns:
-
GeoJSON Properties Validation
- Checks all features have required properties:
field,sub_field - Identifies redundant properties that will be ignored
- Checks all features have required properties:
-
Coordinate Reference System (CRS)
- Validates correct CRS: EPSG:32736 (UTM Zone 36S)
- This CRS was validated from your Angata farm coordinates
- Explains why this specific CRS is required
-
Field Name Matching
- Compares field names between Excel and GeoJSON
- Shows which fields exist in only one dataset
- Highlights misspellings or missing fields
- Provides complete matching summary table
-
Data Type & Content Validation
- Checks column data types and data validity
- Identifies rows with issues
Local Use
- Open
index.htmlin a web browser - Upload both your Excel and GeoJSON files
- Review validation results
- All processing happens client-side - no data is sent to servers
Deployment
Can be deployed to Netlify or any static hosting provider.