The As-Applied Map Generator is a HTML/JS web application designed for precision agriculture drone (UAV) operators. Its purpose is to visualize spray application data from drone flight logs as a colored “as-applied” map.
UAV As-Applied Map tool for visualizing drone agricultural applications.
web-based interactive tool for rendering as-applied maps from UAV flight logs. Polygons are color-coded by application rate on satellite imagery or custom tiles. Ideal for precision ag analysis and reporting.
This tool processes CSV flight data to calculate rates (gal/ac or lbs/ac), overlays mission boundaries, and generates stats like total applied, area, average rate, and %CV. Exports include GeoJSON for GIS integration and PDF reports. Pair with tools like QGIS for deeper analysis or drone software for mission planning.
- Upload flight log CSVs (auto-detect spray/broadcast).
- Optional: Load mission KML/GeoJSON as red overlay.
- Set rate scale and colors.
- Render map and view stats.
- Export GeoJSON/PDF.
- CSV Processing: Auto-detects work type from
work typecolumn; calculates rates fromdischarge rate(ml/min). - Interactive Map: Leaflet with Esri World Imagery (toggle custom XYZ tiles); color-coded swath polygons.
- Mission Overlay: KML/GeoJSON as medium-thick red lines.
- Statistics: Total applied, area (acres), average rate, %CV (coefficient of variation).
- Exports: GeoJSON (swaths), PDF (report with map & summary).
- Dynamic Legend: Color ramp with min/max rates.
Download dgt.html and open in a modern browser (Chrome/Firefox recommended).
Demo Data
- Use sample CSVs below to test.
- Zoom to North Carolina (default view: 35.2, -79.9).
Sample CSV (spray example):
latitude,longitude,speed(m/s),flight UTC time,work type,discharge rate(ml/min)
35.123,-79.456,2.5,2023-01-01T12:00:00Z,spray,100.0
35.124,-79.457,2.6,2023-01-01T12:00:01Z,spray,105.0
Example: Spray mission with rate-colored swaths (red=low, blue=high), stats panel, and red mission overlay
- Upload CSVs: One file auto-added; click "+ Add File" for multiples. Set swath width (ft).
- Optional Mission: Upload KML/GeoJSON for red line overlay.
- Configure: Set min/max rates, color ramp; toggle custom tiles if needed.
- Click Render Map.
- View summary stats; download GeoJSON/PDF.
💡 Pro Tip: Ensure CSV headers match exactly (case-sensitive). For broadcast, use "broadcast" in
work typeand grams/min in discharge column. Use Google Maps for lat/lon verification.
| File | Description |
|---|---|
as_applied_YYYY-MM-DD.geojson |
Swath polygons with rates, flows, areas (for QGIS/ArcGIS) |
as_applied_report_YYYY-MM-DD.pdf |
Full report: stats, map screenshot, mission/as-applied details |
Enter XYZ tile URL (e.g., drone orthomosaics). Supports {z}/{x}/{y} or {z}/{y}/{x}. Toggle checkbox to switch from Esri default. Generate tiles in QGIS: Processing Toolbox > Raster > Generate XYZ Tiles.
This tool follows the Unix philosophy — programs that do one thing and do it well. Focused on rapid as-applied visualization from flight logs, with GIS-ready outputs for precision ag workflows.
Learn more: “The Art of Unix Programming” by Eric S. Raymond – Chapter on modularity and transparency

