Welcome to Geo-Surface Drain Pro

Professional agricultural drainage design and terrain analysis

What is Geo-Surface Drain Pro?

Geo-Surface Drain Pro is a comprehensive web-based platform for designing subsurface agricultural drainage systems. It combines high-resolution LiDAR elevation data with intelligent design tools to help agricultural consultants and professionals create optimal drainage layouts.

Main Application Interface
Main application showing: left sidebar with tabs, map view with field boundary, drainage lines drawn, elevation colorization, and profile chart at bottom

Key Capabilities

  • High-Resolution Terrain Data: Access LiDAR elevation data with sub-meter accuracy across Canada and USA
  • Click-to-View Elevation: Instantly check elevation at any point on the map with instant lookup from loaded DEM or auto-fetch from government servers
  • Virtual Survey Tools: Draw drainage lines and see real-time elevation profiles
  • Intelligent Design: Automated grade analysis and best-fit algorithms
  • Advanced Analysis: Flow direction, wetness index, depressions, and ponding prediction
  • Professional Output: Generate detailed PDF reports and georeferenced exports
  • 3D Visualization: View terrain in immersive 3D with Cesium.js
Drain Pro vs Lite Versions

Geo-Surface Drain Pro is available in two versions designed for different professional workflows:

Feature Category Drain Pro Lite (Viewer)
PROJECT MANAGEMENT
Open & View Design Projects
Create New Projects
Save & Backup Project Files
Share Projects with Clients (view only)
DESIGN & DRAWING TOOLS
Draw Drainage Lines (Manual & GPS)
GPS Field Survey Integration
Edit & Modify Lines (Trim/Extend/Offset)
Delete & Reorganize Designs
Create Drainage Hierarchy (Mains/Secondaries)
ELEVATION & TERRAIN DATA
View Elevation Profiles (from restored backup)
Define Project Boundaries (Draw AOI)
Fetch High-Resolution LiDAR Data
Import Custom GeoTIFF DEMs
Click-to-View Elevation Anywhere
3D Terrain Viewer (Cesium)
INTELLIGENT ANALYSIS
Generate Analysis Layers (TauDEM Processing)
Flow Direction & Accumulation Maps (view only)
Topographic Wetness Index (TWI) (view only)
Ponding Prediction & Depression Mapping (view only)
Automated Best-Fit Grade Calculation
Connection Validation & Enforcement
Depth Violation Detection
HYDRAULIC CALCULATIONS
Set Design Parameters (Grade/Depth/Diameter)
Automatic Pipe Sizing (Flow-Based)
Flow Rate Calculations
Drainage Coefficient Input
Material Quantity Estimates
Cost Projections
PROFESSIONAL EXPORTS
PDF Reports (Materials/Flow/Costs)
Ditch Assist Export (Machine Control)
KML Export (Google Earth)
CSV Design Data Export
Georeferenced Map Images (.jpg + .jgw)
PDF Map Export
High-Resolution Snapshots (.jpg)
Professional Workflow

Drain Pro Version: Full-featured design suite for agricultural drainage consultants and professionals. Create designs from scratch, run advanced analysis, generate professional documentation, and share completed projects with clients.

Lite Version: Perfect for farmers, landowners, and stakeholders who need to review and understand drainage designs created by professionals. Open project backups shared by consultants, explore designs interactively, view elevation profiles and analysis layers, and export reference materials for field use.

Collaborative Design Process

Typical Workflow: Drainage consultant uses Drain Pro to design the system, generate analysis layers, validate connections, size pipes, and create professional PDF reports. The consultant then shares the project backup file with the client, who opens it in Lite to review the design, explore terrain analysis, view 3D visualizations, and export Ditch Assist files for their contractor.

Key Benefit: Clients can fully understand and interact with the design without needing expensive professional software or risk accidentally modifying the consultant's work.

System Requirements

Browser Requirements

  • Modern web browser (Chrome, Firefox, Safari, or Edge recommended)
  • JavaScript enabled
  • Stable internet connection
  • Minimum resolution: 1280x720 (1920x1080 recommended)

Optimal Performance

  • Desktop or laptop computer (tablets supported but not optimal)
  • 4GB RAM minimum, 8GB+ recommended
  • Stable internet connection for LiDAR data downloads and analysis
  • Chrome browser on Windows/Mac (recommended)
Performance Tip

Performance automatically scales with project area. Larger regions download at lower resolution to maintain consistent performance. Use Chrome on desktop for best experience. Mobile devices work but have limited screen space for complex designs.

Interface Overview

Understanding the Geo-Surface Drain Pro workspace

Main Interface Components

The Geo-Surface Drain Pro interface is designed for efficient drainage design workflow with everything accessible from a single screen.

Annotated Interface Layout
Annotated interface layout
Sidebar & Workflow Tabs

The left sidebar organizes your workflow into 3 main tabs:

1. Setup Tab (3-Step Workflow):

  • Step 1 - Define Project Area: Upload a shapefile/KML boundary or draw manually on the map
  • Step 2 - Get Elevation Data: Auto-fetch LiDAR from HRDEM (Canada) or 3DEP (USA), or upload your own GeoTIFF
  • Step 3 - Generate Analysis Layers: Create flow direction, TWI, depressions, and ponding layers via TauDEM processing

2. Design Tab (Drainage Layout):

  • Virtual Survey Tools: Draw lines, GPS survey, copy/offset, trim, extend, delete tools
  • Design Parameters: Set grades, depths, pipe sizes, drainage coefficients for selected lines
  • Grade Analysis: View profile charts, run Best Fit optimization, analyze line statistics
  • Tile Sizing: Calculate required pipe sizes based on flow and contributing area
  • Best Practices: Design guidelines and recommendations

3. Import/Export Tab (Data Management):

  • Project Backup: Save/restore complete project files with all data
  • Quick Exports: Save snapshot, Export PDF Map, Ditch Assist image, Export Map → KMZ
  • Professional Reports: Generate comprehensive PDF reports with materials, flow, costs
  • Design Data: Export design to Shapefile or KML for field implementation
  • Analysis Data: Export/import flow analysis KML files
  • Raw Data: Download LiDAR elevation GeoTIFF (EPSG:3857)

Click tab buttons at the top of the sidebar to switch between workflows.

Map Viewport

The central map displays your project with multiple visualization options:

  • Satellite imagery from Esri
  • Elevation colorization (after fetching LiDAR)
  • Hillshade visualization for terrain interpretation
  • Analysis layers overlays
  • Drawn drainage lines with labels
  • Reference layers (contours, parcels, waterways)
Elevation Profile Chart

The profile chart at the bottom shows elevation data for selected drainage lines:

  • Blue line: Ground elevation profile along the drainage path
  • Red line: Design grade showing proposed drain elevation and depth
  • Green line: Minimum depth constraint line
  • Magenta line: Maximum depth constraint line

Hover over the chart to see exact values. Toggle the chart on/off with the button in the bottom-right corner.

Design Toolbar (Drain Pro)

The floating toolbar in the Design tab provides quick access to line modification tools:

  • Draw: Create new drainage lines
  • Virtual Survey: Live profile while drawing
  • Trim: Shorten lines to connection points
  • Extend: Lengthen lines to connection points
  • Offset: Create parallel laterals
  • Delete: Remove individual lines
  • Select to Delete: Remove multiple lines via polygon selection
  • Clear All: Remove all drainage lines
Layer Controls Popover

Click the layers button (top-right of map) for quick access to common layer controls:

  • Base layer selection
  • Hillshade toggle
  • Contour interval selection
  • Flow direction overlay
  • Reference layers (parcels, waterways)
3D Terrain Viewer

A floating button on the map provides access to the 3D terrain viewer when elevation data is loaded:

  • Availability: Button appears after DEM is successfully loaded
  • Visualization: View terrain in perspective with drainage lines overlaid
  • Navigation: Rotate (Ctrl + drag), pan (Shift + drag), zoom, and tilt the view
  • Vertical Exaggeration: Adjust terrain relief for better visualization of subtle slopes

See the 3D Terrain Viewer section for detailed usage instructions.

Navigation & Controls

Powerful features to find locations and navigate efficiently

Location Search

The intelligent search box (top-left of map) helps you quickly find any location in your region.

How to Search
  1. Type a place name, address, town, or landmark
  2. Autocomplete suggestions appear as you type
  3. Click a suggestion or press Enter to navigate
  4. The map flies to the location and zooms in appropriately

Searches are automatically filtered to your region (Canada or USA) based on your application settings.

Search Tips

What You Can Search:

  • Towns & Cities: "Smithville", "Brandon MB", "Cedar Rapids IA"
  • Road Names: "Highway 2", "County Road 5", "Main Street"
  • Landmarks: Church names, grain elevators, community halls
  • Counties/Municipalities: "Huron County", "Grey County"
  • Addresses: Full street addresses where available

Search is powered by OpenStreetMap - most rural roads, communities, and landmarks are indexed.

Finding Specific Parcels

To locate specific land parcels or sections:

  1. Use the search to navigate to the general area (nearest town or road)
  2. Open the Layers floating button
  3. Enable the LLD overlay (Canada) or PLSS overlay (USA)
  4. Use the overlay labels to identify your specific quarter-section or parcel

These overlays show Legal Land Description (Canada) or Public Land Survey System (USA) grid lines with section numbers to help you pinpoint exact parcels.

GPS Location Tracking

Use your device's GPS to track your real-time location on the map - perfect for field surveys and site visits.

Enabling GPS Tracking
  1. Click the GPS Location button (crosshairs icon) on the map
  2. Grant location permission when your browser prompts
  3. Your position appears as a blue dot with accuracy circle
  4. Map automatically centers on your location
  5. Click again to disable tracking
Mobile Devices: GPS works best on tablets and phones with built-in GPS. Laptops typically use WiFi-based positioning which is less accurate.
Field Survey Workflow

Use GPS tracking for on-site drainage surveys:

  1. Enable GPS Location button before heading to the field
  2. Navigate to Design tab and click GPS Survey tool to start tracking
  3. Walk the proposed drain route - your path draws automatically on the map
  4. Click GPS Survey button again to end the survey
  5. Elevation profile is created upon completion of the survey

Adding Markers: If you need to mark problem areas or points of interest during your walk, place markers on the map and use geolocation to position them accurately as you walk.

This creates a "virtual survey" combining your GPS path with LiDAR elevation data.

Keyboard Shortcuts

Essential keyboard commands to speed up your workflow:

Key Action
ESC Cancel current operation (draw, trim, extend, delete) - your universal "undo current action"
Double-Click Complete drawing operation when using the Draw tool
ESC Key - Universal Cancel: The ESC key is designed to safely exit any operation and return to a clean state. It coordinates across all active tools and popovers. When in doubt, press ESC.
Quick Navigation Tips

Efficient ways to navigate during design work:

Map Navigation
  • Pan: Click and drag to move the map
  • Zoom: Scroll wheel, +/- buttons, or pinch on touch devices
Workflow Efficiency
  • Tab Switching: Click tab buttons (Setup, Design, Import/Export) at top of sidebar
  • Layer Toggle: Use floating Layers button for quick access to base layers and overlays
  • Profile Chart: Toggle on/off with button in bottom-right corner of chart

Define Project Area

Step 1: Establish your field boundary or AOI

About Project Boundaries

Every project begins by defining your field boundary or Area of Interest (AOI). This boundary:

  • Determines the area for LiDAR data download
  • Clips all visualizations to your project area
  • Sets the working extent for terrain analysis
  • Appears as a blue polygon on the map
Method 1: Upload Boundary File

If you have an existing boundary file from GIS software, surveying equipment, or farm management tools:

Upload Boundary Interface
Define Project Area - Upload or draw boundary interface

Steps:

  1. Click "Upload Field Boundary" in Setup tab, Step 1
  2. Select your file (or drag and drop)
  3. Wait for processing (usually 1-2 seconds)
  4. Verify the boundary appears on the map

Supported Formats:

  • Shapefile: ZIP file containing .shp, .shx, .dbf, and .prj files
  • KML/KMZ: From Google Earth, AgLeader, John Deere Operations Center, etc.
Coordinate System Requirement

Critical: Boundary files MUST be in WGS84 (EPSG:4326) coordinates - Latitude/Longitude format. If your shapefile is in a projected coordinate system (UTM, State Plane, etc.), reproject it before upload using QGIS or ArcGIS.

Method 2: Draw Boundary Manually

If you don't have a boundary file, draw one directly on the map:

Manual Boundary Drawing
Drawing boundary directly on the map

Steps:

  1. Use Location Search to navigate to your field
  2. Zoom in until field boundaries are clearly visible in satellite imagery
  3. Click "Draw Field Boundary" button
  4. Click around the field perimeter to place points
    • Each click places a vertex
    • Place points at corners and along curves
  5. Double-click to complete (or ESC to cancel)
Drawing Tips
  • Zoom in close for accuracy
  • Use satellite imagery to identify field edges and fence lines
  • The boundary doesn't need to be perfect - you can always redraw
  • Don't over-detail - simple polygons work fine
Area Limits

Projects can range from small fields to large regions:

  • Maximum: 1,000,000 acres per project
  • Resolution Trade-off: Larger regions automatically download at lower resolution to maintain performance. This is by design - performance stays consistent regardless of area.
  • Detail Level: Choose project size based on your analysis needs, not performance concerns
Automatic Scaling: The system balances coverage area with resolution automatically. Smaller regions get higher-resolution DEMs, while larger regions get lower resolution - maintaining consistent processing performance across all project sizes.

Get Elevation Data

Step 2: Fetch high-resolution LiDAR terrain data

About LiDAR Elevation Data

After defining your boundary, fetch high-resolution elevation data that forms the foundation for drainage design and terrain analysis.

Data Sources:

  • Canada: HRDEM (High Resolution LiDAR) at 1-2 meter resolution from Natural Resources Canada
  • USA: 3DEP (3D Elevation Program) from USGS at 1-10 meter resolution depending on location
MRDEM Availability

In areas without high-resolution LiDAR coverage, a coarser MRDEM (Medium Resolution 20-30m) base layer may be available through the Layers popup as a grayscale overlay option. However, this lower resolution data cannot be used for drainage design or analysis layer generation.

1
Define Boundary First
Complete Step 1 before fetching elevation data - the boundary determines download area
2
Click "Fetch LiDAR"
Button becomes active after boundary is defined
3
Wait for Download
10 seconds to 3 minutes depending on area size
4
View Results
HD Elevation layer appears on map with colorization and hillshade
Fetching Process
LiDAR Fetch Interface
Fetching LiDAR elevation data

Download Times:

Typical download time is 10-30 seconds for most fields. The system uses optimized resolution settings to ensure fast downloads regardless of field size.

What Gets Downloaded

The system fetches raw elevation data (GeoTIFF format) and processes it locally in your browser to create the HD Elevation layer, which combines both colorization and hillshade into a single visualization. All data is clipped to your project boundary.

Server Availability

Elevation data is fetched from government servers (Natural Resources Canada and USGS). During peak hours, these servers can become overloaded, which may cause download failures or timeouts.

This is not a Geo-Surface issue - these are external government infrastructure limitations beyond our control. Typically, servers recover within a few minutes, but occasionally outages can last longer. If a download fails, please wait a few minutes and try again.

HD Elevation Visualization

After fetching, the HD Elevation layer appears on your map, combining elevation colorization with hillshade relief for comprehensive terrain visualization.

Elevation Color Ramps:

Choose from 17 different color schemes to visualize elevation data. Access the color ramp selector in the Layers popover under the Elevation Data section.

Available color ramps include:

  • Spectral (default): Purple → Blue → Green → Yellow for intuitive low-to-high visualization
  • Classic: Blue → Green → Yellow → Red traditional elevation colors
  • Plasma/Inferno/Magma: Scientific color schemes with excellent contrast
  • Electric/Neon: High-visibility vibrant colors for presentations
  • Terrain: Earth tones mimicking natural topographic maps
  • Rainbow/Turbo: Full spectrum for maximum differentiation

All color ramps use quantile-based mapping that adapts to your field's elevation range, ensuring useful color variation even on flat terrain. Your selection is remembered between sessions.

Hillshade Relief:

3D-style shaded relief is automatically combined with the color gradient, simulating northwest sunlight to emphasize:

  • Topographic features and landforms
  • Subtle elevation changes and micro-topography
  • Ridges, valleys, and drainage pathways
HD Elevation Layer
HD Elevation layer showing combined colorization and hillshade
Layer Control

Toggle the HD Elevation layer on/off using the floating Layers button (layer stack icon) on the map. The layer combines both colorization and hillshade as a unified visualization.

Coverage Gaps & Issues

If LiDAR Fetch Fails:

  1. Verify Location: Ensure boundary is in correct region (Canada vs USA)
  2. Check Coverage: Enable LiDAR Coverage layer to see areas where high-resolution LiDAR is available. Only areas showing LiDAR coverage can be fetched - coarse terrain areas cannot be downloaded.
  3. Try Again: Servers occasionally timeout - retry after a few minutes
  4. Alternative: Use Custom DEM Upload feature if you have elevation data from other sources
Coverage Limitations

LiDAR coverage is extensive but not universal. High-resolution data is available for most agricultural regions, but some remote areas may only have coarser resolution or no coverage.

Import Custom GeoTIFF Elevation Data

If you have your own elevation data from alternative sources (professional surveys, RTK drone mapping, other LiDAR sources, etc.), you can import a custom GeoTIFF file instead of fetching from public servers.

When to Use Custom GeoTIFF
  • Higher accuracy: Professional RTK surveys provide centimeter-level accuracy vs. LiDAR's 10-30cm vertical accuracy
  • Recent data: Your field may have changed since LiDAR was captured (grading, earthwork, etc.)
  • Coverage gaps: LiDAR not available in your location
  • Alternative sources: Access to commercial LiDAR or other high-quality elevation data

GeoTIFF Requirements:

1
Coordinate System: EPSG:3857
Critical: File must be in EPSG:3857 (Web Mercator) projection. This is the only supported coordinate system.
2
Format: GeoTIFF (.tif or .tiff)
Standard GeoTIFF format with embedded georeferencing metadata
3
Elevation Units: Meters
Elevation values must be in meters (the system displays in feet but expects meters)
4
NoData Values
Common NoData values (-32767, -32768, or values < -10000) are automatically normalized to -9999

How to Prepare Your GeoTIFF:

Coordinate System Conversion Required

Most elevation data is provided in a geographic coordinate system (like WGS84 / EPSG:4326) or a local projected system (like UTM zones). You must reproject to EPSG:3857 before importing.

Using QGIS to Prepare Your GeoTIFF:

QGIS is a free, open-source GIS application perfect for preparing elevation data. Download QGIS

Step-by-Step: Reproject to EPSG:3857 in QGIS
  1. Load your elevation file:
    • Open QGIS
    • Drag and drop your elevation GeoTIFF into QGIS
    • Or use: Layer → Add Layer → Add Raster Layer
  2. Check current coordinate system:
    • Right-click the layer in the Layers panel
    • Select Properties → Information
    • Note the current CRS (Coordinate Reference System)
  3. Reproject the raster:
    • Go to: Raster → Projections → Warp (Reproject)
    • Source CRS: Should auto-detect (verify it's correct)
    • Target CRS: Type "3857" in the search box and select "EPSG:3857 - WGS 84 / Pseudo-Mercator"
    • Resampling method: Select "Bilinear" (good balance) or "Cubic" (smoother, slower)
    • NoData value: Enter -9999 (or leave as default if your data uses standard values)
    • Output file: Click [...] and choose where to save (e.g., "my_field_3857.tif")
    • Click Run
  4. Verify the result:
    • The reprojected layer will be added to your map
    • Right-click → Properties → Information
    • Confirm CRS shows "EPSG:3857"
    • Check that extent coordinates are large numbers (millions), not lat/lon decimals
Alternative: Using GDAL Command Line

If you're comfortable with command-line tools, you can use GDAL directly:

gdalwarp -s_srs EPSG:4326 -t_srs EPSG:3857 \
  -r bilinear -dstnodata -9999 \
  input.tif output_3857.tif

Parameters explained:

  • -s_srs EPSG:4326 - Source coordinate system (replace 4326 with your source EPSG code)
  • -t_srs EPSG:3857 - Target coordinate system (Web Mercator)
  • -r bilinear - Resampling method (bilinear is recommended)
  • -dstnodata -9999 - Set NoData value to -9999

Don't know your source EPSG code?

gdalinfo input.tif

Look for the "Coordinate System" section in the output.

Importing Your GeoTIFF into Geo-Surface:

  1. Define your boundary first (Step 1) - the system needs to know your project area
  2. In the Setup Workflow panel, look for the "Upload Custom DEM" button in Step 2
  3. Click the button and select your EPSG:3857 GeoTIFF file
  4. The system will:
    • Validate and load the file
    • Extract origin, resolution, and extent from metadata
    • Create colorized and hillshade visualizations automatically
    • Zoom the map to your elevation data extent
    • Enable the "Create Drainage Layers" button for TauDEM processing
  5. You'll see "GeoTIFF loaded successfully" when complete
After Import

Once loaded, your custom GeoTIFF works exactly like LiDAR data - you can generate analysis layers, draw drainage designs, export profiles, and create reports. The data is also saved in project backups.

Common Issues and Solutions:

Error: "Failed to process GeoTIFF"

Likely causes:

  • Wrong coordinate system: File is not in EPSG:3857. Reproject using QGIS or GDAL.
  • Corrupted file: Try re-exporting from your source software
  • Missing georeferencing: File lacks embedded coordinate system metadata
  • Unsupported format: Must be standard GeoTIFF format
File loads but appears in wrong location

This indicates incorrect coordinate system. The file may be in a different projection or the metadata may be wrong.

Solution: Verify the source coordinate system and reproject to EPSG:3857 using the QGIS instructions above.

Elevation values are wrong (off by factor of 3.28)

Your source data is in feet, but Geo-Surface expects meters.

Solution in QGIS:

  1. Open Raster Calculator: Raster → Raster Calculator
  2. Enter formula: "your_layer@1" / 3.28084
  3. Save output, then reproject that result to EPSG:3857
RTK Drone Survey Workflows

Many drone pilots use Pix4D, DroneDeploy, or similar photogrammetry software to create DEMs. These typically export in the local coordinate system (often UTM). Export your DEM as GeoTIFF, note the coordinate system, then use QGIS to reproject to EPSG:3857 before importing to Geo-Surface.

Upload Elevation Survey Points

If you have surveyed elevation points from professional field surveys (RTK GPS, total station, etc.), you can upload them as a point shapefile and the system will automatically interpolate a high-resolution DEM tailored to your field.

When to Use Elevation Points Upload
  • Professional surveys: You have RTK GPS or total station survey points with precise elevations
  • Maximum accuracy: Survey-grade points provide centimeter-level accuracy far exceeding LiDAR
  • Recent field changes: Your field has been modified since LiDAR was captured (grading, land leveling, etc.)
  • LiDAR gaps: High-resolution LiDAR data not available in your area
  • Custom coverage: Generate a DEM perfectly tailored to your specific survey points and field boundary

Point Shapefile Requirements:

1
Geometry Type: Points
Shapefile must contain point features (not polygons or lines)
2
Coordinate System: WGS84 (EPSG:4326)
Critical: Points must be in WGS84 geographic coordinates (latitude/longitude)
3
Elevation Column: Numeric Field
Must have at least one numeric field containing elevation values
4
File Format: Zipped Shapefile
ZIP must contain all required files: .shp, .shx, .dbf (and .prj recommended)
5
Inside Boundary: Required
All survey points must fall inside your uploaded shapefile boundary
Shapefile Boundary Required

Important: Elevation points upload requires a shapefile boundary (uploaded in Step 1). If you drew your boundary manually or uploaded KML/KMZ, you must replace it with a shapefile boundary before using this feature.

How It Works:

  1. Upload shapefile boundary (Step 1 - Setup Workflow)
    • Must be a zipped shapefile (not KML/KMZ)
    • Must contain your field/project boundary as polygon(s)
    • Must be in WGS84 (EPSG:4326) coordinate system
  2. Click "Upload Elevation Points" button (Step 2)
    • Button becomes enabled after shapefile boundary is uploaded
    • Select your zipped point shapefile
  3. Select elevation column and units
    • System automatically detects all numeric fields in the shapefile
    • Choose which field contains elevation values
    • Specify units: Feet or Meters
    • Review sample value to verify correct column and units
  4. Server-side interpolation processing
    • Files are uploaded to Geo-Surface processing server
    • Points are validated and reprojected to Web Mercator
    • Advanced interpolation creates smooth elevation surface from your points
    • DEM is clipped precisely to your boundary
    • Processing typically takes 2-5 minutes depending on point density
  5. Automatic DEM loading
    • Interpolated DEM is automatically downloaded and loaded
    • Colorized and hillshade visualizations are generated
    • Map zooms to your data extent
    • DEM manager status updates to show successful load
    • Ready to generate analysis layers (Step 3)
Elevation Points Column Selector Dialog
Select elevation column and units

Preparing Your Survey Points in QGIS:

Convert Survey CSV to Shapefile

If your survey points are in CSV or text format, use QGIS to convert them to a shapefile:

  1. Load CSV file:
    • Open QGIS
    • Layer → Add Layer → Add Delimited Text Layer
    • Select your CSV file
    • Choose correct delimiter (comma, tab, etc.)
    • X field: Select your longitude column
    • Y field: Select your latitude column
    • Geometry CRS: Select EPSG:4326 (WGS84)
    • Click Add
  2. Verify elevation field is numeric:
    • Right-click layer → Open Attribute Table
    • Check that elevation values appear as numbers (not text)
    • If showing as text, you may need to clean your CSV file
  3. Export as shapefile:
    • Right-click the layer → Export → Save Features As
    • Format: ESRI Shapefile
    • File name: Choose location and name (e.g., "survey_points.shp")
    • CRS: EPSG:4326 - WGS 84
    • Click OK
  4. Zip all shapefile components:
    • Navigate to the folder where you saved the shapefile
    • Select all related files: .shp, .shx, .dbf, .prj (and .cpg if present)
    • Create a ZIP archive containing these files
    • This ZIP file is what you'll upload to Geo-Surface
Reproject Points to WGS84

If your survey points are in a different coordinate system (e.g., UTM, State Plane), reproject to WGS84 (EPSG:4326):

  1. Load your points: Drag and drop your shapefile into QGIS
  2. Check current CRS: Right-click layer → Properties → Information → CRS
  3. Reproject:
    • Right-click layer → Export → Save Features As
    • Format: ESRI Shapefile
    • CRS: Type "4326" and select "EPSG:4326 - WGS 84"
    • File name: Save as new file (e.g., "survey_points_wgs84.shp")
    • Click OK
  4. Verify result:
    • The new layer should load in QGIS
    • Check Properties → Information → CRS shows EPSG:4326
    • Coordinates should be decimal degrees (e.g., -95.5, 42.3)
  5. Zip and upload: Zip all components and upload to Geo-Surface
After Interpolation

Once the interpolated DEM is loaded, it works exactly like LiDAR or custom GeoTIFF data - you can generate analysis layers (Step 3), draw drainage designs, export profiles, and create reports. The DEM is also saved in project backups for future use.

Interpolation Details:

How Interpolation Works

The server uses advanced Radial Basis Function (RBF) interpolation to create a smooth elevation surface from your survey points. The algorithm:

  • Honors exact elevations at each survey point location
  • Creates smooth transitions between points using thin-plate spline method
  • Applies Gaussian smoothing (σ=7.5 meters) to reduce noise and artifacts
  • Produces a continuous elevation surface clipped precisely to your boundary
  • Outputs DEM in EPSG:3857 (Web Mercator) with meters as vertical units

Common Issues and Solutions:

"Please upload a shapefile boundary first"

Cause: You either haven't uploaded a boundary, or you uploaded KML/KMZ or drew the boundary manually.

Solution:

  • Go to Step 1 and upload a shapefile boundary (zipped .shp, .shx, .dbf files)
  • The boundary must be in WGS84 (EPSG:4326) coordinate system
  • KML/KMZ boundaries and manually drawn boundaries are not compatible with elevation points upload
"No numeric fields found in shapefile"

Cause: The shapefile doesn't contain any numeric elevation fields, or the field type is set to text/string.

Solution:

  • Open the shapefile in QGIS and check the attribute table
  • Ensure you have a field containing numeric elevation values
  • If elevation values appear as text, create a new numeric field and copy values using Field Calculator
  • Re-export as shapefile and try again
"Points must be in WGS84 (EPSG:4326)"

Cause: Your point shapefile is in a different coordinate system (e.g., UTM, State Plane).

Solution: Use QGIS to reproject your points to WGS84 (see accordion above for step-by-step instructions).

"Processing timeout (30 minutes)"

Cause: Interpolation is taking longer than expected, possibly due to very large point datasets or server load.

Solution:

  • For very large point datasets (>50,000 points), consider decimating or filtering to a representative sample
  • Try again during off-peak hours
  • Contact support if the issue persists - there may be a server issue
Best Practices for Survey Point Density
  • Minimum coverage: Ensure points distributed across entire field area
  • Optimal spacing: 30-60 feet (10-20 meters) between points for best results
  • Capture terrain features: Include extra points on ridges, swales, and drainage ways
  • Boundary points: Survey points along field perimeter help ensure accurate edge interpolation
  • Quality over quantity: 200-500 well-distributed RTK points typically better than 5,000 poorly distributed points

Click to View Elevation

Click anywhere on the map to instantly view elevation data at that location - a quick way to check elevations without loading a full DEM.

How It Works:

  • With Loaded DEM: Instant elevation lookup from your loaded elevation data (Step 2)
  • Without Loaded DEM: Automatically fetches elevation from government servers:
    • Canada: HRDEM (LiDAR) or MRDEM (medium resolution) depending on location
    • USA: 3DEP elevation service

Elevation Popup:

The popup shows:

  • Elevation in feet
  • Data source (in Canada: "Local DEM", "HRDEM", or "MRDEM")
Quick Elevation Checks

Use this feature for quick spot checks of elevation across your field, verifying outlet elevations, or comparing elevations between locations. In MRDEM areas, elevation data is available but should be used with caution due to lower resolution (20-30m).

Analysis Layers

Step 3: Generate advanced terrain analysis (Drain Pro only)

About Analysis Layers

After fetching elevation data, Drain Pro users can generate advanced terrain analysis layers using TauDEM algorithms running on a dedicated processing server.

Drain Pro Feature

Analysis layer generation is available only in Geo-Surface Drain Pro Drain Pro. Lite users can view analysis layers if included in project files shared by Drain Pro users.

Processing Time:

Processing time is generally under 1 minute for most projects. Very large regions may take slightly longer, but due to automatic resolution optimization for larger areas, processing times remain consistent.

Queue System

Analysis processing uses a shared queue system. During busy periods, you may see your position in the queue (e.g., "Position in queue: 2"). Jobs are processed sequentially, typically taking 30-60 seconds each once they start.

Note: You cannot work in the application while processing is in progress. Wait for the layers to complete before continuing your workflow.

Starting Analysis Layer Generation
  1. Complete Steps 1 and 2 (Define Boundary, Fetch Elevation Data)
  2. In Step 3, click "Create Drainage Layers"
  3. Progress indicator shows processing stages
  4. When complete, new layers are available via the floating Layers button on the map
Analysis Layer Generation
Generating analysis layers with TauDEM processing

Processing Stages:

  1. Major Flow Paths: Surface flow analysis based on fill & spill modelling
  2. Wetness Potential Index: Areas prone to saturation and wetness
  3. Ponding Risk: Areas where standing water is likely to accumulate
  4. Depressions: Closed depressions and low areas in the terrain
Available Analysis Layers
Major Flow Paths

Surface flow paths based on fill & spill modelling that shows how water actually moves across the terrain when depressions fill and overflow.

Use for:

  • Identifying natural drainage patterns
  • Locating flow convergence areas (where water concentrates)
  • Planning optimal main drain routes (follow natural flow)
  • Understanding how water moves across the field
Major Flow Paths Overlay
Major flow paths showing natural surface water movement and convergence areas

Toggle on/off via the floating Layers button under "Analysis Layers"

Wetness Potential Index

Identifies areas prone to saturation and wetness based on terrain characteristics.

  • Tan/Yellow: Dry, well-drained areas (low wetness potential)
  • Green: Moderate wetness potential
  • Cyan: Elevated wetness potential
  • Blue: High wetness potential - prioritize for drainage

The color gradient runs from Tan→Yellow→Green→Cyan→Blue (Dry→Wet).

Design Applications:

  • Prioritize drainage in high wetness potential areas
  • Use closer lateral spacing in problem zones
  • Wider spacing acceptable in well-drained areas
  • Combine with field observations for validation
Wetness Potential Index Overlay
Wetness Potential Index showing color gradient from tan/yellow (dry, well-drained) through green and cyan to blue (wet areas requiring drainage)
Depressions

Identifies closed depressions (low spots surrounded by higher ground) where water naturally accumulates.

  • Grayscale overlay: White areas show deeper depressions, dark gray/black shows shallow or no depression
  • Intensity: Brighter (whiter) areas indicate deeper depressions

Use for:

  • Locating potential standing water areas
  • Planning outlet locations
  • Identifying areas needing surface drainage
  • Understanding natural water accumulation patterns
Depressions Overlay
Depressions layer showing closed depressions in grayscale (white = deeper depressions, dark = shallow)
Ponding Predictor

Identifies areas at risk of ponding based on depression depth, surrounding slope, and flow patterns.

Interactive Risk Slider: Adjust the threshold to visualize areas at different levels of ponding risk. Higher slider values show only the most severe problem areas, while lower values reveal broader areas of concern.

Applications:

  • Identify areas most at risk for standing water
  • Visualize ponding risk severity across the field
  • Prioritize drainage investment in high-risk zones
  • Communicate drainage needs to clients visually
Using the Risk Slider

The slider adjusts the sensitivity threshold for highlighting ponding risk areas. Lower values show more area (including moderate risk), while higher values focus only on severe problem spots. This is a relative risk indicator, not an absolute water depth measurement.

Ponding Predictor Overlay
Ponding Predictor showing areas at risk of standing water accumulation
Why Analysis Layers Are Essential

Analysis layers should be used for ALL drainage design projects. They provide critical intelligence that significantly improves design quality and return on investment:

Key Benefits:

  • Natural Flow Paths: Understand how water actually moves across the field. Both surface drainage and tile drainage are more effective when they follow natural flow patterns rather than fighting them.
  • Optimal Outlet Placement: Identify the best locations for outlets based on natural drainage convergence and flow accumulation.
  • Target High-Risk Wet Areas: Focus drainage investment on areas with the highest wetness potential and greatest yield impact.
  • Maximize ROI: Design efficient systems that address actual problem areas rather than guessing, reducing over-drainage and under-drainage.
  • Better Main Placement: Route main drains along natural flow paths for maximum effectiveness and proper sizing.
Design Philosophy

Analysis layers take less than 1 minute to generate and can save hours of design time while dramatically improving system performance. Use them on every project - even fields you know well can reveal drainage patterns that aren't obvious from elevation alone.

Reference Layer Overlays

Import and georeference custom image and vector layers

What are Reference Layers?

Reference layers allow you to overlay custom images and vector data onto your project map. These can be scanned maps, photos, screenshots, KML files, or shapefiles that provide additional context for your drainage design.

Common Use Cases:

  • Prior Designs: Overlay existing drainage maps to reference past installations
  • Utility Locations: Import utility maps showing buried cables, pipelines, or water lines
  • Soil Maps: Layer EC maps, soil survey data, or yield maps for reference
  • Field Photos: Georeference aerial photos or drone imagery from other sources
  • Planning Documents: Import survey drawings, engineer plans, or CAD exports
  • Property Boundaries: Load parcel boundaries, easements, or legal descriptions
Important Accuracy Disclaimer

Reference layers are visual aids only. Accuracy of georeferenced or imported layers cannot be guaranteed and depends on source data quality and georeferencing precision. For critical infrastructure like utilities, always obtain professional locates and perform field verification before excavation. Reference layers assist with planning but do not replace proper surveying, testing, or locate services.

Supported Formats

Raster Image Formats (require manual georeferencing):

  • JPG/JPEG: Photos, scanned maps, screenshots
  • PNG: Graphics, screenshots, exported maps
  • BMP: Windows bitmap images
  • GeoTIFF (experimental): Georeferenced images with embedded coordinate data

Raster images require 4-point manual georeferencing to position and orient them on the map. This supports rotation, scaling, and precise positioning.

Vector Data Formats (auto-loaded, no georeferencing needed):

  • KML: Google Earth files with points, lines, or polygons
  • KMZ: Compressed KML files
  • Shapefile (ZIP): Zipped folder containing .shp, .dbf, .shx files

Vector formats are assumed to be in WGS84 (EPSG:4326) coordinate system and are automatically transformed to the map projection.

Format Selection Tip

If your data is already georeferenced (KML, KMZ, Shapefile), use those formats - they load instantly. If you only have a scanned map or photo, use the manual georeferencing workflow described below.

Accessing the Reference Layer Tool
  1. Locate the purple image icon floating button at the bottom-left of the map (between Tools and User Manual buttons)
  2. Click to open the Load Reference Layer modal
  3. Upload your file via drag-and-drop or the Browse button

The tool automatically detects file type and routes to the appropriate loader:

  • Raster images: Opens georeferencing workflow
  • Vector data: Loads immediately and zooms to features
Manual Georeferencing Workflow (Raster Images)

When you upload a JPG, PNG, or BMP image, the georeferencing interface opens with split-view panels: your image on the left, a map preview on the right.

Step-by-Step Georeferencing:

  1. Click 4 Reference Points on the Image

    Click identifiable features in the image such as:

    • Field corners or property corners
    • Road intersections
    • Building corners
    • Fence posts or utility poles
    • Any clearly visible landmark

    Important: Points do NOT need to be at the image corners. For scanned maps with white borders, click interior features on the actual map content. The system uses affine transformation to handle rotation and scaling.

  2. Click the Same Locations on the Map

    For each point you clicked on the image, click the same real-world location on the map preview. The map starts centered on your current project area.

    As you place points, numbered markers (1, 2, 3, 4) appear showing your selections.

  3. Preview the Placement

    After placing all 4 point pairs, the system:

    • Calculates the affine transformation (rotation, scale, translation, shear)
    • Pre-renders the transformed image with proper rotation
    • Displays a preview overlay on the map

    Review the placement. If the alignment isn't correct, click Reset Points and try again with different reference points.

  4. Add to Map

    Once satisfied with the preview, click Add to Map. The georeferenced image is added to your project as a semi-transparent overlay (85% opacity).

Interior Point Placement

Unlike traditional corner-only georeferencing, this tool supports clicking reference points anywhere within the image. This is ideal for paper maps with white borders or maps where north isn't at the top. The affine transformation automatically handles rotation and ensures the image aligns correctly based on your chosen reference points.

Rotation Support

The georeferencing system fully supports rotated images. If your scanned map has north pointing to the side or at an angle, simply select your reference points and the system will automatically calculate the required rotation, scaling, and positioning to align it correctly on the map.

Tips for Best Results:

  • Spread Points Out: Choose reference points spread across the entire image area, not clustered in one corner
  • Use Precise Features: Sharp corners and intersections work better than vague features
  • Zoom In: Pan and zoom the map preview to click reference locations as precisely as possible
  • Avoid Collinear Points: Don't place all 4 points in a straight line - use 3+ corners of a polygon
  • Check Scale: After georeferencing, verify distances roughly match reality using the map's scale
Loading Vector Layers (KML, KMZ, Shapefile)

Vector data loads instantly without manual georeferencing. The system:

  1. Reads the vector features from the file
  2. Transforms coordinates from WGS84 (EPSG:4326) to the map projection (EPSG:3857)
  3. Creates a new vector layer with appropriate styling
  4. Zooms the map to fit all features
  5. Adds the layer to the Map Layers control

Shapefile Requirements:

When uploading shapefiles, ensure your ZIP file contains at minimum:

  • .shp: Main geometry file (required)
  • .dbf: Attribute data file (optional but recommended)
  • .shx: Shape index file (optional)

The shapefile parser supports:

  • Polygons: Including multi-part polygons with holes
  • Polylines: Lines and multi-line features
  • Points: Single point features
Coordinate System Assumption

All vector imports assume WGS84 (EPSG:4326) geographic coordinates (longitude/latitude). Most KML files and modern shapefiles use this standard. If your shapefile is in a different projection, reproject it to WGS84 using QGIS or ArcGIS before importing.

KML/KMZ Features:

KML imports preserve:

  • Styles: Line colors, fill colors, widths
  • Names: Feature labels and descriptions
  • Multiple Features: All points, lines, and polygons in the file
Managing Reference Layers

Toggle Visibility:

  1. Click the Layers button (floating button on map)
  2. Scroll to the Reference Layers section
  3. Toggle the eye icon to show/hide individual reference layers

Delete Reference Layers:

  1. Open the Layers popover
  2. Locate the reference layer in the Reference Layers section
  3. Click the trash icon next to the layer name
  4. Confirm deletion when prompted

All reference layers appear in the Layers control with their file name displayed for easy identification.

Layer Opacity

Raster reference images are displayed at 85% opacity by default, allowing you to see both the reference layer and the base imagery beneath. Vector layers are drawn with semi-transparent fills for better visibility.

Multiple Reference Layers:

You can load multiple reference layers simultaneously. For example:

  • Utility map as a georeferenced image
  • Property boundary as a shapefile
  • Prior drainage design as a KML file

Each layer can be toggled independently for different planning views.

Project Backup & Restore

Reference layers are automatically included in project backups created via the Import/Export tab.

What's Saved:

  • Raster Images: Converted to PNG format and stored in the backup ZIP
  • Georeferencing Data: Extent, transformation, opacity settings
  • Vector Data: Exported as GeoJSON in WGS84 coordinates
  • Layer Names: Original file names preserved

Restore Behavior:

When you restore a project backup:

  1. All reference layers are automatically recreated
  2. Georeferenced images are positioned exactly as they were
  3. Vector layers are re-imported with original styling
  4. Layers appear in the Map Layers control ready to toggle
Complete Project Portability

Reference layers make your project backups fully self-contained. When sharing project files with clients or colleagues, all reference data travels with the backup - no need to separately share image files or KML files.

Common Questions & Troubleshooting
My georeferenced image doesn't align perfectly - what should I do?

Delete the layer, reload the image, and try again with different reference points:

  • Choose reference points that are more spread out
  • Use sharper features (corners, intersections) rather than vague features
  • Zoom in more on the map when clicking reference points
  • Ensure your reference points aren't all in a straight line

Remember: Accuracy depends on the quality of your source image and how precisely you click reference points. Sub-meter accuracy is challenging with manual georeferencing.

Can I georeference scanned maps where north isn't pointing up?

Yes! The georeferencing system fully supports rotation. Simply select your 4 reference points and the system automatically calculates the required rotation angle. The pre-rendered image will be rotated to align correctly with the map.

What if my shapefile won't load?

Check these common issues:

  • Missing .shp file: ZIP must contain at minimum a .shp file
  • Wrong projection: Shapefile must be in WGS84 (EPSG:4326). Use QGIS to reproject if needed
  • Corrupt file: Try opening in QGIS first to verify integrity
  • Unsupported geometry: Very complex geometries or multipart features may not parse correctly
Can I adjust the opacity of reference images after loading?

Currently, opacity is fixed at 85% for raster images. This provides a good balance between visibility of the reference layer and the base imagery beneath. Future versions may add opacity controls.

I deleted a reference layer - can I immediately reload the same file?

Yes. The tool clears all memory when you delete a reference layer and resets the file input, allowing you to immediately re-upload the same file. This is useful for re-georeferencing an image with better reference points.

Are reference layers visible in exported designs or reports?

Reference layers appear in:

  • Screenshot/Map Image Exports: Yes, if layer is visible when you capture
  • Project Backups: Yes, always included
  • KML/CSV Design Exports: No, only drainage lines are exported
  • PDF Reports: No, only drainage design and statistics

To export reference layers separately, use the Map Image export tool with the layer visible, or save the project backup and extract the reference files from the ZIP.

Best Practices
  • Source Quality Matters: High-resolution scans produce better georeferencing results than blurry photos
  • Use Vector When Possible: If you have the choice between a scanned map and a KML/shapefile of the same data, use the vector format - it's more accurate
  • Test Alignment: After georeferencing, draw a test line over a known feature and compare with satellite imagery to verify accuracy
  • Document Limitations: When sharing designs that relied on reference layers for utility placement, include disclaimers about accuracy and need for professional locates
  • Layer Organization: Use descriptive file names before upload (e.g., "2015_tile_map.jpg" instead of "IMG_1234.jpg")
  • Backup Regularly: Reference layers are included in project backups, so save backups after adding reference data
  • Legal/Survey Data: For official boundary data, use certified survey files in shapefile format rather than georeferencing scanned documents

Video Tutorials

Step-by-step video guides to master Geo-Surface Drain Pro

Learn how to use Geo-Surface Drain Pro through our comprehensive video tutorial library. Click any video below to watch.

Geo-Surface Introduction

Get familiar with the Geo-Surface interface, navigation controls, and core features. Learn how to navigate the map, access tools, and understand the tab-based workflow.

Getting Started: Setup Tab Workflow

Master the essential first steps: define your field boundary, fetch high-resolution LiDAR elevation data, and generate analysis layers including flow direction and ponding overlays.

Drainage Parameters Settings

Configure your drainage design defaults: set min/max depth limits, define minimum grades for surface and tile drainage, choose default pipe sizes and forms, and specify ditch bottom widths for earthwork calculations.

Drawing Proposed Drainage Routes

Draw tile and surface drainage routes directly on the map. See how Geo-Surface automatically fetches elevation profiles, connects tributaries to main runs, and builds a complete drainage hierarchy.

Design Validation Tools

Understand Geo-Surface's automatic validation system. Learn how each drain is checked for depth violations (staying within min/max limits) and connection violations (ensuring laterals connect above the main's install depth).

Understanding Best Fit and Manual Proposed Grades

Explore Geo-Surface's automatic best-fit grade calculation that simulates machine control systems in the field. Learn how to manually create simpler grade lines for scenarios like excavator-dug tile mains.

Creating Parallel Tile Laterals

Create multiple offset tile laterals at regular spacing to quickly design large-scale pattern tile layouts. Use the Break Line tool to dynamically adjust lateral lengths and target specific areas requiring drainage.

Line Editing Tools

Master the line editing toolkit: clip ends of single or multiple routes, extend lines to reach connections, and delete selected or all drainage features from your project.

Tile Sizing

Set pipe sizes and forms for tile drainage systems. Learn how to use the auto-sizing feature to automatically calculate optimal diameters for tile mains and sub-mains based on flow requirements.

Creating a Full Field Targeted Drainage Design

Complete walkthrough of designing a targeted drainage system from start to finish. Watch a real-world example tying together all the tools and workflows covered in previous tutorials.

Backing Up and Restoring Projects

Develop the habit of regularly backing up your projects and learn how to restore them to continue working. Pro users can share project backups with others to view in the free Geo-Surface Viewer.

Loading a Reference Image

Import any screenshot or scanned map, quickly geotag it, and add it as a map layer. Perfect for referencing paper maps showing utility locations, EC maps, soil maps, or other data while designing.

Export Options

Create professional drainage reports, map image exports, and high-resolution overlay exports. Learn how to load these exports into popular machine control systems to guide installation of your drainage plan.

Typical Workflow

Complete walkthrough for Drain Pro users: from field setup to final export

Overview

This guide walks you through a complete drainage design project from start to finish, following the workflow that most Drain Pro users will use. While individual sections of the manual provide detailed information on specific features, this workflow shows how everything connects together in a real project.

Learning Approach

Start with small, simple projects to build confidence and understanding. As you gain experience, gradually tackle larger and more complex fields. The more you use the system, the better you'll understand its capabilities and limitations.

Step 1: Locate and Define Your Area of Interest

Option A: Import Field Boundary (Recommended)

If you have a shapefile of your field boundary, this is the best approach:

  • Drag and drop the shapefile (.shp, .shx, .dbf, .prj files) onto the map
  • The map will automatically zoom to your field location
  • The boundary is precisely defined with no manual drawing required

Option B: Manual Boundary Drawing

If you don't have a shapefile:

  1. Search for your field location using the search tool
  2. Navigate to the field using the map controls
  3. Draw a boundary around your area of interest
Beyond Field Boundaries

When drawing manually, you can include additional areas that may not be in the official field boundary, such as the route to an adequate outlet (named waterbody, large drainage channel, etc.). This helps you plan the entire drainage system including outlet options.

LiDAR Fetch Area

When you fetch LiDAR data, the system automatically fetches for a slightly larger area than your boundary. LiDAR is also fetched for areas inside interior field boundaries (holes), allowing you to incorporate those areas into your designs if needed.

Step 2: Fetch LiDAR Elevation Data
  1. Click the "Fetch LiDAR" button in the Setup Workflow panel
  2. Wait a few seconds for the data to download and process
  3. The colorized HD elevation layer will appear on your map
Server Busy Periods

Occasionally, Canadian and US LiDAR servers experience high traffic. If your fetch doesn't complete on the first try, wait a minute or two and try again. These delays are typically brief, lasting only a few minutes while large requests are processed.

Save Your LiDAR Data

After successfully fetching LiDAR, create a project backup. Your elevation data is saved in the backup file, so in future sessions you can simply restore the backup rather than re-downloading from the servers.

Alternative: Custom GeoTIFF

If you have your own elevation data (surveyed DEM, alternative LiDAR source, etc.), you can import a custom GeoTIFF file instead of fetching from public servers. See the Get Elevation Data section for details.

Step 3: Generate Analysis Layers

Once you have elevation data loaded, generate the terrain analysis layers:

  1. Click "Create Drainage Layers" in the Setup Workflow panel
  2. Wait for TauDEM processing to complete (typically under 1 minute)
  3. The following layers will be generated:
    • Major Flow Paths: Shows natural surface water movement
    • Wetness Potential: Areas prone to saturation
    • Ponding Risk: Where standing water accumulates
    • Depressions: Closed low areas in the terrain
Another Backup Opportunity

Analysis layers are also saved to project backups. Now is an excellent time to create a backup file with your boundary, elevation data, and analysis layers all preserved for future use.

Step 4: Analyze Field Characteristics

Before drawing any drainage lines, take time to understand your field's natural drainage characteristics:

Examine the Flow Patterns

Toggle on the Major Flow Paths layer and study how water naturally moves across the field. These flow lines reveal:

  • Natural drainage routes following the terrain's relief
  • Convergence areas where flow concentrates
  • Potential outlet locations
  • Areas where water naturally accumulates
Work With Nature, Not Against It

Drains that follow natural flow routes are easier to install and more effective. Trying to route drainage against natural flow typically results in: deep excavations, expensive earthwork, difficult installations, and less effective drainage performance.

Identify Priority Areas

Use the analysis overlays to target problem areas:

  • Ponding overlay: Shows where standing water accumulates
  • Wetness Potential: Identifies areas prone to saturation
  • Depressions: Reveals low spots and potholes
Maximize ROI

Targeting high-risk areas identified by the analysis layers provides the biggest return on investment. Even pattern tile systems can be designed to prioritize problem areas while avoiding zones shown to have very low drainage risk, representing significant cost savings without compromising performance.

Additional Analysis Tools

Use these tools to deepen your understanding:

  • Contour lines: Visualize elevation changes and slope
  • 3D View: See terrain relief in three dimensions
  • Colorized elevation: Quickly identify high and low areas
  • Measure tool: Check distances and areas
Step 5: Design Your First Main Drain

Planning the Route

  1. Identify the outlet point: Ideally, follow a major flow line to its natural outlet, or at minimum use flow lines to guide placement
  2. Start at the outlet: Begin drawing from downstream moving upstream
  3. Follow logical terrain: Use the Draw Manual Survey tool and zoom in to follow natural contours
    • Don't draw straight through ridges or hills when there's a route around them
    • Follow valleys and low areas where possible
    • Stay close to natural flow paths

Test Multiple Options

Don't settle on the first route you draw. Experiment with different paths and examine the elevation profiles to find the best option that:

  • Validates without errors: No depth violations (red X marks)
  • Stays within viable depth range: Not too deep for equipment, not too shallow to be effective
  • Has a valid outlet: Starting depth is at or above the deepest possible outlet elevation
  • Maintains appropriate grade: See grade targets below

Grade Targets

Recommended Grades
  • Surface drains: Minimum 0.04-0.05% to keep water moving, but try to keep under 1% on unstable soils to minimize erosion risk
  • Tile drains: Minimum 0.1%, preferably 0.2% or more (though 0.1% often necessary on flat fields)
  • Maximum grade: Try to keep runs under 1-2% to avoid excessive velocity and potential issues
Iterate and Refine

Finding viable routes often requires trial and error. Use the profile view to evaluate each attempt, adjust your route, and try again. There's rarely a perfect solution—the goal is finding the most practical compromise between depth, grade, and placement.

Step 6: Connect Tributaries or Laterals

Once your main drain is placed, you can connect additional drainage lines depending on your system type:

Surface Drainage or Targeted Tile Systems

For systems targeting specific problem areas:

  • Follow flow paths: Use the Major Flow Paths layer as your primary guide—it shows the natural path water takes from wet areas to potential outlets
  • Target high-risk zones: Connect areas identified by ponding and depression layers to your main drain
  • Expect challenges: While flow paths show the path of least resistance, you may still encounter ridges or elevation obstacles to navigate
  • Size considerations:
    • 50-100 feet wide wet areas: One or two perforated pipes may suffice
    • Wider than 100 feet: Consider pattern tile instead
    • Sloughs and potholes: May require surface intakes for faster water infiltration (soil infiltration alone may be too slow)

Pattern Tile Systems

For systematic lateral tile drainage:

  1. Draw the first lateral: Connect it to your main drain, ensuring it validates (green status)
  2. Use Offset Lines tool: Create exact copies at regular spacing (e.g., 50-foot centers)
    • For best results, keep laterals straight
    • Orient laterals at an angle that maintains valid depth and grade
  3. Set a breakline: Draw a line representing where laterals should end
    • Use satellite imagery to avoid obstacles
    • Reference elevation layers to stop before hills
    • Use wetness/ponding data to optimize coverage
Efficient Pattern Design

Pattern tile doesn't have to cover every inch uniformly. Use wetness and ponding potential to target high-risk areas more intensively while reducing or eliminating coverage in very low-risk zones. This can dramatically reduce costs without impacting drainage effectiveness.

Step 7: Validate Your Design

As you draw drainage lines, the system automatically performs validation checks:

Depth Validation

The system runs a best-fit simulation on each line and checks for depth violations:

  • Red X markers: Indicate depth violations (typically pipe too deep at that location)
  • Solutions:
    • Trim the run to avoid the problem area
    • Adjust minimum/maximum depth thresholds to match your equipment capabilities
    • Try an alternative route
    • Accept that significant earthwork may be required
No Guarantee of Viability

Some runs simply may not be viable within your equipment's depth range without substantial earthwork. The validation system helps you identify these situations before you're in the field.

Connection Validation

The system verifies that tributaries and laterals can physically connect to mains:

  • Connection requirement: Lateral must be at or above the main's elevation at the connection point
  • Invalid connections: Marked on map with warning indicators
  • Cannot connect below the main: Physics prevents uphill flow

Profile Status Color Coding

Check the profiles dropdown to see the status of all lines:

  • Green: Line validates with no issues
  • Yellow/Orange: Warnings that should be reviewed
  • Red: Critical issues that must be addressed
Resolution Tools

Use the trim, extend, delete, and redraw tools to experiment with alternatives. Often finding a viable design requires multiple iterations and creative problem-solving guided by the flow lines, contours, and 3D elevation view.

Step 8: Complete the System

Repeat the design process for any additional mains, sub-mains, or tributary connections:

  • Each main should have its own outlet or connect to a larger main
  • Sub-mains can connect to main drains (following connection validation rules)
  • Continue adding tributaries and laterals until all target areas are addressed
  • Verify each line achieves green validation status (or document why exceptions are acceptable)
Save Your Progress

As you work through the design, create backups frequently. This allows you to test different approaches and roll back to earlier versions if needed. It's also protection against accidental changes or browser issues.

Step 9: Automatic Main Sizing (Tile Systems Only)

For tile drainage systems, you can automatically size main and sub-main pipes:

How It Works

  1. The system analyzes connected laterals and sub-mains
  2. Calculates total drainage area being served
  3. Considers your specified drainage coefficient
  4. Assumes pipes running full capacity
  5. Recommends minimum main pipe size needed

Lateral Sizing

Laterals are assigned the default size (typically 4 inches, but configurable). You can manually adjust any individual line's size as needed.

Special Considerations for Targeted Tile

Targeted Systems Need Higher Coefficients

When targeting sloughs, depressions, and potholes:

  • Use a higher drainage coefficient than pattern systems—these areas often receive water from larger surrounding acres
  • Consider increasing the lateral spacing value in the calculation to assume a wider contributing area
  • Exact sizing is difficult for these systems; often the maximum size your equipment can install is what you'll use anyway

Manual Sizing

You can always manually assign pipe sizes to individual mains and sub-mains if you prefer not to use the automatic sizing tool.

Step 10: Final Design Review

Before exporting, give your complete design a thorough review:

Design Checklist

  • All lines validate: Check that all profiles show green status (or you understand and accept any warnings/errors)
  • Connections verified: Ensure all laterals and tributaries have valid connections to mains
  • Grades appropriate: Confirm minimum grades are met and maximum grades aren't excessive
  • Depths viable: Verify depths are within your equipment's installation capabilities
  • Coverage complete: All target areas identified by analysis layers are addressed
  • Pipe sizing assigned: For tile systems, verify all mains have appropriate sizes
Remember: Everything is Virtual

Geo-Surface stores all data in your browser's temporary memory during a session. Nothing is saved to your device or our servers until you create a backup. Get in the habit of creating backups frequently—it's fast, easy, and protects all your work.

Create a Final Backup

Once your design is complete and reviewed:

  • Create a backup with a descriptive filename
  • The backup includes: boundary, elevation data, analysis layers, drainage lines, parameters, and pipe sizing
  • You can create multiple backup versions as you test different options
  • Keep or delete older backups as needed
  • This backup can be restored anytime to continue working or make modifications
Step 11: Generate Exports

With your design finalized, create the exports you need for implementation and documentation:

Drainage Report (Highly Recommended)

The PDF drainage report provides comprehensive documentation:

  • Complete design specifications and parameters
  • Material quantities and cost estimates
  • Flow calculations and drainage coefficients
  • Maps and elevation profiles
  • Professional documentation for clients or stakeholders

Project Backup for Sharing

Share your design with clients or team members:

  • Provide the .zip backup file to any stakeholder
  • They can use the free Viewer version to restore and view the design
  • Viewers can see all information, parameters, and profiles
  • Viewers cannot make edits (Drain Pro license required for editing)
  • Useful for contractors, clients, and project reviewers

Machine Control System Exports

For field implementation with GPS guidance systems:

Ditch Assist (Georeferenced Image Overlay)
  • Georeferenced image: Export map view as georeferenced JPG with world file
  • Load the image overlay into Ditch Assist as a reference layer
  • Note: KMZ overlay cannot be loaded into Ditch Assist - use the georeferenced image instead
KMZ Overlay (Other Machine Control Systems)
  • KMZ export: Export map view as compressed Google Earth overlay
  • Compatible with some popular machine control systems
  • Consult your system's user manual or dealer to verify KMZ compatibility
John Deere / Trimble (Shapefile)
  • Export drainage lines as shapefile
  • May require ecosystem-specific software to convert to guidance lines
  • Creating proprietary machine control formats is beyond the scope of Geo-Surface
CRITICAL: Field Survey Best Practices

This tool is designed for planning purposes. While it may be technically possible to install directly from exported lines without field surveying, this is highly not recommended.

Best Practice Workflow:

  1. Use your Geo-Surface design to arrive at the field 95% confident your plan will work
  2. Load the design into your machine control display as a reference
  3. Drive and survey each proposed run with RTK GPS using your equipment's best-fit capability
  4. This field survey is more accurate than LiDAR and lets you follow the most logical routes
  5. Use your Geo-Surface design to guide starting depths (critical for main drains with lateral connections)
  6. Use the design as a reference for AB lines and auto-steer when installing pattern laterals

Your mouse-drawn routes may not perfectly follow the optimal path visible from your tractor. Field surveying with RTK ensures accuracy and accounts for real-world conditions.

Final Tips for Success

Practice and Build Confidence

  • Start small: Begin with simple, smaller fields to learn the system
  • Experiment: Try different approaches and use backups to roll back when needed
  • Learn limitations: Understanding what doesn't work is as important as knowing what does
  • Gradually expand: Take on larger and more complex projects as your confidence grows

Workflow Efficiency

  • Backup frequently: Protect your work and create rollback points
  • Use analysis layers on every project: Even familiar fields can reveal surprising drainage patterns
  • Follow flow paths: They're your most valuable guide for main drain routing
  • Validate as you go: Don't wait until the end to check for depth and connection issues

Design Philosophy

  • Work with terrain, not against it: Natural flow patterns are your friend
  • Target problem areas: Focus drainage investment where it provides the most benefit
  • Iterate and refine: Rarely is the first attempt perfect—keep experimenting
  • Accept constraints: Some fields present challenges that require creative solutions or earthwork
You've Got This!

Drainage design is part science, part art, and requires experience to master. Be patient with yourself as you learn. The more projects you complete, the more intuitive the process becomes. Good luck!

GPS Survey

Field verification using device GPS + LiDAR elevation data (Drain Pro only)

GPS Survey - Field Verification Tool

GPS Survey is a field verification tool that lets you walk or drive proposed drainage routes with a tablet or phone to verify whether your planned runs are valid. The system captures XY position from your device's GPS, then pulls high-accuracy LiDAR elevation data to create an accurate elevation profile of the route you traveled.

Best Use Case: GPS Survey excels at field verification. After planning drainage routes in the office using the Draw tool with satellite imagery and analysis layers, take a tablet to the field and walk your proposed routes to verify they work in reality. The GPS tracks your actual path while LiDAR provides accurate elevation.
Drain Pro Feature

GPS Survey and all drawing tools are exclusive to Geo-Surface Drain Pro Drain Pro. Lite users can view existing designs but cannot create or modify drainage lines.

How GPS Survey Works:

GPS Survey combines horizontal GPS positioning with vertical LiDAR accuracy:

  • XY Position: Captured from your device GPS (phone/tablet location)
  • Z Elevation: Fetched from high-accuracy LiDAR DEMs (NOT from GPS altitude)
  • Result: Accurate elevation profile along the path you walked
Why Not GPS Elevation? GPS altitude is notoriously inaccurate (±30-100 feet). By using device GPS ONLY for horizontal position (lat/lon), then fetching precise elevation from LiDAR, you get reliable drainage profiles suitable for design work.

GPS Survey Workflow:

  1. Enable GPS Location: Click the GPS Location button (floating crosshairs icon on map)
    • Allow browser location access when prompted
    • Red bullseye marker appears showing your current position
    • Map auto-centers on your location at first GPS fix
  2. Navigate to Design Tab: Open the Design tab in the interface
  3. Select Drainage Type: Click "GPS Survey" button (next to Draw button)
    • Drainage type selector popup appears (same as Draw tool)
    • Select the type: Surface Main, Tile Main, Tile Lateral, etc.
    • System validates connection requirements (secondaries must connect within 30 feet)
  4. GPS Survey Starts: After selecting drainage type:
    • Alert confirms: "Virtual Survey started. Your path is now being recorded."
    • Magenta line begins drawing in real-time as you move
    • For main drains, reminder appears: "Start at OUTLET (downstream)"
  5. Walk/Drive the Route: Physically travel the proposed drain route
    • GPS points collected continuously (≈every 1-5 seconds depending on device)
    • Magenta line tracks your path on the map
    • Maintain steady walking/driving speed (2-4 mph walking recommended)
  6. Stop Survey: Click "GPS Survey" button again when route complete
    • Alert confirms: "Virtual Survey stopped. Your traveled line has been finalized."
    • System fetches LiDAR elevations for all points along your path
    • Drainage line created with hierarchical name (T1, T1-L1, etc.)
    • Elevation profile appears in the chart below

Device Requirements:

  • GPS-Enabled Device: Works best on tablets and phones with built-in GPS
  • Desktop/Laptop: May work if device has GPS (rare), or via WiFi triangulation (less accurate)
  • Browser Permissions: Must allow location access when prompted
  • Internet Connection: Required to fetch LiDAR elevations from server

GPS Position Accuracy:

Understand the limitations of GPS horizontal accuracy:

  • Typical GPS: ±10-30 feet under good conditions (open sky, good satellite geometry)
  • Obstructions: Trees, buildings, and terrain can reduce accuracy to ±50-100 feet by blocking satellite signals
  • Open Fields: Best accuracy - use GPS Survey in open agricultural fields when possible
  • LiDAR Grid: 3.28-foot (1-meter) resolution means elevation is interpolated from nearest grid points
Survey Tips:
  • Walk steadily - don't pause or zigzag
  • Use GPS Survey for VERIFICATION, not initial design planning
  • Compare GPS-surveyed profile with office-planned profile to validate assumptions
  • If GPS line seems jagged, you can redraw it manually using the surveyed line as a guide
  • Avoid heavy tree canopy or areas with tall buildings - use open fields for best results

GPS Survey vs. Draw Tool:

GPS Survey Draw Tool
Field verification with actual GPS path Office planning using satellite imagery
Walk/drive the route physically Click points on map remotely
Best for existing infrastructure documentation Best for new design planning
Requires field visit with GPS device No field visit needed
±10-30 ft horizontal accuracy (GPS limit) Precise placement limited only by map zoom
Both use LiDAR for elevation (±0.3 ft vertical) Both use LiDAR for elevation (±0.3 ft vertical)
Recommended Workflow: Plan your drainage system in the office using the Draw tool with analysis layers (Ponding Predictor, Flow Lines, Wetness Index). Then take a tablet to the field and use GPS Survey to walk your planned routes and verify they're practical. Adjust your office-planned design based on field observations.

After GPS Survey:

Once GPS Survey creates a drainage line, it becomes a standard drainage line with full design capabilities:

  • Set design parameters (depths, grades)
  • Run Best Fit to optimize grade
  • Calculate flow and size tile
  • Export to KML, CSV, or PDF report
  • Modify using Trim, Extend, or other line tools

Design Parameters

Automatic defaults and manual control for drainage design

How Design Parameters Work

Design parameters control the grade, depth, and specifications for each drainage line. The system uses a two-tier system: global defaults that automatically apply to new lines, and per-line parameters that you can manually adjust.

Automatic Application: When you finish drawing a new drainage line, the system automatically applies appropriate default parameters based on the drainage type you selected (Surface Main, Tile Lateral, etc.). You never start with blank parameters.

The Four Core Parameters:

These parameters appear in the Design Parameters card for the currently selected line:

Parameter What It Controls
Min Grade (%) Minimum slope the drain line must maintain (prevents sediment buildup)
Target Depth (in)
or "Offset Depth" for surface
Ideal installation depth for tile, or surface elevation offset for ditches
Min Depth (in) Shallowest acceptable depth (ensures adequate cover, frost protection)
Max Depth (in) Deepest acceptable depth (equipment/cost limits)
Label Changes: The second parameter label switches between "Target Depth (in)" for tile drainage and "Offset Depth (in)" for surface drainage. Same input field, different meaning based on drainage type.

How Parameters Are Used:

  • Auto Best Fit: Uses all four parameters to calculate optimal grade and drain line elevation
  • Profile Chart Validation: Shows red zones where depth violates min/max constraints or grade falls below minimum
  • Flow & Tile Sizing: Requires minimum grade for velocity calculations
  • Export & Reports: Parameters included in KML exports and PDF reports

Drainage Defaults System

Click the Drainage Defaults button in the Design Parameters card to open the defaults configuration popup. This popup lets you configure system-wide default values that automatically apply to all new drainage lines based on their type.

Drainage Defaults popup showing configuration for surface and tile drainage parameters

Drainage Defaults popup for configuring system-wide default parameters for all new drainage lines

Two Separate Default Systems:

Surface Drainage Defaults:
Parameter System Default Applied To
Min Depth 0 inches Surface Main, Surface Tributary
Max Depth 12 inches Surface Main, Surface Tributary
Min Grade 0.05% Surface Main, Surface Tributary
Implement Width 8 feet Surface Main, Surface Tributary
Side Slope (H:1) Vertical (0) Surface Main, Surface Tributary
Side Slope for Volume Calculations

The Side Slope setting affects earthwork volume calculations. Options: Vertical (no slope), 1:1 (45°), 2:1, or 3:1. Sloped sides create trapezoidal cross-sections, resulting in larger volume estimates than vertical sides.

Tile Drainage Defaults:
Parameter System Default Applied To
Min Depth - Laterals 24 inches (2') Tile Lateral, Tile Sub-Main
Min Depth - Mains 36 inches (3') Tile Main
Max Depth 60 inches (5') All tile types
Min Grade 0.1% All tile types
Target Depth - Laterals 30 inches (2.5') Tile Lateral, Tile Sub-Main
Target Depth - Mains 42 inches (3.5') Tile Main
Why Separate Min Depths? Tile mains should be deeper than laterals so that laterals can connect to the upper portion of the main pipe. This provides improved drainage performance by allowing the laterals to drain more effectively into the top of the main rather than the side or bottom.
Tile Overburden Settings:

When tile depth exceeds the maximum plow depth, overburden must be excavated before the tile plow can operate. These settings control overburden volume calculations:

Parameter System Default Description
Overburden Width 4 feet Bottom width of excavation trench
Overburden Side Slope (H:1) Vertical (0) Excavation side slope (Vertical, 1:1, 2:1, 3:1)
Overburden = Depth Violation Pre-Work: Overburden is only calculated where tile depth exceeds Max Depth. The excavation removes material down to Max Depth so the tile plow can install at the designed depth within its normal operating range.

Tile Specifications Defaults:

The Drainage Defaults popup also includes default tile specifications (used for material lists and reports):

  • Lateral Size: Default 4" (options: 3", 4", 6", 8", 10")
  • Lateral Perforation: Default "Regular Perforated" (options: Regular, Narrow Slot, Sock Filter)
  • Main Size: Default "Unassigned" (options: Unassigned, 4"-48")
  • Main Wall Type: Default "Unassigned" (options: Unassigned, Single-Wall, Dual-Wall)

Changing Defaults:

  1. Click Drainage Defaults button
  2. Modify any values in the popup (separate sections for Surface and Tile)
  3. Click "Save Changes" - your custom defaults are saved to browser localStorage
  4. All FUTURE new lines will use your custom defaults automatically
  5. Optional: Click "Apply to All Existing Lines" to retroactively apply new defaults to already-drawn lines
Apply to Existing Lines: This overwrites ALL parameters on ALL existing lines. Use cautiously! You'll get a confirmation prompt showing how many lines will be affected.

Resetting to System Defaults:

Click "Reset to System Defaults" in the Drainage Defaults popup to restore the original factory values shown in the tables above. This clears your custom defaults from localStorage.

Per-Line Parameter Overrides

While new lines automatically receive default parameters, you can override them on a per-line basis for specific drainage lines that need different settings.

Editing Individual Line Parameters:

  1. Select Line: Choose the drainage line from the Profile dropdown (Design tab)
  2. Edit Values: Manually change any of the four parameter values in the input fields
  3. Apply: Click "Apply & Refresh Design" button
    • Saves new parameter values to that line's data
    • Recalculates Best Fit grade if Best Fit was previously run
    • Updates depth constraint bands on profile chart
When to Override: Use custom per-line parameters for special cases like:
  • Mains that outlet to surface water (may need shallower max depth)
  • Lines crossing roads (need deeper min depth for traffic protection)
  • Steep terrain sections (can use higher min grade)
  • Very flat areas (may require relaxed 0.05% min grade)

Parameters Persist Per-Line:

Once you apply custom parameters to a line:

  • Values are stored in that line's data (lineData object)
  • Switching to another line shows THAT line's parameters (not yours)
  • Switching back shows your custom values again
  • Parameters are saved in project backup files
  • Parameters are included in KML exports and PDF reports
No "Default Button": There is no button to revert a line back to default parameters. If you want to reset a line, you must manually type in the default values (or delete the line and redraw it).

Design Parameters FAQ

Do I have to configure defaults before drawing lines?

No. The system ships with reasonable defaults for both surface and tile drainage. Most users never change them. You can start drawing immediately and adjust defaults later if needed.

What happens if I change defaults after drawing lines?

Already-drawn lines keep their existing parameters. New defaults only apply to FUTURE new lines. Use "Apply to All Existing Lines" if you want to retroactively update everything.

Why are tile mains and laterals different?

Tile mains should be installed deeper than laterals so that laterals can connect to the upper portion of the main pipe. This connection point at the top of the main provides better drainage performance and allows laterals to drain more effectively.

Can I see which lines have custom parameters vs. defaults?

No. There's no visual indicator showing whether a line uses default or custom parameters. You have to select the line and look at the parameter values.

Are defaults shared across projects?

Yes. Defaults are stored in browser localStorage, not in project files. If you configure defaults in one project, they'll be used for all projects in that browser. Line-specific parameter overrides ARE saved with each project.

What if I don't click "Apply & Refresh Design" after editing parameters?

Parameter changes are NOT saved until you click the Apply button. If you edit values then switch to a different line without clicking Apply, your edits are lost.

Grade Analysis & Best Fit

Automatic grade optimization with terrain-aware depth calculations

What is Auto Best Fit?

Auto Best Fit automatically calculates the optimal drainage grade by analyzing terrain elevation and attempting to satisfy all your depth and grade constraints simultaneously. The algorithm is intelligent enough to handle both surface and tile drainage systems with different calculation strategies.

How it Works: For tile drainage, Best Fit starts at the inlet (uphill end) at your Target Depth and calculates forward, maintaining minimum grade while trying to stay within Min/Max Depth constraints. If violations occur, it automatically tries adjusting the inlet depth within allowable range to find a violation-free solution.

Surface vs. Tile Drainage Algorithms:

Surface Drainage (Open Ditch):

  • Direction: Calculates forward from inlet (high point) to outlet (low point)
  • Starting Depth: Uses Offset Depth parameter (typically 0" for surface drains)
  • Strategy: Maintains minimum grade, follows terrain when natural slope exceeds minimum
  • Typical Use: Open ditches, grassed waterways, surface channels

Tile Drainage (Subsurface):

  • Direction: Calculates forward from inlet (high point) to outlet (low point)
  • Starting Depth: Uses Offset Depth parameter as Target Depth (e.g., 30" for laterals, 42" for mains)
  • Strategy: Starts at inlet at Target Depth, maintains minimum grade, tries to avoid depth violations
  • Optimization: If violations occur, automatically tests adjusted inlet depths to find violation-free solution
  • Output: Calculates Required Starting Depth at outlet for construction planning
Unsolvable Terrain: On very steep or irregular terrain, Best Fit may not find a violation-free solution. The system will show you the best attempt with violation markers (red X symbols) indicating problematic areas. Consider splitting the line, adjusting parameters, or accepting some violations for construction adjustment.

How Auto Best Fit Works

Auto Best Fit automatically calculates the optimal grade for your drainage line by analyzing terrain elevation and attempting to satisfy all your depth and grade constraints. Best Fit runs automatically when you finish drawing a new line, and you can also manually trigger it using the "Auto Best Fit" button.

Automatic Calculation on New Profiles:

When you finish drawing a new drainage line (double-click to complete), Auto Best Fit runs automatically:

  1. System applies default parameters based on drainage type (Surface/Tile, Main/Lateral/etc.)
  2. Auto Best Fit immediately calculates optimal grade using those parameters
  3. Profile chart displays with the calculated grade line already drawn
  4. You see the result immediately - no manual steps required

Manually Running Best Fit:

You can also manually run (or re-run) Best Fit on an existing line by clicking the "Auto Best Fit" button in the Grade Analysis toolbar:

  1. Select a drainage line from the Profile dropdown
  2. Click the "Auto Best Fit" button
  3. System immediately runs the calculation using outlet (start) and inlet (end) points
  4. Any existing grade line is cleared and replaced with the new Best Fit result
  5. Profile chart updates with the new grade line and statistics

This is useful when you've drawn a manual grade but want to see what the automatic optimization would produce, or when you want to recalculate after making parameter changes.

Drain Pro Feature: Auto Best Fit is only available in Geo-Surface Drain Pro Drain Pro. Lite users cannot run grade calculations.

What Auto Best Fit Displays:

After calculation completes, the profile chart shows:

  • Red grade line: The calculated drain invert elevation along the profile
  • Green/Magenta bands: Min Depth (green) and Max Depth (magenta) constraint zones
  • Red X markers: Depth violation points where calculated depth exceeds min/max constraints
  • Profile statistics: Grade percentage, depths (min/avg/max), total fall, line length
  • Required Starting Depth: (Tile drainage only) The depth at the outlet needed to maintain design throughout
Profile chart showing Best Fit grade line with depth constraint zones and statistics

Profile chart displaying Best Fit grade line (red), terrain elevation (blue), depth constraint zones (green/magenta), and design statistics

Inlet/Outlet Detection: For main lines, the system automatically detects inlet vs. outlet based on elevation (higher elevation = inlet). For secondary drains (laterals, tributaries, sub-mains), the outlet is ALWAYS the connection point (first point drawn) and the inlet is ALWAYS the far end, regardless of elevation.

Re-running Best Fit After Parameter Changes:

If the initial result has depth violations or connection violations, adjust your parameters and re-run:

  1. Edit Parameters: Adjust Min Grade, Target Depth, Min Depth, or Max Depth values in the Design Parameters card
  2. Click "Apply & Refresh Design": This button saves the new parameters AND automatically re-runs Auto Best Fit
  3. Review Updated Result: Check if violations are resolved on the refreshed profile chart
  4. Repeat if Needed: Continue adjusting parameters and clicking Apply until design is acceptable
How to Fix Depth Violations:

Target Depth is just a preference - the algorithm automatically searches for workable solutions within your Min/Max Depth range. If violations occur, the constraints are too narrow for the terrain.

  • Too Shallow (above green line): DECREASE Min Depth to allow shallower installation, or DECREASE Min Grade % to allow flatter grades
  • Too Deep (below magenta line): INCREASE Max Depth to allow deeper installation, or DECREASE Min Grade % to prevent line from diving too deep
  • Connection Violations (laterals): Adjust Target Depth to change the outlet elevation where the lateral connects to the main

Apply & Refresh Design Button

The "Apply & Refresh Design" button (blue primary button with sync icon) is the most important control for updating your design after making parameter changes.

What It Does:

Clicking "Apply & Refresh Design" performs the following operations in sequence:

  1. Saves Parameters: Stores all four parameter values (Min Grade, Offset Depth, Min Depth, Max Depth) to the selected line's data
  2. Recalculates Best Fit: If you previously ran Best Fit on this line, it automatically re-runs the Best Fit algorithm with your new parameters, recalculating the entire grade line and Required Starting Depth
  3. Updates Depth Constraints: Redraws the Min Depth (green) and Max Depth (magenta) constraint lines on the profile chart
  4. Recalculates Violations: Checks the new grade line against new Min/Max Depth values and updates red X violation markers
  5. Updates Connection Validation: Recalculates connection status for all lines (checks if lateral outlets are above/below main elevations)
  6. Updates Status Colors: Refreshes dropdown colors and map icons based on new validation results

When to Use It:

You MUST click "Apply & Refresh Design" after:

  • Changing Min Grade % value
  • Changing Offset Depth (Target Depth) value
  • Changing Min Depth constraint
  • Changing Max Depth constraint
  • Adjusting any parameter for a line that already has a Best Fit grade
Important: Parameter changes are NOT saved or applied until you click "Apply & Refresh Design". If you edit values then switch to a different line without clicking Apply, your edits are discarded.

Example Workflow:

Suppose you ran Best Fit on a tile lateral and got depth violations (red X markers). To fix:

  1. Increase Max Depth from 48" to 60" in the Design Parameters
  2. Click "Apply & Refresh Design"
  3. System automatically re-runs Best Fit with new 60" max depth
  4. Violations disappear if the line now stays within 60" max
  5. Status color updates to green ✓ (all checks pass)

Manual Grade Entry

Instead of using Auto Best Fit, you can manually create a custom grade line by clicking points on the profile chart. This gives you complete control for complex terrain, matching existing infrastructure, or specific design requirements.

How to Draw Manual Grades:

  1. Select a drainage line from the Profile dropdown
  2. Click the "Manual Grade" button in the Grade Analysis toolbar
  3. Button changes to "Finish Drawing" (orange) to indicate drawing mode is active
  4. Click on the profile chart to place grade line vertices:
    • Line automatically extends from your vertices to the outlet with minimum grade enforced
    • Click near the far end to snap to the inlet
    • Place as many vertices as needed for your design
  5. Click "Finish Drawing" when complete
  6. System automatically runs validation checks:
    • Connection validation (if lateral/secondary drain)
    • Depth violation detection (red X markers if outside Min/Max Depth)
Manual Grade Validation: Manual grade lines are checked for depth violations just like Auto Best Fit lines. The system will display red X markers at points where your manual grade exceeds Min/Max Depth constraints. Adjust your grade line or parameters if violations occur.
Chart Clicks Require Active Mode: You can only draw grade lines by clicking the chart when Manual Grade mode is active (button shows "Finish Drawing"). This prevents accidental grade modifications when reviewing profiles.

Manual grade lines follow exactly what you specify - they do NOT automatically optimize. Use this when you need precise control, want to match existing infrastructure elevations, or need multi-segment grades for complex terrain.

Profile Chart Elements

The elevation profile chart displays multiple data series with specific colors and display order:

Chart Layers (Bottom to Top):

  • Blue line (Elevation Profile): Natural terrain elevation sampled along the drainage path
  • Green line (Min Depth Line): Shows the shallowest allowable drain elevation (terrain minus Min Depth)
  • Magenta line (Max Depth Line): Shows the deepest allowable drain elevation (terrain minus Max Depth)
  • Red line (Grade Line or Best Fit Line): Your designed drainage line elevation
  • Red X markers (Depth Violations): Points where the grade line violates Min or Max Depth constraints
  • Green/Yellow connection dots (if connections exist): Shows where secondary drains connect to this main

Hover for Details:

Hover your mouse over any point on the chart to see precise values at that location. Zoom in by clicking and dragging a selection box.

FAQ

Why does my tile lateral show a Required Starting Depth?

Required Starting Depth (shown after running Best Fit on tile drainage) tells you how deep the outlet end needs to be to achieve the calculated grade. For laterals connecting to mains, this helps you determine if the lateral will properly connect above the main pipe as required.

What if Best Fit shows violations no matter what I try?

Some terrain is simply too steep or irregular to satisfy all constraints. Options: (1) Widen your Min/Max Depth range, (2) Split the line into two shorter segments with a junction, (3) Accept violations and plan for custom construction adjustments, (4) Reroute the line to avoid problem areas.

Can I edit the red grade line directly on the chart?

No. The grade line is calculated, not manually editable. To change it, adjust your Design Parameters and click "Apply & Refresh Design" to recalculate, or clear it and draw a new Manual Grade.

Do parameter changes automatically update the grade line?

No. You must explicitly click "Apply & Refresh Design" to trigger recalculation. This prevents accidental changes and gives you control over when to recompute.

Design Statistics

Real-time performance metrics for your drainage designs

What are Design Statistics?

Design Statistics provide comprehensive quantitative analysis of your drainage line designs. After drawing a line and applying Best Fit or Manual Grade, the statistics panel displays critical metrics including depths, grades, lengths, and volumes. These metrics help you validate your design meets project requirements and assist with construction planning and cost estimation.

Automatic Calculation: Statistics update automatically whenever you apply a grade line (Best Fit or Manual). You don't need to manually calculate anything - the system computes all metrics based on your terrain data and design parameters.

Statistics vary by drainage type and position in the system:

  • Surface Mains show outlet depth and volume metrics
  • Surface Tributaries show connection depth instead of outlet depth
  • Tile Mains show starting depth and required starting depth
  • Tile Laterals/Submains show connecting depth and required starting depth

Understanding Depth Metrics

Depth metrics are the most critical statistics for drainage design. Different depth values appear depending on whether you're designing a surface or tile drain, and whether it's a main line or a secondary line connected to a main.

Outlet Depth

When it appears: Surface mains (non-connected lines)

What it is: The depth of THIS drainage line at the outlet point (where water exits the system). This is the depth at the starting point of the line where it discharges.

How it's calculated: Ground elevation minus grade line elevation at the first point of this line, converted to inches.

Why it matters: Tells you how deep to excavate at the discharge point. This is the actual depth needed for construction at the outlet.

Example: Surface main S1 shows "Outlet Depth: 4.00 in" - excavate 4 inches at the outlet point.

Connection Depth

When it appears: Surface tributaries (connected to a surface main)

What it is: The depth of the MAIN line's grade at the point where this tributary connects to it. This is NOT the tributary's own depth - it's showing how deep the main is at the connection location.

How it's calculated: System finds the main line, locates the connection point on it, then calculates: main's ground elevation minus main's grade line elevation at that point, converted to inches.

Why it matters: Shows how deep the main is where your tributary ties in. Your tributary must reach at least this depth to connect properly.

Example: Surface tributary S1-TR1 shows "Connection Depth: 4.00 in" - the main S1 is 4 inches deep at the connection point.

Starting Depth

When it appears: Tile mains (non-connected lines)

What it is: The actual depth of THIS tile main at its starting point, based on the terrain elevation and the calculated grade line.

How it's calculated: Ground elevation minus grade line elevation at the first point of this line, converted to inches.

Why it matters: Compare this to Required Starting Depth (shown above it). If they match closely, your design is feasible. If they differ significantly, you may need to adjust Target Depth, widen Min/Max Depth range, or reroute.

Example: Tile main T1 shows:
Required Starting Depth: 42.00 in (what you need from design)
Starting Depth: 42.00 in (what terrain provides)
These match perfectly - design is feasible.

Connecting Depth

When it appears: Tile laterals and submains (connected to a tile main)

What it is: The depth of the MAIN line's grade at the point where this lateral/submain connects to it. This is NOT the lateral's own depth - it's showing how deep the main is at the connection location.

How it's calculated: System finds the main line, locates the connection point on it, then calculates: main's ground elevation minus main's grade line elevation at that point, converted to inches.

Why it matters: Shows how deep the main is where your lateral ties in. The lateral's outlet must reach the connection point. Note this is often deeper than the lateral's Target Depth because the main is already deep at that location.

Design Principle: In general, it's desirable for laterals to connect to the upper portion of the main pipe (lateral outlet at or shallower than the main) for optimal drainage performance and hydraulic validity. If your lateral's Required Starting Depth is at or shallower than the Connecting Depth shown, that's ideal - the lateral enters from above and water flows down into the main naturally. The system validates this automatically (see Connection Validation section).
Example: Tile lateral T1-L1 shows:
Required Starting Depth: 30.00 in (lateral outlet depth needed)
Connecting Depth: 42.00 in (how deep main is)
Target Depth: 30.00 in (your design goal)
The lateral's outlet is at 30" while the main is 42" deep at that point - the lateral connects to the upper portion of the main, which is ideal for drainage flow.

Required Starting Depth

When it appears: All tile drains (mains, submains, laterals) after running Best Fit

What it is: The depth required at the starting point based on backward calculation from the connection/outlet point. This represents the optimal starting depth needed to achieve your target grade and reach the connection depth.

How it's calculated: Backward best-fit algorithm: starts from the connection point (or outlet), works backward along the line applying the minimum grade, calculates what depth is needed at the start to maintain grade while respecting Min/Max depth constraints.

Why it matters: This is the DESIGN REQUIREMENT - what depth you NEED at the start to achieve proper grade. Always displayed in bold as the primary metric. Compare it to Starting Depth (mains) or Connecting Depth (laterals) to verify feasibility.

Critical: Required Starting Depth appears in bold and is the primary metric for tile drain design. It shows what depth you NEED at the start. The secondary depth metric (Starting Depth or Connecting Depth) shows what you HAVE. If these don't match, adjust your design parameters.

Target Depth

When it appears: All tile drains (mains, submains, laterals)

What it is: Your design target depth - this is the Offset parameter you specified in Design Parameters.

How it's calculated: Directly from the Offset field in Design Parameters.

Why it matters: This is your desired burial depth for the tile drain. Best Fit tries to maintain this depth while respecting Min/Max constraints and minimum grade requirements. If violations occur, you may need to adjust this target or widen your Min/Max range.

Note: Target Depth is your design goal, but Required Starting Depth is what's actually needed. They may differ based on terrain and grade requirements.

Understanding Performance Metrics

Average Depth

What it is: The distance-weighted average depth of the drainage line along its entire length.

How it's calculated: For each segment between elevation points, calculate the average cut depth, multiply by segment length, sum all segments, divide by total length.

Why it matters: Provides a single representative depth value for the entire line. Useful for quick cost estimation and comparing alternative routes.

Min Depth / Max Depth

What they are: The shallowest and deepest points along the entire drainage line.

How they're calculated: System tracks depth at every elevation point (ground minus grade), records minimum and maximum values encountered.

Why they matter: Show the range of excavation depths required. Large ranges may indicate challenging terrain. Compare these to your Min/Max Depth constraints to verify compliance.

Note: Min/Max Depth in statistics may temporarily go outside your constraint ranges during grade line drawing. Depth Violation Detection (next section) specifically identifies these violations and marks them for correction.

Average Grade

What it is: The overall slope of the drainage line expressed as a percentage.

How it's calculated: (Total elevation change ÷ Total horizontal distance) × 100

Why it matters: Validates your design meets minimum grade requirements. Too low and drainage may be sluggish; too high and erosion may occur. Typical agricultural surface drains: 0.2-0.5%. Pattern tile: 0.1-0.2%.

Example: A line with 500 feet length and 1.25 feet elevation drop: (1.25 ÷ 500) × 100 = 0.25% grade

Run Length

What it is: The total horizontal distance of the drainage line.

How it's calculated: Directly from the line's measured length in feet (from linesData).

Why it matters: Essential for material quantity calculations, cost estimation, and verifying the line length meets project requirements.

Total Volume (Surface Drains Only)

What it is: The total volume of material to be excavated, expressed in cubic yards.

How it's calculated: Uses trapezoidal cross-section based on your Side Slope setting:

  • Vertical (0): Rectangle - bottom width × depth × length
  • With side slope: Trapezoid - ((bottom + top width) / 2) × depth × length, where top width = bottom + (2 × depth × slope ratio)

Why it matters: Critical for earthwork cost estimation. Side slopes significantly increase volume - a 2:1 slope can nearly double the volume compared to vertical sides.

Example: 100 ft surface drain, 2 ft deep, 8 ft bottom width:
• Vertical: 100 × 2 × 8 ÷ 27 = 59.3 yd³
• 2:1 slope: top = 8 + (2 × 2 × 2) = 16 ft, area = 12 × 2 = 24 ft², volume = 100 × 24 ÷ 27 = 88.9 yd³

Overburden Stats (Tile Drains Only)

What it is: When tile depth exceeds Max Depth (typical plow limit), the system calculates overburden - material that must be pre-excavated so the tile plow can operate at normal depth.

Stats displayed (in orange):

  • Overburden Length: Total linear feet where depth exceeds Max Depth
  • Overburden Volume: Cubic yards of material to excavate, using your configured width and side slope

Why it matters: Overburden excavation is typically done by backhoe before the tile plow arrives. This separate earthwork has different costs and scheduling requirements than standard tile installation.

Orange = Action Required: Overburden stats appear in orange to highlight depth violations that require pre-excavation. Consider adjusting your design to minimize overburden where possible.

Statistics by Drainage Type

The specific statistics displayed vary based on drainage type (surface vs. tile) and position (main vs. secondary). Here are the four main configurations:

Surface Main Line

Outlet Depth: 24.50 in
Average Depth: 26.83 in
Min Depth: 22.10 in
Max Depth: 31.45 in
Average Grade: 0.35%
Run Length: 487.2 ft
Total Volume: 287.5 yd³

Note: Shows Outlet Depth (depth at discharge point) and includes Total Volume calculation for earthwork estimation.

Surface Tributary/Secondary

Connection Depth: 26.75 in
Average Depth: 22.34 in
Min Depth: 18.90 in
Max Depth: 28.20 in
Average Grade: 0.42%
Run Length: 312.8 ft
Total Volume: 156.3 yd³

Note: Shows Connection Depth (main line's depth at connection point) instead of Outlet Depth. This is the depth the tributary must reach to connect properly.

Tile Main Line

Required Starting Depth: 54.20 in
Starting Depth: 48.75 in
Target Depth: 48.00 in
Average Depth: 52.15 in
Min Depth: 44.80 in
Max Depth: 68.20 in
Average Grade: 0.18%
Run Length: 892.5 ft
Overburden Length: 145.0 ft
Overburden Volume: 32.4 yd³

Note: Shows Required Starting Depth and Starting Depth for design validation. When Max Depth (68.20 in) exceeds the 60" plow limit, overburden stats appear in orange showing pre-excavation requirements.

Tile Lateral/Submain (Connected to Main)

Required Starting Depth: 51.85 in
Connecting Depth: 48.60 in
Target Depth: 48.00 in
Average Depth: 46.92 in
Min Depth: 45.20 in
Max Depth: 49.80 in
Average Grade: 0.15%
Run Length: 428.3 ft

Note: Shows Required Starting Depth and Connecting Depth (main line's depth at connection). Connecting Depth indicates how deep the main is where this lateral ties in.

Using Statistics for Design Validation

Design Statistics help you validate and optimize your drainage designs. Here's how to interpret and act on the metrics:

Check Depth Feasibility

For tile drains: Compare Required Starting Depth to Starting Depth (mains) or Connecting Depth (laterals). Large discrepancies indicate the design may not be achievable with current parameters. Adjust Target Depth, widen Min/Max Depth range, or reroute the line.

Verify Grade Requirements

Surface drains: Average Grade should typically be 0.2-0.5%. Below 0.2% risks poor drainage; above 0.5% may cause erosion.

Tile drains: Average Grade should typically be 0.1-0.2%. Pattern tile can go as low as 0.05% in very flat terrain.

If Average Grade is too low, increase grade in Design Parameters or reroute to steeper terrain. If too high, consider reducing grade or using erosion control measures.

Estimate Costs

Surface drains: Total Volume directly translates to earthwork costs. Multiply by your local excavation rate ($/yd³).

Tile drains: Use Run Length and tile specifications to calculate material costs. The system can auto-calculate this in the PDF Report Generator.

Compare Alternatives

When evaluating multiple design options, statistics help you compare:

  • Excavation depth: Lower Average Depth = lower construction cost
  • Length: Shorter Run Length = less material and labor
  • Volume: Lower Total Volume = lower earthwork cost
  • Grade: Grade closer to target = better long-term performance
Best Practice: Review Design Statistics after every grade line application. They provide immediate feedback on design quality and help catch issues before moving to construction planning or export.

Common Questions

Why don't statistics appear immediately after drawing a line?

Statistics require a grade line (Best Fit or Manual Grade). After drawing a line, click "Best Fit" or draw a Manual Grade, then statistics will populate. Without a grade line, there's no depth or volume data to calculate.

What if Required Starting Depth and Starting Depth don't match?

This is common and indicates a design challenge. Required Starting Depth shows what you NEED; Starting Depth shows what you HAVE. To resolve: (1) Increase Target Depth, (2) Widen Min/Max Depth range, (3) Reduce minimum grade requirement, or (4) Reroute to different terrain.

Why is Connecting Depth sometimes deeper than my target?

Connecting Depth reflects the main line's depth at the connection point - which you don't control from the secondary line. If the main is deeper than expected, your secondary line must reach that depth to connect. Consider this when setting Target Depth for secondaries.

Do statistics account for tile size or trench width?

For tile drains: No, statistics show cut depth only. Actual trench excavation will be deeper (add tile diameter + bedding). For surface drains: Volume calculations use the configured trench top width from drainage defaults.

Can I export statistics for reporting?

Yes. Use the PDF Report Generator in the Import/Export tab. It includes all design statistics plus materials, flow rates, and cost estimates in a professional format suitable for clients or contractors.

Depth Violation Detection

Automatic identification of depth constraint violations

What are Depth Violations?

Depth violations occur when your designed drainage line (Best Fit or Manual Grade) goes deeper or shallower than the Min/Max Depth constraints you specified in Design Parameters. The system automatically detects these violations and displays warning markers so you can address them before construction.

Automatic Detection: Violations are calculated immediately after running Best Fit or clicking "Apply & Refresh Design". You don't need to manually check - the system does it for you and displays clear visual indicators.

Two Types of Violations:

  • Too Shallow: Drain depth at some point is less than Min Depth (e.g., drain is 18" deep but Min Depth is 24")
  • Too Deep: Drain depth at some point is greater than Max Depth (e.g., drain is 66" deep but Max Depth is 60")

Both violation types are treated equally serious - they indicate the design doesn't meet your constraints and may require parameter adjustment or terrain modification.

Visual Indicators

Depth violations are shown with prominent red markers in three locations:

1. Profile Chart Markers (Red X)

Appearance: Red crossRot markers (X shapes, rotated 45°) appear directly on the profile chart at the exact distance where violations occur.

Location: Overlaid on the Best Fit red line at violation points, displayed on top of all other chart elements so they're always visible.

Tooltip: Hover over any red X to see details: depth value at that point, violation type (too shallow/too deep), and the Min/Max Depth constraint that was violated.

Chart Display: Violation markers only appear for the currently selected line's profile chart. When you switch to a different line, its violations (if any) are displayed.

2. Map Markers (Red X)

Appearance: Red X markers appear at the geographic location of each violation point along the drainage line on the map.

Persistence: Map violation markers are persistent - they stay visible even when you switch to viewing a different line's profile. This lets you see ALL violations across your entire drainage system at once.

Purpose: Helps you quickly identify which physical areas of your field have depth issues, especially useful when you have multiple lines with violations.

Map Persistence: Map violations persist across line switches so you can see the full picture of depth issues across all lines. They're automatically updated when you re-run Best Fit or apply new parameters.

3. Profile Dropdown Colors (Orange Text)

Appearance: Lines with depth violations (but no connection issues) appear in orange text in the Profile dropdown.

Combined Issues: If a line has BOTH depth violations and connection issues, it appears in red text instead.

See the "Connection Validation" section for full details on dropdown color codes.

Profile chart showing depth violations with red X markers where design exceeds maximum depth

Surface ditch example showing depth violations (red X markers) where the design exceeds maximum allowable depth - would require increasing max depth constraint or finding an alternative route

When Violations are Calculated

The system automatically checks for depth violations at these times:

1. After Running Best Fit

As soon as you click the second point to run Best Fit, the algorithm:

  1. Calculates the grade line and depth at every point
  2. Compares each depth value against Min/Max Depth constraints
  3. Creates violation markers for any points outside the allowed range
  4. Displays red X markers on chart and map
  5. Updates the dropdown status color to orange (depth issues only) or red (depth + connection issues)

2. After Clicking "Apply & Refresh Design"

When you change parameters and click "Apply & Refresh Design":

  1. If Best Fit was previously run, it re-runs with new parameters
  2. Recalculates violations with new Min/Max Depth values
  3. Updates/removes violation markers as appropriate
  4. Updates status colors in dropdown and map icons

For example: If you had violations at Max Depth = 48", then increase it to 60" and click Apply & Refresh, violations may disappear if the line now fits within the new constraints.

3. After Restoring a Project

When you load a saved project file, violations are restored from the saved lineData so you immediately see which lines had depth issues when the project was saved.

Fixing Depth Violations

Here are the most effective strategies for resolving depth violations, in order from simplest to most complex:

Strategy 1: Widen Depth Constraints (Simplest)

  1. Increase Max Depth (if violations are "too deep") OR decrease Min Depth (if violations are "too shallow")
  2. Click "Apply & Refresh Design"
  3. Best Fit automatically recalculates and violations may disappear

When to use: First option to try. Often the quickest fix if your constraints were too strict.

Strategy 2: Adjust Target Depth / Offset

  1. Change the Offset Depth (Target Depth) parameter - make it deeper or shallower to shift the entire profile
  2. Click "Apply & Refresh Design"
  3. Best Fit recalculates starting at the new target depth

When to use: If the entire line is consistently too deep or too shallow, shifting the target depth can solve it.

Strategy 3: Change Minimum Grade

  1. Decrease Min Grade % if violations are "too deep" (allows flatter grades that don't drop as much)
  2. Increase Min Grade % if violations are "too shallow" (forces steeper grades that drop more)
  3. Click "Apply & Refresh Design"

When to use: If terrain dictates the grade and you have flexibility in minimum grade requirements.

Warning: Reducing Min Grade below engineering standards (typically 0.05% for surface, 0.1% for tile) may cause drainage performance problems. Only do this if you understand the implications.

Strategy 4: Split the Line

If a long line has violations in one section but not others:

  1. Delete the problematic line
  2. Draw two shorter lines instead, splitting at the problem area
  3. Run Best Fit on each segment independently
  4. Each segment can now use different parameters or grades

When to use: Terrain break or major grade change makes one continuous line impossible to design within constraints.

Strategy 5: Reroute the Line

If violations persist no matter what:

  1. Delete the line
  2. Draw a new line along a different path that avoids steep areas or problem terrain
  3. Run Best Fit on the new route

When to use: The terrain is simply unsuitable for drainage along that path. A different route may have better topography.

Strategy 6: Accept Violations (Last Resort)

Sometimes violations are unavoidable:

  • Plan for custom construction adjustments (deeper trench, fill low areas, etc.)
  • Note the violation locations on your construction plans
  • Coordinate with equipment operators to handle problem areas

When to use: All other strategies exhausted, and construction flexibility exists.

FAQ

Do depth violations prevent me from exporting my design?

No. Depth violations are warnings, not hard errors. You can export designs, generate reports, and save projects even with violations present. They're meant to alert you to review those areas, not block your work.

Why do violations appear on the map but not in the chart?

Chart violations only show for the currently selected line (the one whose profile you're viewing). Map violations show for ALL lines simultaneously so you can see the full system. If you see map violations but no chart violations, you're probably viewing a different line's profile - switch to the line with violations to see its chart markers.

Can I manually delete individual violation markers?

No. Violation markers are automatically managed by the system. To remove them, you must fix the underlying issue (adjust parameters, reroute line, etc.) and click "Apply & Refresh Design".

What if I get "too deep" violations near the outlet of a tile lateral?

This is common on steep terrain. The lateral needs to maintain minimum grade and ends up going deeper than Max Depth at the outlet. Options: (1) Increase Max Depth, (2) Shorten the lateral, (3) Increase Min Grade to steepen the line (causes it to drop faster and reach the main sooner, reducing outlet depth), (4) Move the inlet location uphill less.

Do violations affect flow calculations or tile sizing?

No. Flow calculations and tile sizing are based on the designed grade line regardless of whether violations exist. Violations are a construction/feasibility concern, not a hydraulic concern.

Connection Validation

Post-design verification of lateral-to-main connections

Connection Enforcement vs. Connection Validation

It's critical to understand the difference between these two systems - they work at different stages of the design process:

Connection Enforcement (During Drawing):

  • When: Active while you're drawing secondary drains (laterals, tributaries, sub-mains)
  • What it does: Forces you to click within 30 feet of a compatible main drain, prevents drawing connections that are too far away
  • Purpose: Ensures geographic proximity - makes sure lines physically connect
  • Validation: Based on map distance only, no elevation checking

Connection Validation (After Best Fit):

  • When: Active after you run Best Fit or Manual Grade and click "Apply & Refresh Design"
  • What it does: Checks the ELEVATION difference between the lateral outlet and the main at the connection point
  • Purpose: Ensures hydraulic validity - laterals must connect to the upper portion of the main pipe, not below it
  • Validation: Based on designed elevations (Best Fit lines), not terrain
Key Difference: Enforcement prevents bad drawings. Validation checks if your designed grades will work hydraulically once you've run Best Fit. A line can pass enforcement but fail validation if the grades put the lateral too deep relative to the main.

How Connection Validation Works

After you run Best Fit (or create a Manual Grade) on both a main line and its connected secondary drains, the system performs elevation-based validation:

The Validation Rule:

For tile drainage, laterals should connect to the upper portion of the main pipe for optimal drainage performance. The validation check compares designed elevations at the connection point:

  1. Main Elevation: System calculates the main drain's designed elevation (from its Best Fit line) at the distance where the lateral connects
  2. Lateral Elevation: System gets the lateral's designed elevation at its outlet point (index 0, the connection end)
  3. Elevation Difference: Calculates: Lateral Elevation - Main Elevation
  4. Pass/Fail Decision:
    • PASS (Green ✓): If lateral is within 1 inch or SHALLOWER than main (diff >= -0.0833 feet)
    • FAIL (Red ✗ or Purple ✗): If lateral is more than 1 inch DEEPER than main (diff < -0.0833 feet)
1-Inch Tolerance: The system allows up to 1 inch (0.0833 feet) of lateral depth below the main because small elevation differences are acceptable and may be due to GPS/LiDAR accuracy limits. Anything deeper than 1 inch is flagged as a connection issue.

When Validation Runs:

Connection validation is automatically triggered:

  • After running Best Fit on any line
  • After clicking "Apply & Refresh Design" on any line
  • After restoring a project file
  • After deleting or modifying any line

The system checks ALL connections in the entire drainage network every time, not just the current line. This ensures the status colors and icons are always current.

Visual Indicators

Connection validation status is displayed in two locations with a comprehensive color-coded system:

1. Profile Dropdown Colors

The Profile dropdown (Design tab) shows each drainage line with color-coded text indicating its validation status. This is the primary way to quickly assess your entire drainage system's health:

Color Meaning Issues
Green All checks pass No depth violations, no connection issues. Ready for construction.
Orange Depth violations only Has depth violations (too deep or too shallow), but all connections are valid.
Purple Connection issues only One or more laterals connect too deep below the main, but no depth violations on the line itself.
Red Both issues BOTH depth violations AND connection issues. Most critical status.
Black No grade line set Line has been drawn but Best Fit not run yet. No validation possible without a design.
Main Lines in Bold: Main lines (tile mains, surface mains) appear in bold text in the dropdown. Secondary drains (laterals, tributaries, sub-mains) appear in regular weight text. This helps you quickly identify system hierarchy.

2. Map Validation Icons

Each drainage line's label on the map shows a validation icon next to its hierarchical ID (e.g., "T1-L1 ✓"). The icon indicates the line's validation status:

Icon Color Meaning
Green All checks pass (matches green dropdown status)
Orange Depth violations only (matches orange dropdown status)
Purple Connection issues only (matches purple dropdown status)
✗✗ Red Both depth violations AND connection issues (matches red dropdown status)
(none) - No grade line set yet - no validation possible

Map icons appear next to the hierarchical ID label at the midpoint of each drainage line. They update automatically whenever validation status changes.

Fixing Connection Issues

If you see purple (connection issues only) or red (connection + depth issues) status, here are strategies to resolve connection problems:

Strategy 1: Adjust Main Line Depth (Simplest)

If the main line is too deep at the connection point, make it shallower:

  1. Select the main line from the Profile dropdown
  2. Decrease the main's Target Depth (Offset Depth) by 6-12 inches
  3. Click "Apply & Refresh Design" to recalculate the main's Best Fit
  4. Check if the status changes from purple/red to green/orange

Why this works: Raising the main line elevation at all points brings it closer to or above the lateral outlet elevation.

Strategy 2: Adjust Lateral Depth

If the lateral is too deep at its outlet, make it shallower:

  1. Select the lateral from the Profile dropdown
  2. Decrease the lateral's Min Depth (allows shallower installation)
  3. Click "Apply & Refresh Design" to recalculate
  4. Check if the lateral's outlet elevation rises enough to connect properly

Limitation: Laterals often need to be at least 24" deep minimum for tile drainage standards, so you may not have much adjustment room here.

Strategy 3: Increase Lateral Grade

Steeper lateral grade causes it to drop faster from inlet to outlet, which can paradoxically help:

  1. Select the lateral from the Profile dropdown
  2. Increase the lateral's Min Grade % (e.g., from 0.1% to 0.2%)
  3. Click "Apply & Refresh Design"
  4. The lateral drops faster, reaching the main sooner at a shallower depth

When to use: If the lateral is long and terrain allows steeper grades.

Strategy 4: Shorten the Lateral

If a lateral is too long, it accumulates too much drop and ends up too deep:

  1. Delete the lateral
  2. Redraw it with the inlet closer to the main (shorter length)
  3. Run Best Fit on the new shorter lateral
  4. Check if it now connects at an acceptable elevation

Trade-off: Shorter laterals drain less area. You may need to add more laterals to cover the same field area.

Strategy 5: Move Connection Point on Main

Sometimes moving where the lateral connects to the main can find a shallower spot:

  1. Delete the lateral
  2. Redraw it connecting to a different point along the main (farther upstream where the main may be shallower)
  3. Run Best Fit on the repositioned lateral

When to use: If the main has varying depth along its length and some connection points are more favorable than others.

Strategy 6: Accept Connection Issue (Rare)

In some cases, you may need to accept a connection issue and plan for custom construction:

  • Install the lateral slightly shallower than designed at the outlet
  • Use a riser or junction box to accommodate the elevation difference
  • Modify the main installation depth locally to be deeper at that connection

When to use: All design adjustments exhausted, construction flexibility exists, or terrain makes a proper connection impossible without major rerouting.

Connection Depth Calculation

For secondary drains (laterals, tributaries, sub-mains) that connect to main lines, the system stores a special "Connection Depth" value after validation runs. This represents the depth of the main pipe at the connection point and is used for:

  • Reports: PDF reports show connection depth for each lateral to help construction crews know how deep to install junctions
  • Validation: Used internally to calculate whether the lateral outlet is above or below the main at the connection
  • Planning: Helps you assess if junctions are practical (e.g., a 72" deep connection may not be feasible)

How Connection Depth is Calculated:

  1. System finds the main line's terrain elevation at the connection point (interpolated from elevation data)
  2. System finds the main line's designed elevation at the connection point (interpolated from Best Fit line)
  3. Connection Depth = Terrain Elevation - Designed Elevation
  4. Value is stored in inches and shown in reports

Connection Depth is distinct from the lateral's Required Starting Depth (which is the depth at the lateral's outlet, not the main's depth).

FAQ

Why does my lateral show purple (connection issue) even though it's within 30 feet of the main?

Connection Enforcement (30-foot rule) and Connection Validation (elevation check) are separate. You passed enforcement when you drew the line, but after running Best Fit, the designed elevations put the lateral too deep relative to the main. This is an elevation problem, not a distance problem.

Can a line have orange status (depth violations) but still be usable?

Yes. Orange means depth violations but valid connections. The line may work hydraulically (connections are good) but have construction challenges (too deep or too shallow). Purple/red status indicates hydraulic problems (bad connections) which are more critical.

What if the main line shows purple/red status?

This means one or more of its connected laterals are too deep at their connection points. The main itself may be fine, but it's flagged to alert you that its laterals have connection issues. Select each lateral individually to see which ones are problematic.

Why do status colors sometimes change when I edit a different line?

Connection validation checks the entire drainage network, not just the current line. If you adjust a main line's depth, all its connected laterals' validation status may change because the main's elevation at their connection points changed. Similarly, adjusting one lateral's depth doesn't affect others, but the main's status may update to reflect that one lateral is now valid.

Do I need to fix all lines to green before exporting?

No. You can export designs with any status. Green is the ideal goal (no issues), but orange/purple/red designs can still be exported - they just require more attention during construction. The color codes are guidance, not hard blockers.

What does "no icon" mean on a map label?

If a drainage line label shows just the hierarchical ID with no validation icon, it means Best Fit has not been run on that line yet (black status in dropdown). No design = no validation possible. Run Best Fit to get a validation icon.

Tile Sizing & Specifications

Automatically calculate main pipe sizes and manage tile specifications

Overview

The tile sizing system handles two distinct tasks:

  • Auto Size Tile Mains: Wizard-based automatic sizing for tile mains and sub-mains using flow calculations
  • Tile Specifications: Manual specification of laterals and unsized mains (size, wall type, perforation)
Drain Pro Feature: Auto Size Tile Mains is only available in Geo-Surface Drain Pro Drain Pro. All users can manually set tile specifications.

Auto Size Tile Mains (Wizard)

The Auto Size Tile Mains wizard automatically calculates pipe sizes for ALL tile mains and sub-mains in your drainage system based on contributing area, drainage coefficient, and grade.

How It Works:

  1. Click "Auto Size Tile Mains" button in Design tab (below profile chart)
  2. Enter Parameters:
    • Drainage Coefficient: Select 1/8", 1/4", 3/8" (default), 1/2", 3/4", or 1" per 24 hours
    • Average Drain Spacing: Distance between lateral drains in feet (default: 50ft, range: 10-200ft)
  3. Click "Start Sizing" to begin wizard
  4. For Each Main/Sub-Main: System shows popup with:
    • Contributing area calculation (acres)
    • Average grade (%)
    • 2-3 sizing options (buttons)
  5. Select Size Option or click "Skip" to leave unassigned
  6. Wizard Completes: Shows summary of sized vs skipped lines
Auto Pipe Sizer wizard showing size options for a tile main based on contributing area and grade

Auto Pipe Sizer wizard displaying calculated sizing options for a tile main with contributing area and grade information

Prerequisite: All mains and sub-mains must have grade lines set before running Auto Size. The wizard needs grade percentage for flow calculations. Lines without grades will be skipped with an alert.

Contributing Area Calculation

For each main or sub-main, the system automatically calculates contributing area from connected drainage lines:

Non-Perforated Mains:

  • Collects ALL laterals and sub-mains that drain to this main
  • Sums total length of all descendants in feet
  • Area (acres) = (Total Length × Drain Spacing) ÷ 43,560
  • Example: 10 laterals × 500ft each = 5,000ft → (5,000ft × 50ft spacing) ÷ 43,560 = 5.74 acres

Perforated Mains (if selected):

  • Same as above, PLUS adds the main's own drainage contribution
  • Assumes main drains half the lateral spacing on each side (e.g., 25ft each side for 50ft spacing)
  • Area (acres) = (Total Lateral Length + Main Length) × Drain Spacing ÷ 43,560
Drain Spacing Parameter: This is the perpendicular distance between parallel lateral drains in your system, NOT the distance along the main between lateral connections. Typical values: 40-60 feet for agricultural tile drainage.

Sizing Options Presented

For each main/sub-main, the wizard calculates and presents 2-3 sizing options based on wall type and perforation:

1. Single-Wall Non-Perforated (Green Button)

  • Always shown
  • Uses only lateral contributing area (no main drainage)
  • Standard corrugated single-wall pipe
  • Best for collection mains that don't directly drain soil

2. Single-Wall Perforated (Cyan Button)

  • Only shown if calculated size ≤ 15 inches
  • Includes main's own drainage contribution in area calculation
  • After clicking, shows perforation type picker:
    • Regular Perforated: Standard perforations
    • Narrow Slot: Narrow slot openings (fine soils)
    • Sock Filter: Fabric sock wrapped pipe
  • Best when main also needs to drain soil along its length

3. Dual-Wall (Grey Button)

  • Always shown
  • Smooth interior wall, corrugated exterior
  • Always non-perforated (dual-wall mains don't come perforated)
  • Higher flow capacity due to smoother surface (lower roughness coefficient)
  • Best for high-flow collection mains or challenging grades
Size Limitation: Perforated mains are only available ≤15 inches. If your calculated size exceeds 15", only non-perforated options (single-wall non-perf or dual-wall) will be offered.

Flow Calculation Details

The sizing algorithm uses Manning's equation with size-dependent roughness coefficients:

Flow Rate (Q):

Q (cu ft/sec) = Area (acres) × Drainage Coefficient (in/24hr) × Conversion Factor

Conversion Factor = 43,560 ÷ 12 ÷ 3,600 ÷ 24 = 0.0423

Example: 5.74 acres × 0.375 in/24hr × 0.0423 = 0.091 cu ft/sec

Manning's Equation Roughness Coefficients:

The system uses piecewise roughness values based on pipe size range:

Single-Wall Pipe:
  • ≤8 inches: n = 0.015 (smoother for small pipes)
  • 8-12 inches: n = 0.017 (moderate roughness)
  • >12 inches: n = 0.020 (higher roughness for large pipes)
Dual-Wall Pipe:
  • All sizes: n = 0.012 (smooth interior wall, consistent across sizes)
Engineering Standard: These Manning's roughness coefficients match the values specified in NRCS Engineering Field Handbook, Chapter 14, Table 14-7 for new, clean corrugated plastic drainage tubing. These are industry-standard values for design calculations. Note that field conditions (sediment accumulation, joint quality, pipe deformation) may affect actual installed capacity.

Calculated size is then rounded to standard pipe sizes using size-dependent tolerance rules.

Pipe Size Rounding Rules

Calculated sizes are rounded to standard pipe sizes: 3", 4", 6", 8", 10", 12", 15", 18", 24", 36", 48"

Rounding Tolerance (Size-Dependent):

  • 3" or 4" pipes: Tolerance = 0.1 inch → Round down if within 0.1", otherwise round up
  • 6", 8", 10" pipes: Tolerance = 0.5 inch → Round down if within 0.5", otherwise round up
  • ≥12" pipes: Tolerance = 1.0 inch → Round down if within 1.0", otherwise round up

Minimum Size:

  • Mains and sub-mains: Minimum 4 inches (system enforces this regardless of calculation)

Maximum Size:

  • If calculated size exceeds 48 inches, button shows "BIG!" and is disabled
  • Indicates field needs multiple mains or different drainage strategy

Examples:

  • Calculated 4.08" → Round down to 4" (within 0.1" tolerance)
  • Calculated 6.4" → Round down to 6" (within 0.5" tolerance)
  • Calculated 6.6" → Round up to 8" (exceeds 0.5" tolerance)
  • Calculated 11.5" → Round up to 12" (within 1.0" tolerance)

Manual Tile Specifications

Use the Tile Specifications section (Design tab, below parameters) to manually configure tile specs for laterals or any mains/sub-mains you skipped during auto-sizing.

For Tile Laterals:

  1. Select lateral from Profile dropdown
  2. Lateral tile controls appear automatically
  3. Set:
    • Size: 3", 4" (default), 6", 8", or 10"
    • Perforation: Regular (default), Narrow Slot, or Sock Filter
  4. Click "Apply Tile Spec" button
  5. Spec saves to lateral, appears in dropdown display

For Tile Mains/Sub-Mains:

  1. Select main from Profile dropdown
  2. Main tile controls appear automatically
  3. Set:
    • Size: Unassigned (default), 4", 6", 8", 10", 12", 15", 18", 24", 36", or 48"
    • Wall Type: Unassigned (default), Single-Wall, or Dual-Wall
    • Perforation: Non-Perforated (default), Regular, Narrow Slot, or Sock Filter
  4. Click "Apply Tile Spec" button
  5. Spec saves to main, appears in dropdown display
Auto-Sizing Overrides Manual Specs: If you manually set specs on a main, then run Auto Size Tile Mains, the wizard will overwrite your manual spec when you select a size option for that main.

Tile Spec Display in Dropdown

Tile specifications appear in the Profile dropdown next to line IDs for quick reference:

Lateral Display Format:

  • T1-L1 (4" Regular) - 4" single-wall regular perforated
  • T1-L2 (4" Narrow) - 4" single-wall narrow slot
  • T1-L3 (6" Sock) - 6" single-wall sock filter

Main Display Format:

  • T1 (8" SW NP) - 8" single-wall non-perforated
  • T1 (12" SW Regular) - 12" single-wall regular perforated
  • T1 (15" DW) - 15" dual-wall (always non-perforated)
  • T1 (Unassigned) - Size not yet assigned

Abbreviations: SW = Single-Wall, DW = Dual-Wall, NP = Non-Perforated

Drainage Coefficient Guidelines

The drainage coefficient represents the rate of water removal needed from the soil, measured in inches of water per 24-hour period.

Typical Values by Crop:

  • Row Crops (Corn, Soybeans): 3/8" - 1/2" per 24 hours
  • Small Grains: 1/4" - 3/8" per 24 hours
  • Pasture/Hay: 1/8" - 1/4" per 24 hours
Regional Guidance: Consult local drainage guidelines, extension services, or drainage contractors for recommended coefficients in your area. Values vary by climate, soil type, and crop requirements.

FAQ

Do I need to size laterals with the wizard?

No. The Auto Size Tile Mains wizard only sizes MAINS and SUB-MAINS. Laterals are sized manually using the Tile Specifications section. Default lateral spec is 4" single-wall regular perforated.

Can I change a size after the wizard finishes?

Yes. Select the main from the Profile dropdown, adjust the size/wall/perforation values in the Tile Specifications section, and click "Apply Tile Spec" to override the wizard's recommendation.

What if the wizard shows "BIG!" for a size?

Calculated size exceeds 48 inches, which means the contributing area is too large for a single main. Consider splitting into multiple mains, reducing lateral spacing, or using a lower drainage coefficient.

Why does the wizard skip some mains?

Mains without grade lines are skipped with an alert. You must run Best Fit or set a manual grade line on all mains before running the wizard.

Should I use perforated or non-perforated mains?

Use non-perforated if the main only collects flow from laterals. Use perforated if the main also needs to drain soil along its length. The system adds the main's own drainage area (main length × lateral spacing) to the contributing area. The percentage increase depends on your field layout: shorter mains with many laterals see smaller increases (10-30%), while longer mains with fewer laterals may see larger increases (40-60%).

Why does dual-wall show a smaller size than single-wall?

Dual-wall pipe has a smoother interior (n=0.012 vs 0.015-0.020), allowing higher flow capacity per diameter. This results in smaller calculated sizes for the same flow rate.

Design Limitations & Best Practices

Critical information about proper use of this planning tool

IMPORTANT: This is a Planning Tool Only

Geo-Surface is a PLANNING TOOL and does not produce installation-ready construction plans. The designs, calculations, and outputs are intended for preliminary planning, budgeting, and communication purposes only.

⚠ Critical Warning: Direct installation using exported design files is NOT RECOMMENDED and NOT ENDORSED. See "Proper Installation Workflow" below for the required procedure.
Understanding System Limitations

What This Tool Does Well

  • Route Planning: Helps you plan optimal drainage layouts and understand field requirements
  • Area Analysis: Calculates contributing areas, required pipe sizes, and system capacity
  • Budget Estimation: Provides material quantities and cost estimates for planning purposes
  • Design Communication: Creates professional reports and visualizations to share with contractors and stakeholders
  • Parameter Optimization: Helps determine appropriate depths, grades, and spacing for your field conditions

Critical Limitations You Must Understand

1. Soil Conditions Not Accounted For

What the tool assumes: Flow capacity calculations assume drainage pipes will run full under design conditions, following Manning's equation for open channel flow.

Reality: Actual pipe performance depends heavily on soil type, permeability, hydraulic conductivity, and site-specific field conditions:

  • Tight Clay Soils: May not allow pipes to fill as assumed, reducing actual drainage capacity significantly
  • Sandy/Permeable Soils: Generally perform closer to theoretical calculations
  • Variable Soil Layers: Can create unexpected drainage patterns and flow rates
  • Compaction/Smearing: Installation damage to soil structure can reduce infiltration

What you should do: Soil testing and professional evaluation are strongly recommended for large or critical projects. Consider designing with safety factors and monitor system performance after installation.

2. LiDAR vs. RTK Elevation Accuracy

LiDAR Accuracy (used in this tool):

  • Relative vertical accuracy (smooth surfaces): ±6-8 cm (2-3 inches) - excellent for understanding field slopes and drainage patterns
  • Relative vertical accuracy (vegetated areas): ±10-15 cm (4-6 inches) - reduced accuracy but still useful for planning
  • Absolute vertical accuracy: ±10-20 cm (4-8 inches) - less critical for drainage design
  • Key advantage: Complete terrain coverage shows you the big picture of your field's topography
  • Collection timing: Most provincial/state and federal LiDAR is collected during spring/fall months when vegetation is minimal, though exact capture dates are often not published and some projects may span multiple seasons
  • Limitation: Historical snapshot - doesn't reflect recent changes (tillage, erosion, grading)

Ground Condition Artifacts to Watch For:

  • Water in sloughs/potholes: LiDAR shows water surface elevation, not ground beneath. Telltale sign: these areas appear perfectly flat in terrain profiles
  • Dense vegetation: May show ground elevation higher than it actually is (canopy return instead of ground return)
  • Snow cover: Can elevate apparent ground surface if present during data capture

RTK GPS Accuracy (required for installation):

  • Vertical accuracy: ±2-3 cm (1 inch) or better - the gold standard for construction
  • Real-time measurements: Captures current field conditions at exact drain locations
  • Accounts for: Recent tillage, weather effects, surface changes since LiDAR capture
  • Essential for: Final grade line design and installation depth control
  • Industry standard for professional drainage installation and machine control

The Complete Picture: LiDAR's excellent relative accuracy makes it ideal for planning where drains should go and what parameters to use. RTK's superior precision and real-time measurement make it essential for determining exact installation depths and grades on installation day. They work together: LiDAR for planning, RTK for execution.

Drain Pro Tip: When reviewing elevation profiles, look for suspiciously flat areas (may indicate water surfaces) or areas where the profile seems higher than expected (may indicate vegetation artifacts). These are good candidates for extra attention during RTK field survey.

3. Smoothing and Generalization

To create feasible drainage designs, this tool applies several smoothing algorithms and generalizations:

  • Elevation Profiles: Elevation data along drain paths is smoothed to remove noise and micro-variations
  • Grade Lines: Best-fit algorithms create consistent, practical grades that may not match every terrain undulation
  • Route Optimization: Suggested routes are straight lines or simplified paths, not accounting for every field obstacle
  • Connection Points: Lateral-to-main connections are idealized and may need adjustment in the field

Implication: The final installed system will necessarily differ from the plan due to field realities, obstacle avoidance, and installer judgment.

4. Installation Route Variations

Designed routes are intended paths, not exact specifications. Actual routes may vary due to:

  • Underground utilities (power, water, gas, fiber optic)
  • Rock or hardpan layers
  • Wet spots or soft soil areas requiring avoidance
  • Property boundaries or easement limitations
  • Trees, buildings, or other permanent features
  • Installer experience and equipment limitations

Best practice: Treat designed routes as guidance. Field personnel should have authority to adjust routes as needed, maintaining design intent (depth, grade, spacing) while navigating field realities.

Installation Warning: Do NOT Install Directly from Exported Files

While it may be technically possible to load exported design files (CSV/KML) into some machine control systems, doing so is NOT RECOMMENDED and NOT ENDORSED.

Why Direct Installation is Dangerous:

  1. Elevation Data Mismatch: LiDAR elevations do not match real-time field conditions measured by RTK
  2. No Field Verification: Skipping field survey means no validation of depths, grades, or feasibility
  3. Liability Issues: Installer assumes full liability for systems installed without proper field design
  4. System Failure Risk: Inadequate drainage performance, grade violations, or depth problems
  5. Code Violations: May not comply with local regulations requiring professional engineering or permits
  6. No Adaptation: Cannot respond to unexpected field conditions (rock, utilities, wet spots)
Legal Notice: Geo-Surface and its developers assume NO LIABILITY for drainage systems installed directly from exported design files without proper field surveying and professional design. By exporting design files, you acknowledge this is for reference only.
Proper Installation Workflow (REQUIRED)

Step-by-Step Professional Installation Process

Phase 1: Planning (Using Geo-Surface)

  1. Design your drainage system using Geo-Surface's planning tools
  2. Determine key parameters:
    • Target depths for mains and laterals
    • Minimum and maximum depth constraints
    • Minimum grade requirements
    • Lateral spacing
    • Pipe sizes and specifications
    • Required starting depths at main inlets
  3. Generate estimates for materials, costs, and project scope
  4. Create reports and maps for communication with contractors and stakeholders
  5. Export reference files (KML for visualization, PDF reports for specifications)

Phase 2: Field Survey (Using RTK GPS)

  1. Mobilize RTK GPS equipment on installation day
  2. Survey actual drain paths:
    • Walk or drive the intended routes with RTK
    • Record elevation profiles at 10-25 foot intervals
    • Mark obstacles, utilities, or problem areas
    • Verify outlet elevations and main line paths
  3. Identify any route adjustments needed for field conditions

Phase 3: Machine Control Design (Using Tile Plow/Trencher Software)

  1. Import RTK survey data into your machine control system (e.g., Precision Planting 20/20, Topcon, Trimble, etc.)
  2. Use Geo-Surface parameters as inputs:
    • Set target depth (from Geo-Surface design)
    • Set minimum/maximum depth constraints
    • Set minimum grade requirement
    • Set required starting depth at inlet
  3. Run machine control best-fit algorithm to design grade line using actual RTK elevations and Geo-Surface parameters
  4. Review and approve the machine-generated design before installation
  5. Verify:
    • No depth violations (within min/max constraints)
    • Adequate grade throughout (meets minimum requirement)
    • Reasonable starting depth at inlet
    • Proper connection depths to main lines

Phase 4: Installation

  1. Install using machine control system with RTK guidance
  2. Monitor installation in real-time for depth/grade compliance
  3. Adjust as needed for unexpected field conditions
  4. Document installed depths and routes for future reference
Key Insight: Geo-Surface provides the parameters (what depths and grades you need), while machine control software uses RTK data (actual field elevations) to determine the exact grade line that meets those parameters.
Professional Engineering & Permits

When Professional Engineering May Be Required:

  • Large Projects: Systems exceeding certain acreage or pipe sizes (varies by jurisdiction)
  • Surface Drainage: Open ditches, especially those affecting property boundaries or waterways
  • Outlet Structures: Anything discharging to streams, wetlands, or public drainage systems
  • Environmental Concerns: Projects near protected areas or sensitive habitats
  • Legal Requirements: Some states/provinces require stamped plans for agricultural drainage
  • Financing/Grants: Government cost-share programs often require professional designs

Your Responsibilities:

  • Research local regulations for drainage system permits and engineering requirements
  • Consult with authorities (county, watershed district, ag extension) before proceeding
  • Obtain necessary permits before starting installation
  • Hire qualified professionals when required or when dealing with complex situations
  • Verify contractor credentials and ensure they follow professional standards

Disclaimer: The user assumes all responsibility for compliance with applicable codes, regulations, and professional standards. Geo-Surface does not provide engineering certification or professional stamps.

Limitations & Best Practices Summary

Use Geo-Surface To:

  • ✓ Plan drainage layouts and determine system requirements
  • ✓ Calculate contributing areas and required pipe sizes
  • ✓ Estimate material quantities and project costs
  • ✓ Determine target depths, grades, and spacing parameters
  • ✓ Generate professional reports and visualizations
  • ✓ Communicate design intent to contractors and stakeholders

Do NOT Use Geo-Surface To:

  • ✗ Create final installation specifications without field verification
  • ✗ Replace professional engineering when required
  • ✗ Substitute for RTK field surveying
  • ✗ Make definitive claims about system performance in specific soil conditions
  • ✗ Bypass permitting or regulatory requirements

Golden Rule:

Geo-Surface tells you WHAT you need (depths, grades, sizes). RTK and machine control tell you HOW to install it given actual field conditions.

Warranty Disclaimer

This software and its outputs are provided "as-is" without warranty of any kind, either expressed or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement.

No guarantee is made regarding the accuracy, completeness, reliability, or suitability of any calculations, recommendations, or outputs for any particular purpose. Users are solely responsible for:

  • Verifying all calculations and recommendations
  • Ensuring compliance with applicable laws and regulations
  • Obtaining appropriate professional review and approval
  • Proper field verification before installation
  • All consequences of design and installation decisions

By using this software, you acknowledge that you have read, understood, and agree to these limitations and requirements.

Base Layers

Choose the right background map for your project

Available Base Layers

Geo-Surface Drain Pro offers multiple base map options to provide context for your drainage design. Each layer type serves different purposes during the design process.

Base Layers Options
Available base layer options showing satellite imagery, terrain layers, and other background map choices

Satellite Imagery

High-resolution aerial or satellite imagery provides visual context including crops, vegetation, structures, and field boundaries.

Sources by Region:

  • Canada: Esri World Imagery - Labeled as "Satellite Imagery Only" in Layers panel
  • USA: USGS ImageryTopo (blended satellite + topographic features) - Labeled as "Topo Imagery". This is the default base layer in USA.

Best For:

  • Identifying field features, obstacles, and existing infrastructure
  • Verifying project location and boundary accuracy
  • Client presentations with visual context

Resolution: Typically 0.5m to 1m depending on location and imagery date.

Hi-Res Imagery (USA Only)

In the USA, an additional high-resolution imagery option is available: USGS NAIP Plus (National Agriculture Imagery Program).

  • Resolution: 0.5m to 1m ground sample distance
  • Update Frequency: Updated every 2-3 years during growing season
  • Best For: Detailed field feature identification, crop assessment, design presentations

Toggle this layer on/off in the Layers panel under "Hi-Res Imagery".

LiDAR Terrain

Shaded relief visualization of high-resolution LiDAR elevation data, simulating sunlight from the northwest to reveal terrain features and drainage patterns.

LiDAR Availability Indicator

Important: If the LiDAR Terrain base layer shows detailed terrain relief in your area, high-resolution LiDAR data is available and you can successfully use "Fetch LiDAR" in Step 2. If you only see the Coarse Terrain layer, LiDAR data is not available for that location.

Best For:

  • Detailed drainage design work - visualize subtle elevation changes
  • Identifying ridges, swales, depressions, and terrain breaks
  • Understanding natural drainage patterns

Visual Characteristics:

  • Bright areas: Northwest-facing slopes and high terrain
  • Dark areas: Southeast-facing slopes and low terrain
  • Sharp contrasts: Steep slopes or terrain breaks
  • Subtle gradients: Gentle elevation changes

Many drainage professionals prefer LiDAR Terrain as their primary base layer during design work.

Coarse Terrain (Canada Only)

In Canada, a lower-resolution terrain visualization (MRDEM - Medium Resolution DEM at 20-30m) is available as a base layer option. Provides nationwide coverage.

Availability: In areas with LiDAR coverage, you'll see both "LiDAR Terrain" and "Coarse Terrain" options. In areas without LiDAR, only "Coarse Terrain" will be available.

Best For:

  • Viewing general terrain in regions where high-resolution LiDAR isn't available
  • Understanding regional landscape context
  • Initial assessment of topographic relief

Elevation Data in MRDEM Areas (Drain Pro Only):

In areas without LiDAR coverage, Drain Pro users can access medium-resolution elevation data from MRDEM for click-to-view elevation and profile generation.

Use with Caution: MRDEM data (20-30m resolution) may not capture important micro-topography. It cannot be used for TauDEM analysis layer generation. Work in LiDAR-covered areas whenever possible.

Switching Base Layers

Switch between base layers at any time without affecting your design work.

How to Change:

  1. Click the Layers button (layer stack icon) on the map
  2. In the layers panel, locate the Base Layers section
  3. Select your desired base layer

The map updates immediately. All drainage lines, analysis overlays, and design elements remain unchanged.

Contours

Elevation contour lines can be overlaid on the map to visualize terrain relief and slopes.

Availability by Region:

  • USA: Contours available at 2ft, 5ft, and 10ft intervals from USGS 3DEP
  • Western Canada: Contours available at 2ft, 5ft, and 10ft intervals from MRDEM
  • Ontario: Lower resolution contours at 10m intervals from LIO (Land Information Ontario)

How to Enable:

  1. Locate the Contours dropdown in the map controls
  2. Select your desired contour interval (2ft, 5ft, 10ft, or 10m depending on location)
  3. Contour lines appear on the map at the selected interval
  4. Select "None" to hide contours
Best Practice: Use smaller intervals (2ft) in flat terrain to see subtle elevation changes, and larger intervals (10ft) in hilly terrain to avoid visual clutter. Contours complement HD Elevation visualization and can help identify slope patterns and drainage paths.

Terrain Visualization

Customize how elevation data is displayed on the map

HD Elevation Visualization

After loading elevation data, the "HD Elevation" layer displays your terrain using a multi-color gradient combined with hillshade for 3D depth perception. Toggle the layer on/off via the floating Layers button.

HD Elevation Visualization with Contours
HD Elevation layer showing hillshaded colored LiDAR DEM with contour lines

Color Gradient:

The elevation colorization uses a quantile-based color scheme that adapts to your specific field:

  • Blue: Lowest elevations - depressions, potential drainage outlets
  • Green: Low elevations
  • Light Green: Low-mid range elevations
  • Yellow: Mid-range elevations
  • Orange: Mid-high range elevations
  • Dark Red: Highest elevations - ridges, potential drainage sources
Quantile-Based Mapping: Colors are distributed based on elevation quantiles rather than absolute values, ensuring that color variations are always visible regardless of your field's elevation range. This means flat fields still show useful color variation.

Hillshade Effect:

The HD Elevation layer automatically includes hillshade to add 3D depth perception. Hillshade simulates northwest sunlight at 45° elevation, revealing subtle terrain features like subtle drainage patterns, ridges, and depressions.

Automatic Transparency

The HD Elevation layer automatically adjusts its transparency based on which analysis overlays are visible:

  • No analysis overlays active: HD Elevation displays at 70% opacity for a balanced blend with satellite imagery
  • Analysis overlays active: HD Elevation reduces to 35% opacity so analysis layers (Wetness Index, Depressions, Ponding Predictor, Flow Lines) remain clearly visible

This intelligent blending ensures you can always see both terrain characteristics and field features from the satellite base layer.

Visualization Best Practices

Recommended layer combinations for common workflows:

  • Initial Field Survey: Enable HD Elevation over satellite imagery to understand terrain characteristics and identify problem areas
  • Drainage Design: Enable HD Elevation along with drainage lines to see how your design follows the terrain
  • Problem Area Analysis: Enable HD Elevation combined with Wetness Index and Depressions overlays to identify wet areas requiring drainage
  • Client Presentations: HD Elevation provides visual appeal and clearly shows terrain relief and drainage strategy
  • Field Installation: Satellite imagery alone (HD Elevation off) to identify field features like headlands, obstacles, and landmarks

Complementary Visualization Layers:

Combine HD Elevation with other layers for deeper terrain insights:

  • Contours: Add contour lines to identify steeper slopes, understand grade changes, and visualize drainage paths. Closer contour spacing indicates steeper terrain, while wider spacing shows flatter areas.
  • Major Flow Paths: Overlay flow routes to understand how water naturally moves across the terrain. Design drainage systems that follow or intercept these natural flow patterns for maximum effectiveness.
  • Wetness Potential Index: Identifies areas prone to saturation where tile drainage will provide the greatest benefit. Blue/cyan areas indicate high wetness potential and should be prioritized for drainage investment.
  • Depressions: Shows closed depressions where standing water accumulates. White areas indicate deeper depressions that may need outlets or surface drainage solutions.
  • Ponding Predictor: Highlights areas at highest risk of ponding. Use the slider to adjust sensitivity and focus on severe problem spots versus broader areas of concern.

3D Visualization:

Don't forget the 3D Terrain Viewer - another powerful way to understand and visualize your field's topography. The 3D view provides an immersive perspective that can reveal terrain features and drainage patterns that may be less obvious in 2D. Access the 3D viewer from the interface to explore your terrain from any angle with adjustable vertical exaggeration.

Layering Strategy

Toggle layers on and off to focus on different aspects. Start with HD Elevation to understand overall terrain, add contours to see slopes, overlay flow paths to understand water movement, then add problem area layers (Wetness, Depressions, Ponding) to identify where drainage is most needed. Use the 3D viewer for an immersive perspective when designing complex systems.

Analysis Overlays

Toggle terrain analysis layers on and off

Managing Overlay Visibility

Once you've generated terrain analysis layers, you can toggle them on and off to focus on different aspects of your design. Multiple overlays can be displayed simultaneously.

Map Layers Panel
Layers panel showing toggles for HD Elevation, Flow Lines, Wetness Index, Ponding Predictor, and Depressions

Accessing Layer Controls

The floating Layers button provides centralized control over all map layers - both base layers and analysis overlays.

How to Access:

  1. Look for the Layers button in the map control area (layer stack icon)
  2. Click to open the layers control panel
  3. The panel displays:
    • Base Layers: Satellite imagery and terrain background options
    • Elevation Data: HD Elevation toggle with Color Ramp dropdown to choose from 17 visualization schemes
    • Analysis Layers: Flow Lines, Wetness Potential, Ponding Predictor, Depressions (when generated)
    • Reference Overlays: LLD/PLSS grids, MRDEM, IDM Flow, Regional Flow (availability varies by region)
  4. Toggle any layer on or off with a single click
  5. Some layers include sliders (Flow Lines threshold, Ponding risk level)
  6. The Color Ramp dropdown instantly changes elevation visualization - your preference is saved automatically

The panel remains open for easy access, or can be closed by clicking outside it or pressing ESC.

Regional Reference Layers

In addition to project-specific analysis layers, some regions provide reference map layers from government and regional sources. These layers help you understand the broader drainage context around your project.

IDM Flow (Ideal Drainage Mapping):

Available in select regions.

  • Purpose: Shows regional flow patterns and ideal drainage pathways based on large-scale terrain analysis
  • Source: Pre-calculated regional drainage analysis
  • Use For: Understanding regional drainage patterns, identifying major natural flow corridors, planning drainage outlets to align with regional flow
  • Coverage: Availability varies by region - check the Layers panel to see if IDM Flow is available for your location

Regional Flow:

Government map layers depicting major waterways and hydrological features.

  • Content: Major waterways, rivers, streams, wetlands, and other hydrological features
  • Source: Government mapping agencies (varies by region)
  • Use For: Identifying nearby water bodies for outlet planning, avoiding protected wetlands, understanding regional water flow patterns, locating existing drainage infrastructure
  • Coverage: Availability varies by region and government data sources
Regional Availability: IDM Flow and Regional Flow layers are not available in all regions. Check the Layers panel in your project area to see which regional reference layers are available. These layers appear in the layers panel only when available for your location.

Overlay Combinations

Different overlay combinations reveal different insights about your field's drainage characteristics.

Common Combinations:

Problem Area Identification:

  • Enable: Wetness Potential + Depressions + Ponding Predictor
  • Purpose: Identify all areas with poor drainage
  • Use: Initial system planning

Natural Flow Analysis:

  • Enable: Major Flow Paths + Depressions
  • Purpose: Understand where water naturally flows and collects
  • Use: Outlet placement and main drain routing

Wetness Assessment:

  • Enable: Wetness Potential + Ponding Predictor
  • Purpose: See both predicted wetness and ponding risk areas
  • Use: Validating wetness predictions and identifying highest priority areas

Clean Design View:

  • Enable: None (all off)
  • Purpose: Focus only on your drainage design and terrain
  • Use: Final design review and exports

Overlay Layering Order:

When multiple overlays are enabled, they stack in this order (bottom to top):

  1. Base Layer (satellite imagery or other base map)
  2. HD Elevation (colorized elevation with hillshade)
  3. Wetness Potential Index (semi-transparent color gradient)
  4. Ponding Predictor (heat map overlay)
  5. Depressions (grayscale overlay)
  6. Major Flow Paths (flow lines)
  7. Your Drainage Lines (top layer)

This order ensures drainage lines are always visible and overlays don't obscure important features.

Layer Transparency

Layers are displayed with appropriate transparency levels to allow viewing of underlying base maps and drainage lines.

  • HD Elevation: Semi-transparent to allow viewing of drainage lines and field features
  • Analysis Overlays: Wetness Potential, Depressions, and Ponding overlays use semi-transparent rendering
  • Ponding Risk Slider: Adjustable threshold slider controls which areas are highlighted based on ponding risk severity

All layers are designed to be visible without obscuring important design elements like drainage lines and connections.

Managing Multiple Layers

When working with multiple analysis overlays simultaneously, use the layer controls to focus on what matters:

  • Toggle visibility: Turn off layers you're not currently analyzing to reduce visual clutter
  • Adjust opacity: Use the HD Elevation opacity control to balance terrain visibility with overlay clarity
  • Layer fading: HD Elevation automatically reduces to 35% opacity when analysis overlays are active, ensuring ponding, wetness, and flow layers remain clearly visible
Tip: Start with HD Elevation to understand terrain, then toggle on flow paths and problem area layers (Wetness, Depressions, Ponding) as needed. The 3D viewer provides an alternative perspective for complex terrain.

What Gets Saved in Projects

When you export a project, the system saves all your design work and analysis data.

Project Contents:

Your project file includes:

  • Drainage lines: All drawn lines with design parameters, grade lines, connections, and tile specifications
  • Field boundary: Boundary geometry for area calculations
  • DEM elevation data: The downloaded elevation raster for instant profile generation
  • TauDEM analysis layers: Flow paths, wetness index, ponding predictor, and depressions rasters
  • Regional settings: Project region (Canada/USA) for proper elevation data sources

Not Saved:

Layer visibility states, base layer selection, and opacity settings are not saved. When you reload a project, analysis layers return to their default visibility (usually off) - simply toggle them back on as needed.

Complete Restoration: Reloading a project restores your complete drainage design including all line modifications, connections, grade lines, and best-fit calculations, along with all analysis layers for instant visualization.

Drawing Drain Routes

Create and modify drainage lines on the map

Typical Drainage Design Workflow

Designing a drainage system in Geo-Surface Drain Pro follows a logical progression from initial sketching to final optimization:

1
Draw Main Drains
Start at your outlet location and sketch main drainage lines uphill, following natural flow paths (visible in Major Flow Paths layer)
2
Add Secondary Drains
Draw laterals, submains, or tributaries connecting to your mains. Use the Offset tool to create evenly-spaced patterns
3
Modify & Refine
Use Extend, Trim, and Offset tools to adjust line positions and ensure proper connections
4
Set Design Parameters
Configure minimum grade, target depth, and depth constraints for each drainage type
5
Optimize with Best Fit
Run Best Fit algorithm to automatically optimize grade while maintaining specified depth constraints
6
Calculate Tile Sizing
Determine pipe sizes based on drainage coefficient, contributing area, and flow calculations
Iterative Process: Drainage design is rarely linear. You'll often cycle back to refine line placement, adjust parameters, and re-run Best Fit as you optimize your design. The workflow shown above represents a typical path, but feel free to iterate as needed.

PLANNING DRAINAGE

Creating drainage lines is the core of your design work. The drawing tools allow you to quickly sketch out your drainage system directly on the map.

Drawing Tools Overview

Understanding Drainage Types

Before drawing any line, you must select what type of drain you're creating. The system enforces a hierarchical structure where main drains must be drawn first, then secondary drains connect to them.

System Types:

  • Surface: Open ditches that move water across the field surface
  • Tile: Subsurface pipes that drain water through the soil

Drainage Types by System:

Surface System (Ditches):

  • Main Drain: Primary outlet drain - can be drawn anytime
  • Tributary: Secondary drain that connects to a main or another tributary - requires existing surface main

Tile System (Subsurface):

  • Main: Primary outlet line - can be drawn anytime
  • Sub-Main: Large secondary line feeding into main - requires existing tile main
  • Lateral: Field drain connecting to main or sub-main - requires existing tile main or sub-main
Hierarchy Enforcement: You MUST draw at least one main drain before you can draw any secondary drains (tributaries, sub-mains, or laterals). Secondary drain options are disabled until a compatible main exists.

Drainage Type Selection

Every time you draw a new line, you must select its drainage type through a popup dialog.

Selection Process:

  1. Click Draw Line: The Drainage Type Selector popup appears over the map
  2. Choose System Type: Click Surface or Tile (your choice is remembered for future lines)
  3. Choose Drainage Type: Select the specific type you want to draw:
    • If drawing your first line, only Main options are available
    • Secondary options (Tributary, Sub-Main, Lateral) appear grayed out with tooltip "Draw a [system] main first"
    • After a main exists, secondary options become enabled
  4. Popup Closes: Drawing mode activates with your selected type
System Type Persistence: The app remembers your last selected system type (Surface/Tile). If you're designing a full surface system, you won't need to keep switching - just select Main or Tributary for each new line.

Connection Enforcement (30-Foot Rule)

When drawing secondary drains (Tributaries, Sub-Mains, Laterals), the system enforces that they MUST connect to an existing compatible main drain.

How Connection Enforcement Works:

  1. After Selecting Secondary Type: A red tooltip appears following your cursor: "Move cursor near existing drain to start drawing"
  2. Move Within 30 Feet: Position your cursor within 30 feet of a compatible main drain
    • Tributary: Must start near surface main or another tributary
    • Sub-Main: Must start near tile main
    • Lateral: Must start near tile main OR sub-main
  3. Tooltip Disappears: When within range, the red tooltip vanishes - you're cleared to draw
  4. Click to Start: Your first click (outlet point) must be within 30 feet or you'll get an alert: "Please start drawing within 30 feet of a [type] drain"
  5. Draw Normally: After the valid first click, draw uphill normally - only the starting point needs connection enforcement
Enforcement is Mandatory: There is no way to bypass the 30-foot connection requirement for secondary drains. This ensures your drainage system maintains proper hierarchical connections for flow calculations and system integrity.

Drawing Process (After Type Selection)

After selecting your drainage type and passing connection enforcement (if applicable), follow these steps to draw the line:

Step-by-Step:

  1. Place First Point (OUTLET):
    • Click on the map at the outlet (downstream/low point) where the drain exits
    • For secondary drains, this MUST be within 30 feet of compatible main
    • This is where water flows OUT of the drainage system
    • A marker appears at the outlet point
  2. Add Vertices (Draw Uphill):
    • Click additional points moving uphill toward the inlet
    • The line draws between points as you click
    • Add as many vertices as needed to follow the desired route
  3. Finish the Line (INLET):
    • Double-click at the inlet (upstream/high point) to complete
    • The line is saved and the profile chart updates with full elevation data

Drawing Tips

  • Direction Matters: ALWAYS start at the outlet (downstream/low) and draw uphill to the inlet (upstream/high) - this establishes correct flow direction
  • Follow Terrain: Use analysis layers (Flow Paths, Wetness Index) to identify natural drainage routes
  • Vertex Spacing: Place vertices every 50-100 feet for smooth curves on standard field drains
  • Straight Sections: Use fewer vertices for straight runs
  • Canceling: Press ESC to cancel drawing and discard the current line
Drain Pro Feature: Drawing drainage lines with real-time elevation profiles is only available in Geo-Surface Drain Pro Drain Pro.
Drain Pro Tip: After completing your line, review the profile chart to verify your drainage line maintains adequate depth and grade throughout. The chart displays elevation and depth at each vertex.

Keyboard Shortcuts

Speed up your workflow with these keyboard shortcuts:

  • ESC: Cancel current drawing/editing operation - your universal "undo current action"
  • Double-Click: Complete drawing operation when using the Draw tool

Managing Drainage Lines

Select, view, and delete existing drainage lines

Selecting Lines

Before you can view parameters, modify design settings, or use editing tools, you must select a line from the Profile dropdown menu.

Selection Process:

  1. Locate the Profile dropdown in the Design toolbar (labeled "Select Profile...")
  2. Click to see all drainage lines organized hierarchically by type and level
  3. Select the line you want to work with
Profile dropdown showing hierarchical organization of drainage lines

Profile dropdown showing hierarchical organization of drainage lines by type and level

What Happens After Selection:

  1. Chart Updates: Profile chart redraws showing the selected line's elevation profile
  2. Parameters Load: Design parameters populate with the selected line's saved values:
    • Offset/Target Depth (label changes based on Surface/Tile type)
    • Min/Max Depth constraints
    • Minimum Grade
  3. Fallback to Defaults: If line has no saved parameters, system uses global defaults
  4. Grade Line Restoration: If line had a Best Fit grade line, it's automatically restored to the chart
  5. Depth Lines Display: Min/Max depth constraint bands appear on chart if configured
  6. Map Updates: Vertex points display on map, labels refresh
  7. Missing Elevations: If elevation data hasn't been fetched yet, system automatically fetches from DEM

Hierarchical Organization:

Lines appear in the dropdown organized by drainage type and hierarchy level:

  • Surface System: SM-1, SM-2 (Surface Mains) with ST-1.1, ST-1.2 (Tributaries) nested below
  • Tile System: TM-1, TM-2 (Tile Mains) with TSM-1.1 (Sub-Mains) and TL-1.1.1 (Laterals) nested below
Empty Dropdown: If the dropdown shows only "Select Profile..." with no lines, you haven't drawn any drainage lines yet. Use the Draw Line button to create your first drain.

Deleting Lines

Remove drainage lines that are no longer needed. The system includes cascading deletion logic to handle dependent secondary drains.

Deletion Process:

  1. Select the line from the Profile dropdown
  2. Click Delete Selected Profile button
  3. System checks for dependent secondary drains connected to this line
  4. Confirmation dialog appears with details about what will be deleted
  5. Confirm to proceed with deletion

What Gets Deleted:

  • Map Feature: Line geometry removed from map
  • Hierarchy Entry: Line removed from drainage hierarchy system
  • Line Data: All stored data (coordinates, elevations, parameters) deleted from linesData
  • Best Fit Markers: Any violation markers for this line cleared
  • Profile Chart: Chart destroyed and cleared
  • Grade Lines: Any grade overlays cleared
  • Connection References: Cleanup of any connection metadata pointing to this line

Cascading Deletion:

If you delete a main drain that has secondary drains connected to it:

  1. System detects dependent lines using cascadingDeleteHelper
  2. Warning message lists all lines that will be deleted: "Deleting [Main] and X connected line(s)"
  3. All dependent secondaries are deleted along with the main
  4. This prevents orphaned secondary drains with no outlet

After Deletion:

  • Dropdown Rebuilt: Profile dropdown refreshes with remaining lines
  • Auto-Select Next: If lines remain, first available line auto-selected
  • Button Disabled: If all lines deleted, Delete button becomes disabled
No Undo: Deletion is permanent with NO undo function. Once confirmed, the line and all its data are permanently removed. Save your project frequently, especially before deleting multiple lines. The only way to recover is from a saved project backup.
Clear All Lines: The Clear ALL Profiles button (red, dangerous) deletes EVERY drainage line in your project. Use with extreme caution - this cannot be undone.

Drainage Hierarchy

Understanding automatic drainage line naming and organization

Hierarchical Drainage Naming System

Geo-Surface Drain Pro automatically organizes your drainage lines into a hierarchical naming system. Every drainage line receives a human-readable name that instantly shows its type, position, and relationship to other drains. This naming appears throughout the interface - in the Profile dropdown, on map labels, in exports, and in reports.

Automatic Assignment: You never manually enter line names. The system generates hierarchical IDs automatically when you draw lines, based on drainage type and connection detection (30-foot tolerance).
Drainage hierarchy system showing main drains and connected secondary drains

Hierarchical drainage organization showing main drains (S1, T1) and their connected secondary drains (tributaries, laterals, sub-mains)

Main Drain Naming:

Main drains receive simple sequential numbers based on their type:

  • Surface Mains: S1, S2, S3, S4...
    • First surface main you draw becomes S1
    • Second surface main becomes S2
    • And so on...
  • Tile Mains: T1, T2, T3, T4...
    • First tile main you draw becomes T1
    • Second tile main becomes T2
    • Counter is separate from surface mains
Drawing Order Matters: The main drain you draw FIRST becomes "1", the second becomes "2", etc. If you delete a main drain, its number is NOT reused - remaining drains keep their original numbers.

Secondary Drain Naming:

Secondary drains (laterals, tributaries, sub-mains) are named based on which main they connect to:

  • Surface Tributaries: S1-TR1, S1-TR2, S2-TR1...
    • Prefix shows which surface main they connect to (S1, S2, etc.)
    • TR indicates "Tributary"
    • Number increments for each tributary on that main
    • Example: S1-TR3 = third tributary connected to surface main S1
  • Tile Laterals: T1-L1, T1-L2, T2-L1...
    • Prefix shows which tile main (or sub-main) they connect to
    • L indicates "Lateral"
    • Number increments for each lateral
    • Example: T1-L15 = fifteenth lateral connected to tile main T1
  • Tile Sub-Mains: T1-SM1, T1-SM2, T2-SM1...
    • Prefix shows which tile main they connect to
    • SM indicates "Sub-Main"
    • Number increments for each sub-main
    • Example: T1-SM2 = second sub-main connected to tile main T1

Nested Hierarchies:

The system supports multi-level hierarchies where secondary drains can connect to other secondary drains:

  • Laterals Connected to Sub-Mains: T1-SM1-L1, T1-SM1-L2...
    • Shows the full chain: "connected to sub-main SM1, which connects to main T1"
    • Example: T1-SM2-L8 = eighth lateral connected to the second sub-main of tile main T1
  • Tributaries Connected to Tributaries: S1-TR1-TR1, S1-TR1-TR2...
    • Rare, but system supports nested tributary connections
    • Shows parent tributary hierarchy

Connection Detection:

When you draw a secondary drain, the system automatically detects which main it connects to:

  1. 30-Foot Tolerance: System checks if your line's outlet (first point) is within 30 feet (9.144 meters) of an existing compatible main drain
  2. Type Compatibility:
    • Surface tributaries → must connect to surface mains (or other surface tributaries)
    • Tile laterals → can connect to tile mains OR tile sub-mains
    • Tile sub-mains → must connect to tile mains ONLY
  3. Nearest Compatible Main: If multiple compatible mains are within 30 feet, connects to the nearest one
  4. Auto-Naming: Once connection detected, hierarchical ID is generated immediately
Visual Feedback: When you draw a secondary drain, watch the Profile dropdown - the line name appears immediately showing which main it connected to. If you see "L-ORPHAN" or "TR-ORPHAN", your line didn't connect within 30 feet of a compatible main.

Practical Examples:

Typical Tile System:

  • T1 - Main tile drain running down center of field
  • T1-L1 - First lateral drawn from T1 (north side)
  • T1-L2, T1-L3, T1-L4... - Additional laterals offset from T1-L1
  • T1-L15, T1-L16... - Laterals on opposite (south) side of T1
  • Total: 1 main + 30 laterals = system handles T1-L30 automatically

Complex Multi-Main System:

  • T1 - First tile main (west field)
  • T1-L1 through T1-L20 - Laterals on T1
  • T2 - Second tile main (east field)
  • T2-L1 through T2-L25 - Laterals on T2 (numbering starts over at L1)
  • S1 - Surface main collecting water from both tile systems

System with Sub-Mains:

  • T1 - Primary tile main
  • T1-SM1 - First sub-main branching from T1
  • T1-SM1-L1, T1-SM1-L2... - Laterals connecting to the sub-main
  • T1-L1, T1-L2... - Laterals connecting directly to main T1
  • Clear differentiation: T1-L5 connects to main, T1-SM1-L5 connects to sub-main

Where Hierarchical Names Appear:

  • Profile Dropdown: Lines organized hierarchically (S1, S1-TR1, S1-TR2, T1, T1-L1...)
  • Map Labels: Each line labeled with its hierarchical ID
  • KML/CSV Exports: Line names in exported files
  • PDF Reports: Materials list and flow calculations organized by hierarchy
  • Console Logs: Debugging messages reference hierarchical IDs
Orphan Lines: If you see IDs like "L-ORPHAN-1234567890" or "TR-ORPHAN-1234567890", your secondary drain did NOT connect to a valid main within 30 feet. You need to redraw the line so its outlet (first point) is within 30 feet of a compatible main drain. Orphan lines cannot be properly included in flow calculations or material lists.
Hierarchy Preservation: When you modify lines using Trim, Extend, or Offset tools, the hierarchical ID is preserved. The line keeps its name even after geometric changes. Only deletion or creating a brand new line changes hierarchy.

Offset Line Tool

Create parallel tile laterals from a template line

Offset Line Tool creating parallel tile laterals from a template line

Offset Line Tool creating systematic parallel tile laterals by translating a template line along the main drain

Offset Line Tool - Creating Parallel Tile Laterals

The Offset Line Tool is one of the most powerful features for tile drainage design. It creates parallel offset copies of tile laterals by translating them along the main drain. This is the essential tool for quickly designing uniform tile lateral patterns from a template line. While the tool can technically offset surface tributaries (rare) or tile sub-mains, its primary purpose is creating systematic tile lateral arrays.

Critical Tool: The offset tool is the primary method for creating parallel tile laterals in systematic patterns. Instead of drawing each lateral individually, you draw one template lateral and offset it multiple times to fill the field.

How It Works (Translation Method):

The tool does NOT create perpendicular offsets. Instead, it translates the entire parent line geometry by moving it along the main line:

  1. Finds where your template (parent) line connects to the main drain
  2. Calculates a new connection point by moving the specified distance along the main
  3. Translates ALL coordinates of the parent line by the vector between old and new connection points
  4. Snaps the first vertex (outlet) to the new connection point on the main
  5. Trims if the line crosses the main at the outlet end
  6. Applies break line trimming/extension if configured (see below)

Offset Parameters:

1. Offset Distance (5-500 feet):

  • Spacing between parallel lines measured ALONG the main drain
  • Typical tile lateral spacing: 40-60 feet
  • Range validation: 5 feet minimum, 500 feet maximum

2. Number of Offsets (1-999):

  • How many parallel copies to create
  • Disabled when "Fill to End" is checked

3. Fill to End (checkbox):

  • When checked, automatically creates offsets until reaching the end of the main line
  • Calculates how many will fit based on main line length
  • Stops when next offset would exceed main line bounds
  • Most common option for systematic tile lateral patterns

4. Direction:

  • "Towards Outlet": Creates offsets moving downstream toward outlet (distance decreases)
  • "Towards Inlet": Creates offsets moving upstream toward inlet (distance increases)

Break Line Feature:

This is a critical feature for creating uniform lateral lengths!

The break line is a visual guide line (orange dashed) you draw across your field to define where all offset laterals should end:

  1. Draw Break Line: Click the Draw Break Line button in the offset tool
  2. Draw Across Field: Click points to draw a line across where laterals should terminate (typically field boundary or headland)
  3. Double-Click to Finish: Complete the break line
  4. Create Offsets: Now when you create offsets, each lateral will:
    • If it intersects the break line: trim to that intersection point
    • If it doesn't reach the break line: extend up to 1000m to meet it
  5. Auto-Clear: Break line automatically clears after offsets are created
Typical Workflow: Draw your template lateral from main to field edge, then draw a break line along the opposite field boundary or headland. When you create offsets with "Fill to End", all laterals will be trimmed/extended to the break line, creating uniform lengths across the field.
Parallel tile laterals created with offset tool using breakline to determine endpoints

Parallel laterals created with offset tool, with breakline determining where each lateral ends following terrain and priority drainage area

Restrictions (Code-Enforced):

  • Secondary Drains Only: Primarily used for tile laterals. Can technically offset surface tributaries (rare) or tile sub-mains, but main drains CANNOT be offset.
  • Valid Connection Required: Parent line must have a valid connection to a main drain
  • Main Must Exist: The main drain must still exist in the project

What Gets Copied to Offset Lines:

Each offset line inherits from the parent template:

  • Design Parameters: Min Depth, Max Depth, Target Depth/Offset, Min Grade
  • Drainage Type: Same type as parent (tile-lateral, surface-tributary, etc.)
  • Main Connection: Each offset connects to the main at its calculated position

NOT Copied (Recalculated Fresh):

  • Grade line (each gets fresh Best Fit calculation)
  • Reverse inlet/outlet flag
  • Selected/best fit points

Auto Best Fit Processing:

After creating offsets, the system automatically:

  1. Fetches elevation data for each new line
  2. Switches to each line sequentially
  3. Runs Best Fit algorithm to calculate optimal grade
  4. Displays depth violation markers if any exist
  5. Switches back to parent line when complete

Step-by-Step Offset Workflow:

  1. Draw Template Lateral: Draw ONE lateral from main to desired field edge
  2. Set Design Parameters: Configure depth constraints and grade for the template
  3. Run Best Fit: Optimize the template lateral's grade
  4. (Optional) Draw Break Line: If you want uniform lateral lengths, draw a break line across the field boundary
  5. Select Template: Select your template lateral from the Profile dropdown
  6. Open Offset Tool: Click Offset button
  7. Configure Offset Parameters:
    • Offset Distance: 40-60 feet (typical)
    • Check "Fill to End" to auto-fill
    • Choose direction (usually "Towards Outlet" or "Towards Inlet")
  8. Create Offsets: Click offset button - parallel laterals are created automatically
  9. Review Results: System auto-runs Best Fit on all new laterals and displays any violations
Hierarchical Naming: Offset laterals automatically receive hierarchical IDs based on their connection to the main. For example, if template is T1-L1, offsets become T1-L2, T1-L3, T1-L4, etc.
Clear Break Line: If you want to create a second set of offsets with a different break line, click Clear Break Line first, then draw a new one. The break line auto-clears after offset creation, but you can manually clear it anytime.

Line Modification Tools

Advanced tools for extending and trimming drainage lines

Overview of Modification Tools

Beyond basic drawing and editing, Geo-Surface Drain Pro Drain Pro provides specialized tools for common drainage design tasks like extending lines to meet connections and trimming excess length.

Drain Pro Feature: Line modification tools are only available in Geo-Surface Drain Pro Drain Pro.

Extend Line Tool

The Extend tool lengthens a drainage line from its inlet (upstream) end by drawing additional vertices. Commonly used for connecting laterals to mains, adjusting inlet positions, or lengthening existing lines to better follow terrain.

Using the Extend Tool:

  1. Select the line: Choose the drainage line you want to extend from the profile dropdown
  2. Activate tool: Click the Extend button in the Design toolbar
  3. Immediate feedback: A solid blue line immediately appears from the inlet vertex to your cursor, showing the extension path
  4. Add vertices: Click on the map to add extension points (exactly like continuing to draw an existing line)
  5. Complete extension: Double-click to finish the extension

What Happens After Extension:

The system automatically processes the extended line:

  • Elevation data: Fetched for all new extension points
  • Auto best fit: Grade line recalculated for the entire extended line
  • Auto min/max: Depth constraints automatically applied
  • Connection validation: If a secondary drain, connection to main is validated
  • Profile refresh: Chart updates to show the extended line with new grade line
Preserved Attributes: The extension preserves line identity, hierarchical ID (e.g., S1, T2-3), drainage type, and all design parameters (offset/target depth, min/max depth, min grade). The line remains the same entity with the same connections - it's just longer.
ESC to Cancel: Press ESC at any time before double-clicking to cancel the extension and return to normal mode. The original line remains unchanged.

Trim Line Tool

The Trim tool shortens drainage lines by drawing a cut line across them. It keeps the outlet (downstream) portion and removes the inlet (upstream) portion.

Using the Trim Tool:

  1. Click the Trim button in the Design toolbar (you do NOT need to select a line first)
  2. Click on the map to draw a cut line across the drainage line(s) you want to trim
  3. The cut line can cross multiple drainage lines simultaneously
  4. Double-click to complete the cut line
  5. All intersecting lines are automatically trimmed at the cut line
  6. The outlet (downstream) portion is kept, the inlet (upstream) portion is removed
Trim tool before and after comparison showing lateral lines being trimmed at cut line

Before/after comparison showing multiple lateral lines trimmed with a cut line, keeping only the downstream portions

Batch Trimming: The Trim tool is efficient for trimming multiple lines at once - simply draw the cut line across all the lines you want to trim in a single operation. Press ESC to cancel trimming before double-clicking to complete.

Tool Limitations and Considerations

Important notes when using line modification tools:

  • Boundary Constraints: Extended or trimmed lines may go outside your field boundary. Review and adjust as needed.
  • Elevation Updates: All line modifications automatically recalculate elevation profiles and fetch new elevation data
  • Connection Validation: The system automatically enforces connections. Extended lines will connect if they reach within 30 feet of another line.
  • No Undo: There is no undo function. If you make a mistake, delete the line(s) and try again, or restore from a saved project backup.
  • ESC to Cancel: Press ESC at any time during Extend or Trim operations to cancel before completing.

Connection Enforcement

How the system ensures secondary drains connect to compatible mains

Automatic Connection Enforcement

Geo-Surface Drain Pro enforces mandatory connections for secondary drainage lines (laterals, tributaries, sub-mains). The system prevents you from drawing secondary drains unless they start within 30 feet of a compatible main drain. This ensures proper hierarchical naming and flow calculations.

Main Drains vs. Secondary Drains: Main drains (Surface Main, Tile Main) can be drawn anywhere with no restrictions. Secondary drains (laterals, tributaries, sub-mains) MUST start within 30 feet of a compatible existing main drain.
Connection enforcement showing secondary drains connected to main drain within 30-foot tolerance

Connection enforcement ensuring secondary drains start within 30 feet of compatible main drain

How Connection Enforcement Works:

  1. Select Secondary Drain Type: When you click Draw or GPS Survey and select a secondary type (Tile Lateral, Surface Tributary, Tile Sub-Main), connection enforcement activates immediately
  2. Red Tooltip Appears: A red tooltip follows your cursor displaying:
    • "Move cursor near tile main or sub-main to start drawing" (Tile Lateral)
    • "Move cursor near existing surface drain to start drawing" (Surface Tributary)
    • "Move cursor near tile main to start drawing" (Tile Sub-Main)
  3. Real-Time Distance Checking: As you move the mouse, the system continuously checks if your cursor is within 30 feet of a compatible main drain
  4. Tooltip Disappears When In Range: When you move within 30 feet of a compatible main, the red tooltip hides - you can now click to start drawing
  5. Click Blocked if Out of Range: If you try to click when NOT within 30 feet, the system blocks the click and shows an alert: "Please start drawing within 30 feet of a [type] drain"
  6. Drawing Allowed When In Range: Once you click within 30 feet of a compatible main, drawing starts normally and enforcement cleans up
Important: Connection enforcement checks where you START drawing (the outlet/first point). You must begin your line within 30 feet of a compatible main. The rest of the line can go anywhere.

Type Compatibility Rules:

Different secondary drain types can only connect to specific main types:

Secondary Type Can Connect To Cannot Connect To
Tile Lateral Tile Main OR Tile Sub-Main Surface drains, other laterals
Tile Sub-Main Tile Main ONLY Surface drains, other sub-mains, laterals
Surface Tributary Surface Main OR other Surface Tributaries Tile drains
Nested Connections: Notice that Surface Tributaries can connect to other Surface Tributaries, and Tile Laterals can connect to Tile Sub-Mains. This allows for nested hierarchies like S1-TR1-TR1 or T1-SM1-L1.

Connection Detection After Drawing:

Once you finish drawing a secondary drain, the system automatically:

  1. Checks which compatible main is closest to the outlet (first point) you drew
  2. Verifies the distance is within 30 feet (9.144 meters)
  3. Validates type compatibility using the rules above
  4. If valid connection found: Assigns hierarchical ID (T1-L1, S1-TR2, etc.)
  5. If NO valid connection: Creates "ORPHAN" line (L-ORPHAN-1234567890)

The 30-Foot Rule:

Why 30 feet?

  • Prevents False Connections: Lines that pass near each other without actually connecting won't be incorrectly linked
  • Enforces Intentional Design: You must deliberately draw lines close enough to show connection intent
  • Practical Field Tolerance: 30 feet accounts for typical GPS inaccuracy and design flexibility
  • Works for All Scales: Appropriate for both small fields (few acres) and large operations (hundreds of acres)

Orphan Lines - When Connections Fail

An "orphan line" is a secondary drain that failed to connect to any compatible main within 30 feet. Orphan lines are named with the pattern: L-ORPHAN-[timestamp], TR-ORPHAN-[timestamp], or SM-ORPHAN-[timestamp].

Why Lines Become Orphans:

  • Drawn Too Far Away: You started drawing more than 30 feet from the nearest compatible main
  • Wrong Type Nearby: Closest drain within 30 feet was incompatible type (e.g., drew Tile Lateral near Surface Main)
  • No Main Exists Yet: You drew a secondary drain before drawing any compatible main drain
  • GPS Survey Inaccuracy: GPS position drifted during field survey, placing outlet outside 30-foot range
Impact of Orphan Lines: Orphan lines cannot participate in hierarchical flow calculations, material lists, or proper exports. They appear in the Profile dropdown but are essentially unusable until you fix the connection.

How to Fix Orphan Lines:

You MUST delete the orphan line and redraw it properly. There is no "reconnect" tool. Follow these steps:

  1. Select the orphan line from the Profile dropdown (look for L-ORPHAN, TR-ORPHAN, etc.)
  2. Note where it should have connected to the main
  3. Click Delete Selected Profile (trash icon)
  4. Redraw the line with its outlet (first point) within 30 feet of the appropriate main
  5. Verify it receives proper hierarchical name (T1-L5, S1-TR3, etc.)
Prevention: Always draw main drains FIRST, then draw secondary drains with their outlets (first points) starting near the main. Watch for the red tooltip to disappear before clicking to start drawing.

Connection Enforcement FAQ

Can I turn off connection enforcement?

No. Connection enforcement is mandatory for the hierarchical naming system to work. Without it, secondary drains wouldn't know which main to connect to, and flow calculations would be impossible.

Can I move a line after drawing to "break" the connection?

No. There are no tools to move, drag, or reposition existing lines. Connections are established when you finish drawing and cannot be changed afterward. To change a connection, you must delete the line and redraw it.

Can I use the Extend tool to connect an orphan line?

No. The Extend tool only extends the INLET end (last point) of a line. Connections are based on the OUTLET end (first point). You cannot use Extend to fix orphan lines - you must delete and redraw.

Do I see visual markers at connection points?

No. There are no dots, markers, or visual indicators showing where lines connect. The only visual feedback is the hierarchical naming: if a lateral shows "T1-L5", you know it connected to tile main T1.

What happens if I delete a main drain that has laterals connected to it?

The system uses cascading deletion. When you delete a main, ALL secondary drains connected to it (laterals, tributaries, sub-mains) are automatically deleted as well. The system will warn you and list all affected lines before deletion.

Can a lateral connect to multiple mains?

No. Each secondary drain connects to exactly ONE main drain. The connection is determined by which compatible main is closest to the outlet (first point) within 30 feet.

Project Backup & Restore

Save and reload complete project designs

Understanding Project Files

Geo-Surface Drain Pro can save your entire project state to a single compressed file, allowing you to resume work later, share designs with colleagues, or maintain backups of your work. Project files contain everything needed to restore your design exactly as you left it.

File Format: Projects are saved as .zip files (format: GSA_Project_[timestamp].zip) containing all project data including boundary, DEM, drainage designs, and analysis layers.

What's Included in a Project File

Project files contain a complete snapshot of your work:

  • Field Boundary: Your project area polygon (saved as KML format)
  • Elevation Data: Complete DEM for the project area (GeoTIFF format)
  • Drainage Lines: Every line with complete geometry, hierarchical IDs, drainage types
  • Design Parameters: Offset/target depth, min/max depth, min grade for each line
  • Tile Specifications: Pipe sizes, wall types, perforation types
  • Connections: Hierarchical relationships between mains and secondaries
  • TauDEM Analysis Layers: Flow direction, TWI (wetness), depressions, ponding (if generated)
  • Global Counters: Line counter and hierarchy counters for proper restoration
What's NOT Saved: Grade lines, best fit calculations, and depth violations are NOT saved. These are automatically recalculated when you restore the project using your saved design parameters. This ensures calculations are always fresh and work correctly in both Drain Pro and Lite versions.

Saving a Project

How to Save:

  1. Click the Save Project button in the Import/Export tab
  2. The system generates a timestamped .zip file (e.g., GSA_Project_2025-10-17T14-30-15.zip)
  3. Select save location on your computer
  4. The file downloads to your chosen location
Automatic Filename: The system automatically generates filenames with timestamps. You can rename the file after download to something more descriptive like "Smith-Farm-North-Final.zip" while preserving the .zip extension.
Best Practice: Save frequently during design work, and maintain multiple dated versions so you can revert to earlier states if needed. Save before making major changes like deleting multiple lines or adjusting system-wide parameters.

Loading a Project

How to Load:

  1. Click the Restore Project button in the Import/Export tab
  2. Select your project .zip file or drag-and-drop it into the file selection area
  3. If you have existing data, confirm that you want to replace it (the system warns you first)
  4. The system shows progress overlay with status messages as it loads each component
  5. Large projects may take 10-30 seconds to fully import and process

What Happens During Restore:

The system performs these steps automatically:

  • Clears existing data: Removes current boundary, DEM, drainage lines, analysis layers
  • Loads boundary: Restores field boundary from KML and displays on map
  • Loads DEM: Restores elevation data from GeoTIFF
  • Imports drainage lines: Restores all lines in proper order (mains first, then submains, then laterals)
  • Restores hierarchy: Rebuilds hierarchical ID system and connection relationships
  • Fetches elevations: Looks up elevation data for all drainage line vertices
  • Applies best fit: Runs auto best fit sequentially on every line using saved parameters
  • Validates connections: Checks connection depths and marks any violations
  • Loads TauDEM layers: Restores flow lines, wetness, ponding, depressions (if present)
  • Switches to Design tab: Automatically opens Design tab and selects first line
  • Displays profile: Shows profile chart for the first drainage line
Project restore showing drainage lines importing with auto best fit and validation running

Project restore process showing saved drainage lines importing with auto best fit and connection validations running automatically

Current Work Warning: Loading a project clears all current unsaved work. The system will warn you first and give you a chance to cancel. Save your current project before loading a different one if you want to preserve your work.
Why Recalculate?: Grade lines and best fit calculations are recalculated (not saved) to ensure they work correctly in both Drain Pro and Viewer versions. Drain Pro runs full best fit; Viewer displays terrain profiles without grade calculations. Your design parameters are preserved and applied automatically.

Sharing Projects

Project files are portable and can be shared with colleagues, clients, or contractors. To share a project:

  1. Save the project file (.zip format)
  2. Send via email, file sharing service, or cloud storage
  3. Recipient opens the file in their Geo-Surface Drain Pro instance
  4. All design data appears exactly as you saved it
Drain Pro vs Viewer: Drain Pro users can view and edit all features. Viewer (Lite) users can view the design, profiles, and analysis layers, but cannot create new designs or modify existing ones. However, grade lines and profiles display correctly for both versions since calculations happen automatically on import.

Cross-Device Usage:

Project files are device-independent and work seamlessly across different computers and operating systems:

  • Start design on desktop, continue on laptop
  • Review designs on tablet in the field
  • Transfer between office and field computers
  • Work on Windows, Mac, or Linux (browser-based)

Backup Best Practices

Follow these practices to protect your drainage designs:

  • Frequent Saves: Save after completing each major design step (boundary, DEM load, main drains, laterals, sizing)
  • Version Control: Keep dated versions rather than overwriting (e.g., Smith-Farm-v1.zip, Smith-Farm-v2.zip, Smith-Farm-Final.zip)
  • Multiple Locations: Store backups on local drive AND cloud storage (Dropbox, Google Drive, OneDrive)
  • Before Major Changes: Always save before deleting multiple lines or making system-wide parameter changes
  • Pre-Final Backup: Save a "final-draft" version before last refinements so you can revert if needed
  • Archive Completed Projects: Keep final versions in organized project folders by client/property/year
Organization Tip: Create a folder structure like: Projects → ClientName → PropertyName → Year. Store all project versions for a property in its folder. This makes finding past projects and tracking revisions much easier.

Exporting Your Designs

Export maps, designs, and field-ready installation files

Export Overview

Geo-Surface provides multiple export formats for presentations, field installation, GIS integration, and equipment control systems. All export buttons are located in the Import/Export tab.

Export Categories:

  • Quick Exports: Map snapshots and PDFs for documentation
  • Field-Ready Exports: Georeferenced images and design data for GPS-guided equipment (Ditch Assist, SD Drain, Ditch Drain Pro, T3RRA, etc.)
  • Analysis Data: Flow analysis layers and terrain processing results
  • Raw Data: LiDAR elevation data (GeoTIFF) for external processing
Location: All exports are accessed from the Import/Export tab in the sidebar. Project Backup/Restore and PDF Reports have their own dedicated sections in this manual.

Save Snapshot (High-Resolution Image)

Saves a high-resolution JPG image of the current map view for presentations, reports, and documentation.

What's Saved:

  • .jpg file: High-resolution image of visible map area
  • Captures all visible layers (boundary, DEM, drainage lines, analysis overlays)
  • Double resolution (scale=2) for crisp, detailed output
  • Timestamped filename for easy organization

How to Use:

  1. Zoom and pan the map to show desired area
  2. Toggle layers on/off as needed for the snapshot
  3. Click Save Snapshot in Import/Export tab
  4. JPG image downloads automatically

Use Cases:

  • Presentations and client meetings
  • Reports and documentation
  • Email attachments and proposals
  • Social media and marketing materials
Not Georeferenced: This is a simple image file without geospatial coordinates. For georeferenced exports that load into GIS software or GPS equipment, use "Ditch Assist Image" (JPG + JGW), "BMP with World File" (BMP + BPW), or "Export Map → KMZ" instead.

Export PDF Map

Exports the current map view as a high-quality vector PDF suitable for printing, presentations, and reports.

Features:

  • Vector graphics: Crisp, scalable output (not pixelated when zoomed)
  • Automatic orientation: Landscape for desktop (≥1024px width), Portrait for mobile/tablet
  • Current view: Exports exactly what you see on screen
  • All layers: Includes boundary, DEM, drainage lines, analysis overlays as shown
  • Timestamped filename: Automatically named with date/time

Best Practices:

  • Zoom to show the area you want in the PDF before exporting
  • Toggle layers to show only what's needed (hide unnecessary overlays)
  • Use on desktop for landscape orientation (better for most presentations)
  • Ideal for client presentations, reports, and documentation

Ditch Assist Image

Creates a georeferenced image of your map view that loads directly into Ditch Assist as a reference layer - the recommended workflow for using Geo-Surface designs with Ditch Assist equipment.

What's Generated:

  • .jpg file: High-resolution georeferenced map image
  • .jgw world file: Geospatial coordinates for automatic GPS alignment
  • Shows boundary, drainage lines, terrain context, and all visible layers
  • Automatically aligns with GPS position in Ditch Assist

How to Load in Ditch Assist:

  1. Click Ditch Assist Image button in Import/Export tab
  2. Enter optional field name (or leave blank)
  3. Download both files (e.g., "North-Field-Ditch-Assist-2025-01-15.jpg" and ".jgw")
  4. Transfer both files to your Ditch Assist tablet (USB or cloud)
  5. In Ditch Assist, go to Manage Layers
  6. Select ADD > Image File
  7. Browse to and select both the .jpg and .jgw files by long pressing them to add to the map
  8. Map overlay appears georeferenced on your GPS position
Recommended Workflow: This is the preferred method for using Geo-Surface designs with Ditch Assist. View your design as a reference overlay while surveying and designing in Slope-IQ, maintaining full control of your grade lines in the field.
Geo-Surface drainage design loaded in Ditch Assist with PDF report

Geo-Surface drainage design loaded into Ditch Assist for field installation, with the generated PDF report showing detailed specifications for each drainage run including lengths, grades, depths, and pipe sizes.

Ditch Assist XYZP Design (Use with Caution)

Exports all drainage lines as XYZP format files (Latitude, Longitude, Original Elevation, Design Elevation) that can be loaded directly into Ditch Assist Slope-IQ as pre-designed lines.

What's Exported:

  • .zip file containing one XYZP file per drainage line
  • Each file named with hierarchical ID (e.g., "S1_XYZP_Design.txt", "T1-L2_XYZP_Design.txt")
  • Tab-delimited format: Latitude, Longitude, Original Elevation (m), Design Elevation (m)
  • Design Elevation = pipe invert at each point along the line

Loading in Ditch Assist:

  1. Export XYZP files from Geo-Surface
  2. Extract .zip and transfer XYZP files to Ditch Assist tablet
  3. In Slope-IQ, load each XYZP file as a designed line
  4. Use Auto Height Calibration to calibrate GPS elevation to LiDAR reference
  5. Line appears with design grades already applied
Use with Extreme Caution: Loading pre-designed lines bypasses field surveying and Slope-IQ's real-time design process. GPS elevation accuracy can differ significantly from LiDAR data. Always use Auto Height Calibration and verify designs match field conditions before installing. This method is best suited for experienced users who understand the limitations.

Ditch Assist XYZ Raw (Use with Caution)

Exports drainage lines as XYZ format files (Latitude, Longitude, Original Elevation only) that can be loaded into Ditch Assist as surveys without driving the line.

What's Exported:

  • .zip file containing one XYZ file per drainage line
  • Each file named with hierarchical ID (e.g., "S1_XYZ_Raw.xyz")
  • Tab-delimited format: Latitude, Longitude, Original Elevation (m)
  • No design elevations included - only the ground surface profile

Loading in Ditch Assist:

  1. Export XYZ files from Geo-Surface
  2. Extract .zip and transfer XYZ files to Ditch Assist tablet
  3. In Slope-IQ, load each XYZ file as a survey line
  4. Use Auto Height Calibration to calibrate GPS elevation to LiDAR
  5. Design the grade in Slope-IQ as you would with a driven survey
Use with Caution: Loading survey lines without driving them means you bypass field verification. GPS elevation accuracy can differ from LiDAR. Always use Auto Height Calibration and verify the survey profile matches field observations before designing grades. Best for preliminary planning or retracing existing lines.

BMP with World File (Other Systems)

Exports current map view as a georeferenced BMP image with world file in UTM coordinates, compatible with SD Drain, Ditch Drain Pro, and other systems requiring BMP format.

What's Exported:

  • .bmp file: 24-bit uncompressed bitmap image of map view
  • .bpw world file: Geospatial coordinates in UTM projection
  • User-specified UTM zone and hemisphere
  • Captures all visible layers (boundary, DEM, drainage lines, overlays)

Export Process:

  1. Zoom and pan map to show desired area
  2. Toggle layers on/off as needed
  3. Click BMP with World File in Import/Export tab
  4. Enter UTM zone when prompted (1-60, auto-detected from map center)
  5. Enter hemisphere ('N' or 'S', auto-detected from latitude)
  6. Download BMP and BPW files
Equipment Compatibility: BMP format with UTM world files is commonly used by SD Drain, Ditch Drain Pro, and other GPS-guided drainage equipment. Consult your equipment documentation to confirm required file format and coordinate system.

Export Map → KMZ (Google Earth / T3RRA)

Exports current map view as a KMZ file containing a georeferenced ground overlay image for Google Earth and compatible systems like T3RRA.

What's Exported:

  • .kmz file: Compressed KML with embedded PNG image
  • Current map view as georeferenced ground overlay
  • Automatically positioned at correct location and extent in Google Earth
  • Captures all visible layers at time of export

Use Cases:

  • Google Earth visualization: View your design context in 3D terrain
  • T3RRA and compatible systems: Load as background reference layer
  • Client presentations: Share designs in familiar Google Earth interface
  • Planning and verification: Check routing and context before field work
Note: The KMZ contains a map image overlay, not vector drainage line data. For vector line exports, use "Export Design → KML" or "Export Design → Shapefile" below.

Export Design → Shapefile

Exports all drainage lines as an ESRI Shapefile (WGS84) with complete design attributes, ideal for GIS software, CAD systems, and custom machine control workflows.

What's Exported:

  • .zip file containing shapefile components (.shp, .shx, .dbf, .prj)
  • All drainage lines as LineString features in WGS84 (EPSG:4326)
  • Complete attribute table with design parameters for each line:
    • Hierarchical ID, drainage type, length (feet and meters)
    • Target depth, required starting depth, min/max depths
    • Min grade, pipe size, wall type, perforation type
    • Inlet/outlet elevations, elevation drop, average grade
    • Connection information (connected to which main, at what distance/depth)
    • Depth violation count

Use Cases:

  • GIS integration: Import into QGIS, ArcGIS, or other GIS platforms
  • CAD workflows: Load into AutoCAD, Civil 3D, or other CAD software
  • Custom machine control: Convert to machine-specific formats using GIS tools
  • Data analysis: Query and analyze design attributes in database software
  • SMS/AgLeader workflows: Import as guidance layer, then export to your specific system
Recommended for SMS Users: Import the shapefile or KML into SMS as 'Guidance', then export to your specific equipment format. This workflow is confirmed to work with most guidance systems.

Export Design → KML

Exports drainage lines as a KML file with 2D line vectors and hierarchical ID labels for Google Earth, Ditch Assist, and GIS software.

What's Exported:

  • .kml file: Google Earth/OGC KML format
  • All drainage lines as 2D LineString features
  • Each line labeled with hierarchical ID (S1, T1-L3, etc.)
  • Lines appear on ground surface (not positioned at depth)

Use Cases:

  • Google Earth reference: Simple line overlay for planning and visualization
  • Ditch Assist layers: Load as reference layer to see line IDs in field
  • GIS import: Open in QGIS, ArcGIS, or other KML-compatible software
  • SMS/AgLeader workflows: Import as guidance layer for conversion to equipment format
2D vs 3D: This exports 2D lines on the surface with hierarchical IDs. It does NOT include depth information or elevation data. For full 3D visualization with depth, there is no export available - use the 3D View button in the app instead.

Export Flow → KML

Exports generated flow lines from TauDEM analysis as a KML file for visualization in Google Earth, Ditch Assist, or GIS software.

What's Exported:

  • flowlines.kml: Flow direction vectors from TauDEM processing
  • Color-coded lines showing surface water flow patterns
  • Preserves all flow line attributes and styling
  • Compatible with Google Earth, QGIS, ArcGIS, Ditch Assist

Use Cases:

  • Field reference: Load into Ditch Assist to view flow patterns while working
  • Client communication: Show surface water flow issues to landowners in Google Earth
  • Design planning: Reference flow patterns when planning main drain routing
  • External analysis: Import into GIS for additional terrain analysis

Import Flow ← KML:

You can also import previously exported flow KML files back into Geo-Surface. This is useful when:

  • Continuing work on a different device
  • Loading flow analysis without re-running TauDEM processing
  • Sharing flow analysis with collaborators
Requires TauDEM Processing: Flow lines must be generated first by running "Create Drainage Layers" in the Setup tab. If no flow lines exist, the export button will have no data to export.

Download LiDAR (Raw Elevation Data)

Exports the currently loaded LiDAR elevation data as a GeoTIFF file for use in external CAD, GIS, or engineering analysis software.

What's Exported:

  • GeoTIFF file: Raster elevation data with embedded spatial reference
  • Complete DEM for your project area in EPSG:3857 (Web Mercator) projection
  • Same resolution and extent as loaded in the application
  • Compatible with QGIS, ArcGIS, AutoCAD Civil 3D, Global Mapper, etc.

When Available:

The Download LiDAR button becomes active after you've loaded elevation data by either:

  • Running Get Elevation Map in the Setup tab
  • Running Create Drainage Layers (TauDEM processing)
  • Importing a custom GeoTIFF via Import Custom DEM

Use Cases:

  • CAD integration: Import elevation data into AutoCAD for detailed engineering design
  • Custom analysis: Perform specialized terrain analysis in GIS software
  • Contour generation: Create custom contour maps at specific intervals
  • Volume calculations: Use in earthwork or stockpile volume analysis
  • Cross-sections: Extract elevation profiles at any location
Coordinate System: The exported GeoTIFF is in EPSG:3857 (Web Mercator) projection. Use QGIS or ArcGIS to reproject to your desired coordinate system (UTM, State Plane, etc.) if needed.

OptiSurface AGS Integration (Export & Import)

Geo-Surface Drain Pro integrates seamlessly with OptiSurface land forming design software through AGS format import/export. This powerful workflow enables you to design tile drainage systems on optimized surfaces, ensuring your drainage design accounts for planned land forming work.

What is AGS Format?

AGS (OptiSurface ASCII Grid Survey) is a simple CSV format used by OptiSurface for elevation data exchange. Each line contains: Latitude, Longitude, Elevation (meters), and an identifier (e.g., "3GRD" for grid points). Geo-Surface can both export current LiDAR surfaces to AGS and import OptiSurface design surfaces from AGS.

Complete Workflow: OptiSurface Integration

The recommended workflow for integrating land forming and drainage design:

  1. Fetch LiDAR in Geo-Surface Drain Pro: Load current field surface elevation data using "Get Elevation Map" in the Setup tab
  2. Export → OptiSurface (AGS): Click the "Export → OptiSurface" button in Import/Export tab
    • Exports current DEM as AGS file with intelligent point reduction (under 30,000 points)
    • Maintains terrain accuracy while staying within OptiSurface's point limit
    • Format: latitude, longitude, elevation, identifier
  3. Import AGS into OptiSurface: Load the exported AGS file into OptiSurface software
  4. Design Land Forming in OptiSurface: Create your optimized surface design (grades, berms, furrows, etc.)
  5. Export Design from OptiSurface: Export the designed surface as AGS format
  6. Import AGS → DEM (Back into Geo-Surface Drain Pro): Click "Import AGS → DEM" button in Import/Export tab
    • Select the OptiSurface design AGS file
    • Geo-Surface converts AGS points to shapefile format
    • Uploads to interpolation server (same as elevation points upload)
    • Server interpolates points to create continuous DEM surface
    • Interpolated DEM loads automatically as the active elevation surface
  7. Design Tile Drainage on Optimized Surface: Use Geo-Surface's drainage design tools on the imported OptiSurface design surface
    • Your drainage design now accounts for the planned land forming
    • Depths, grades, and routing are based on the final optimized terrain
    • Ensures drainage system will function correctly after land forming is complete
  8. Implementation Sequence: Install the land forming first, then install tile drainage
    • Complete OptiSurface land forming work to create the designed surface
    • Once land forming is finished, install the tile drainage system
    • Drainage system is designed for the final surface, ensuring proper function
Why This Workflow Matters: Designing drainage on the current surface doesn't account for planned land forming. By importing the OptiSurface design surface back into Geo-Surface Drain Pro, you ensure your tile drainage system is designed for the final optimized terrain. This prevents drainage depth/grade issues that would occur if you installed tiles before land forming.

Export → OptiSurface (AGS) Details:

When Available:

The Export → OptiSurface button becomes active after loading elevation data (LiDAR fetch, TauDEM processing, or custom GeoTIFF import).

What's Exported:
  • .ags file: AGS CSV format (latitude, longitude, elevation, identifier)
  • Intelligent point reduction: Automatically samples DEM using grid pattern to stay under 30,000 points
  • Boundary clipping: Only exports points within your uploaded field boundary
  • Terrain accuracy: Grid spacing calculated to maintain terrain detail while meeting point limit
  • Format example: 40.83912072, -97.130202324, 426.825, 3GRD
Export Process:
  1. Load elevation data (Get Elevation Map or TauDEM processing)
  2. Navigate to Import/Export tab in sidebar
  3. Click Export → OptiSurface button
  4. AGS file downloads automatically (e.g., "optisurface-export-20250121-143052.ags")
  5. Summary popup shows: points exported, reduction ratio, grid spacing
Point Reduction: Most LiDAR datasets contain millions of points. OptiSurface has a 30,000-point limit. Geo-Surface automatically samples your DEM using an intelligent grid pattern to stay under this limit while preserving terrain accuracy. Typical reduction ratios are 50:1 to 200:1 depending on field size and DEM resolution.

Import AGS → DEM Details:

Requirements:
  • Shapefile boundary required: You must have a shapefile boundary uploaded (not KML/KMZ)
  • Button is disabled until shapefile boundary is loaded in Setup tab
  • Boundary defines interpolation area and clips points outside field
What's Imported:
  • AGS elevation file: OptiSurface design surface exported as AGS format
  • Automatic conversion: AGS points converted to shapefile format internally
  • Server interpolation: Points uploaded to Geo-Surface server for IDW interpolation
  • Continuous DEM created: Interpolated surface loaded as active elevation layer
  • Full DEM functionality: Works exactly like LiDAR - generate analysis layers, draw drains, create reports
Import Process:
  1. Upload shapefile boundary in Setup tab (Step 1) if not already loaded
  2. Navigate to Import/Export tab in sidebar
  3. Click Import AGS → DEM button (enabled when shapefile boundary exists)
  4. Select your OptiSurface design AGS file (unzipped CSV format)
  5. Geo-Surface parses AGS, converts to shapefile, and uploads to server
  6. Server performs IDW interpolation within boundary extent
  7. Wait 30-90 seconds for interpolation (depends on field size and point count)
  8. Interpolated DEM loads automatically as active elevation surface
  9. Map view updates with new DEM colorization and extent
  10. Ready to design drainage on optimized surface!
Elevation Units: AGS import assumes elevation values are in meters (OptiSurface standard). Ensure your OptiSurface export uses meters, not feet. The interpolation server processes all elevations as meters and converts for display based on your region setting.

Use Cases:

  • Land forming + drainage integration: Design tile drainage on planned optimized surfaces
  • What-if scenarios: Test drainage designs on multiple OptiSurface design alternatives
  • Existing land forming: Import as-built survey from OptiSurface after construction to design drainage on actual final surface
  • Precision land leveling: Design drainage for laser-leveled fields by importing leveling design
Round-Trip Workflow: You can export → import → export in a continuous cycle. Export current surface to OptiSurface, refine the design, import back, design drainage, then export another AGS to OptiSurface if further refinement is needed. This iterative workflow enables optimized integration of surface and subsurface drainage systems.

PDF Reports

Generate professional drainage design reports with material estimates and cost projections

Report Overview

The PDF Report Generator creates professional drainage design reports containing system summaries, material quantities, flow calculations, cost estimates, and detailed line-by-line specifications. Reports are generated from your current design state and configuration settings.

Report Sections:

  • Title Page: Project information (name, location, owner) and full-page design map
  • System Summary: Total lengths, line counts, average depths/grades, drained acreage
  • Materials Summary: Pipe quantities grouped by size, wall type, and perforation
  • Main Lines Analysis: Contributing areas, flow rates, pipe capacity calculations
  • Lateral Statistics: Average length, depth, grade for tile laterals
  • Surface Drainage: Earthwork volumes (cubic yards) for surface drains
  • Cost Estimates: Material and installation costs by pipe specification
  • Line-by-Line Details: Complete specifications for every drainage line (Appendix)
  • Disclaimer: Design reference and liability notice
Sample PDF drainage design report pages

Sample PDF report showing title page with design map, system summary table, materials breakdown by pipe specification, and detailed line-by-line specifications including lengths, grades, depths, and pipe sizes.

Report Location: Access the Generate PDF Report button in the Import/Export tab under the Professional Reports section.

Generating a Report

Prerequisites:

  • Complete drainage system design with at least one drainage line
  • All lines should have best fit grade lines applied
  • Tile mains should have pipe sizes assigned (Auto Size Mains)
  • Map view zoomed to show complete system (captured for title page)

Generation Steps:

  1. Navigate to Import/Export tab in sidebar
  2. Scroll to Professional Reports section
  3. Click Generate Report button
  4. Report Configuration popup appears with settings
  5. Fill in project information (name, location, owner)
  6. Set drainage coefficient (default 0.375 in/24hr, typical agricultural range)
  7. Enter material and installation costs for each pipe size in your design
  8. Enter connection cost per lateral (if applicable)
  9. Enter excavation cost per cubic yard (for surface drains)
  10. Enter miscellaneous cost percentage (markup, permits, etc.)
  11. Toggle report sections on/off (Map, Materials, Flow Calcs, Earthwork, Line Details)
  12. Click Generate PDF Report
  13. Wait 5-15 seconds while report generates
  14. PDF downloads automatically (filename: project-name-YYYY-MM-DD.pdf)
Settings Saved: All cost values are saved to browser localStorage and pre-filled next time you generate a report. Update pricing once and reuse for future projects.

Configuration Options

Project Information:

  • Project Name: Appears on title page and in PDF filename
  • Location: Field location or legal land description
  • Owner: Landowner name (optional)

Drainage Coefficient:

Used to calculate peak flow rates for tile mains. Typical agricultural values:

  • 0.25 in/24hr: Light rainfall regions, well-drained soils
  • 0.375 in/24hr: Default, typical Midwest conditions
  • 0.5 in/24hr: Heavy rainfall, poorly drained soils
  • 0.625-0.75 in/24hr: Very wet sites, frequent intense storms

Pricing Fields (Dynamic):

The report configuration automatically detects all unique pipe specifications in your design and creates pricing fields for each:

  • Example: If your design uses 4" SW, 6" SW, and 8" DW pipe, you'll see pricing fields for all three
  • Material Cost ($/ft): Pipe material cost per linear foot
  • Installation Cost ($/ft): Labor and equipment cost per linear foot
  • Total Cost: Automatically calculated as (Material + Installation) × Length

Additional Costs:

  • Connection Cost Per Lateral: Fixed cost for each lateral connection (fittings, labor)
  • Excavation Cost Per Cubic Yard: Used for surface drain earthwork cost estimates
  • Miscellaneous Percentage: Markup for permits, design fees, contingency, etc.

Section Toggles:

Choose which sections to include in the report:

  • Map Snapshot: Full-page design map on title page (recommended)
  • Materials Summary: Pipe quantities by specification (recommended)
  • Main Line Statistics: Flow analysis for tile mains
  • Flow Calculations: Contributing areas and peak flow rates
  • Earthwork Summary: Volume calculations for surface drains (uses Side Slope setting)
  • Tile Overburden Summary: Pre-excavation volumes for depth violations (auto-included when applicable)
  • Line-by-Line Details: Complete appendix table with all line specifications
Cost Accuracy: Cost estimates are for budgeting purposes only. Actual project costs depend on site conditions, accessibility, soil type, water table depth, and current market pricing. Always obtain detailed quotes from contractors for accurate pricing.

Understanding Report Sections

System Summary Table:

Provides high-level metrics for the complete drainage system:

  • Total lines and total linear footage
  • Count of tile mains, submains, laterals
  • Count of surface mains and tributaries
  • Total area drained (acres) - calculated from lateral spacing and lengths
  • Average depths and grades (weighted by line length)
  • Depth and grade ranges (min/max values across all lines)

Materials Summary Table:

Grouped by pipe size, wall type, and perforation:

  • Size (diameter in inches)
  • Wall Type (SW = single-wall corrugated, DW = dual-wall smooth interior)
  • Perforation (360° for laterals, none/sock for mains)
  • Total linear feet for each specification
  • Number of lines using that specification
  • Material cost, installation cost, total cost (if pricing provided)

Main Lines Analysis Table:

Detailed flow analysis for each tile main:

  • Main line ID (hierarchical ID like T1, T2)
  • Length (linear feet)
  • Contributing area (acres) - based on connected lateral lengths
  • Average grade (percentage)
  • Average depth (inches)
  • Pipe specification (size, wall type)
  • Peak flow rate (GPM and LPM) - calculated from drainage coefficient
  • Pipe capacity (GPM) - Manning's equation flow capacity
  • Descendant count (number of connected submains/laterals)

Flow Capacity Calculations:

The report uses Manning's equation to calculate full-pipe flow capacity:

  • Accounts for pipe size, wall type (roughness coefficient), and grade
  • Single-wall corrugated: n = 0.015-0.020 (varies by size)
  • Dual-wall smooth: n = 0.012 (consistent all sizes)
  • Pipe capacity should exceed peak flow rate for adequate drainage

Lateral Statistics:

  • Count of tile laterals
  • Total, average, minimum, and maximum lengths
  • Average depth and grade

Earthwork Summary (Surface Drains):

  • Total excavation volume (cubic yards) for all surface drains
  • Volume breakdown by individual surface drain line
  • Cost estimate if excavation cost per yard provided
  • Uses trapezoidal cross-section based on your Side Slope setting

Tile Overburden Summary:

Appears when any tile lines have depth violations (depth exceeds Max Depth):

  • Total overburden length (linear feet) across all tile lines
  • Total overburden volume (cubic yards) to be pre-excavated
  • Per-line breakdown showing each line with overburden requirements
  • Volume calculated using your configured Overburden Width and Side Slope
Separate Earthwork: Overburden excavation is typically priced separately from tile installation. Use this summary for backhoe/excavator cost estimation.

Line-by-Line Details (Appendix):

Comprehensive table with complete specifications for every drainage line:

  • Line ID (hierarchical)
  • Drainage type (tile-main, tile-lateral, surface-main, etc.)
  • Length (feet and meters)
  • Inlet/outlet elevations, elevation change
  • Target depth, required starting depth, average actual depth
  • Minimum/maximum depth constraints and actual min/max values
  • Average grade, minimum grade constraint
  • Pipe size, wall type, perforation (tile lines only)
  • Connected to which main, connection distance, connection depth (secondaries only)
  • Contributing area, peak flow rate (mains only)
  • Violation flags (depth or grade violations)
Weighted Averages: System-level average depths and grades are weighted by line length - longer lines have more influence on the average. This provides a more accurate representation of overall system characteristics than simple arithmetic means.

Report Best Practices

Before Generating:

  • Run Auto Best Fit on all drainage lines
  • Use Auto Size Mains to assign appropriate pipe sizes
  • Resolve any depth or connection violations
  • Zoom map to show complete system (title page map captures current view)
  • Verify hierarchical IDs are correct (S1, T1, T1-L1, etc.)

Cost Estimate Accuracy:

  • Update material costs to reflect current market pricing
  • Installation costs vary significantly by site conditions (soil type, water table, accessibility)
  • Include connection costs for laterals (fittings, labor at junctions)
  • Add miscellaneous percentage for design fees, permits, contingency
  • Cost estimates are budgetary - obtain contractor quotes for bidding

Using Reports:

  • Client presentations: Professional reports demonstrate design thoroughness
  • Contractor bidding: Material quantities and specifications for accurate quotes
  • Design documentation: Archive reports at draft, review, and final stages
  • Permitting: Some jurisdictions require drainage plans for permits
  • Budget planning: Cost estimates help landowners plan project financing

Report Filename:

Reports are automatically named with project name and date:

  • Format: project-name-YYYY-MM-DD.pdf
  • Example: smith-north-field-2025-01-15.pdf
  • Special characters in project name are converted to hyphens
  • Easy to organize multiple revisions chronologically
Tip: Generate reports at key milestones (preliminary design, client review, final design) to document design evolution and decisions. Include different sections depending on audience - contractors need material quantities, clients need cost estimates, engineers need flow calculations.

3D Terrain Viewer BETA

Interactive 3D terrain visualization with drainage overlay

Beta Feature

The 3D Terrain Viewer is currently in beta testing. While fully functional for terrain visualization, some features are still in development. Current version provides terrain-only visualization with drainage line overlays.

Overview

The 3D Terrain Viewer uses Cesium.js technology to render your project area as an interactive 3D terrain model with colored elevation mapping and hillshading. The viewer provides an intuitive perspective view of terrain relief and drainage layout, making it easier to understand field topography and validate design decisions.

Current Capabilities:

  • 3D terrain mesh with colored elevation gradient (blue = low elevation, red = high elevation)
  • GIS-style hillshading for enhanced terrain visualization
  • Drainage line overlays (rendered as black lines on terrain surface)
  • Field boundary overlays (optional, yellow for outer boundary, red for holes)
  • Adjustable vertical exaggeration (1x-50x range, default 10x)
  • Adjustable terrain opacity (0-100%, default 80%)
  • Optional wireframe mesh overlay
  • Dynamic 3D compass showing camera orientation
  • Full camera controls for exploring terrain from any angle

Planned Future Enhancements:

  • Geolocation integration in 3D view
  • Additional layer display (TauDEM analysis layers, survey points, etc.)
  • Enhanced drainage visualization (pipe depth indicators, flow direction)
  • Measurement tools in 3D space
  • Export of 3D views and animations

Accessing the 3D Viewer

Requirements:

  • Elevation data (DEM) must be loaded for your area of interest
  • Modern web browser with WebGL support (Chrome, Firefox, Edge, Safari)
  • Stable internet connection for first launch (Cesium.js library loads on demand)

Opening the Viewer:

  1. Ensure you have successfully loaded elevation data (from LiDAR, custom GeoTIFF, or other source)
  2. The View in 3D button appears automatically once elevation data is available
  3. Click the button to launch the 3D viewer in a modal overlay
  4. First launch may take 10-20 seconds while Cesium.js library loads and terrain mesh generates
  5. Subsequent launches are nearly instant as libraries remain cached

Performance Note: Terrain mesh is generated at up to 100×100 grid resolution for optimal performance. Very large areas are automatically downsampled while preserving terrain character.

Camera Controls

Navigate the 3D view using standard Cesium camera controls:

Mouse Controls:

  • Left-click and drag: Rotate camera around the terrain (orbit view)
  • Right-click and drag: Zoom in/out
  • Middle-click and drag (or Ctrl + Left-drag): Pan view horizontally
  • Mouse wheel: Zoom in/out

On-Screen Controls:

  • Reset View button: Returns camera to default position showing entire terrain block
  • 3D Compass: Shows current heading and pitch of camera (North indicator points north, tilts with camera angle)
  • Camera Controls help: Displayed in corner of viewer for quick reference

Navigation Tip: Start with the default view, then use left-drag to orbit around terrain. Right-drag or scroll to zoom into areas of interest. The 3D compass helps maintain orientation.

Viewer Controls

Vertical Exaggeration Slider (1x - 50x):

Adjusts the vertical scale of terrain relief while keeping horizontal scale unchanged. Default is 10x exaggeration.

  • 1x: True scale (realistic but subtle on flat fields - may appear nearly flat)
  • 10x (default): Good balance for most agricultural terrain - makes gentle slopes clearly visible
  • 20x-50x: Extreme exaggeration for very flat fields or emphasizing subtle drainage patterns

Technical detail: Only terrain relief (elevation differences) is exaggerated, not absolute elevation. This prevents unrealistic "floating" terrain.

Terrain Opacity Slider (0% - 100%):

Controls transparency of the terrain mesh. Default is 80% opaque.

  • 100%: Fully opaque terrain (solid colors)
  • 80% (default): Slightly transparent, allows boundaries and base imagery to show through
  • 0-50%: Very transparent, useful for seeing drainage lines and boundaries more clearly

Layer Toggles:

  • Show Drainage Lines: ON by default. Displays all drainage lines as black polylines on terrain surface (offset 2 meters above terrain to ensure visibility)
  • Show Boundaries: OFF by default. Displays field boundaries as yellow (outer) and red (holes) polylines offset 10 meters above terrain
  • Show Wireframe: OFF by default. Displays terrain mesh grid structure as gray lines for technical visualization

Understanding the Visualization

Terrain Colors:

Elevation is mapped to a gradient color ramp:

  • Blue: Lowest elevations in the area
  • Cyan: Below-average elevations
  • Green: Mid-range elevations
  • Yellow: Above-average elevations
  • Red: Highest elevations in the area

Note: Colors are relative to elevation range within your specific area. Blue doesn't mean "sea level" - it means lowest point in your field.

Hillshading:

GIS-style hillshading is applied using a simulated light source from the northwest at 45° altitude. Slopes facing the light appear brighter, slopes facing away appear darker. This enhances perception of terrain relief and makes subtle features more visible.

Terrain Block:

The terrain is rendered as a solid 3D block extending 50 meters below the minimum elevation in your area. This provides visual context and makes the terrain appear as a physical landform rather than a floating surface. Block sides and bottom are dark gray.

Drainage Lines:

All drainage lines from your design are rendered as black polylines following the terrain surface with a 2-meter vertical offset. This ensures lines remain visible even on highly exaggerated terrain. Line thickness is 4 pixels for clear visibility.

Known Limitations

Partial LiDAR Coverage

If your area of interest spans a region where LiDAR data is only partially available (e.g., LiDAR coverage doesn't extend to all corners of your boundary), the 3D viewer may fail to load or display incomplete/distorted terrain.

Workaround: Ensure your field boundary is drawn entirely within the LiDAR coverage area. Check the 2D map view to verify elevation data is available across your entire AOI before attempting 3D visualization.

Current Limitations:

  • Terrain visualization only: Currently displays terrain mesh and drainage lines. Other map layers (TauDEM analysis, survey points, etc.) are not yet integrated into 3D view.
  • No geolocation in 3D: Your current GPS position is not displayed in the 3D viewer (available in future release).
  • Static drainage visualization: Drainage lines are shown as simple black lines. Pipe depth, diameter, and flow direction indicators not yet implemented.
  • Performance on very large areas: Terrain mesh is limited to 100×100 grid for performance. Very large areas (>1000 acres) may show less terrain detail than available in source DEM.
  • First launch delay: Cesium.js library (~500KB) loads on first use. Subsequent launches use cached library.

Use Cases and Benefits

Design Validation:

  • Verify drainage lines follow natural terrain flow patterns
  • Identify potential grade conflicts visible from 3D perspective
  • Spot routing issues that may not be obvious in 2D profile view
  • Confirm outlet locations make sense given overall field topography

Client Communication:

  • Non-technical clients easily understand 3D terrain views
  • Visual demonstration of field topography and drainage patterns
  • Intuitive explanation of why certain drain routes were chosen
  • Professional presentation tool for proposals and project reviews

Installation Planning:

  • Visualize equipment access routes across terrain
  • Identify steep areas that may require special handling
  • Plan staging areas and material delivery logistics
  • Understand field topography before arriving on site

Problem Identification:

  • Spot drainage lines running uphill (design errors)
  • Identify areas where terrain slopes conflict with planned grades
  • Visualize potential ponding areas and low spots
  • Verify outlet elevations relative to surrounding terrain

Troubleshooting 3D Viewer

Problem: "Please load a DEM first" alert when clicking View in 3D button

Cause: No elevation data has been loaded for your project.

Solution:

  • Draw a field boundary in Setup tab
  • Click "Get Elevation" to fetch LiDAR data, or upload a custom GeoTIFF
  • Wait for elevation data to load successfully (blue/red elevation overlay appears on map)
  • 3D View button will appear once elevation data is available

Problem: 3D viewer shows "Loading 3D View..." but never completes

Cause: Cesium.js library failed to load, or terrain mesh generation failed.

Solution:

  • Check browser console (F12) for error messages
  • Verify internet connection (Cesium loads from CDN on first use)
  • Try refreshing page and reopening 3D viewer
  • Ensure browser supports WebGL (test at get.webgl.org)
  • Try different browser (Chrome or Firefox recommended)

Problem: 3D terrain appears distorted, incomplete, or fails to load

Cause: Partial LiDAR coverage - elevation data may have gaps or missing areas within your boundary.

Solution:

  • Check 2D map to verify elevation data covers entire field boundary
  • Look for areas showing NoData (may appear as gaps or unusual colors)
  • Redraw boundary to stay within LiDAR coverage area
  • If using custom GeoTIFF, verify it covers entire AOI without gaps
  • Check that DEM uses standard NoData value (-9999) for any gaps

Problem: Terrain appears completely flat in 3D view

Cause: Vertical exaggeration set too low for very flat terrain, or terrain genuinely has minimal relief.

Solution:

  • Increase vertical exaggeration slider to 20x-50x
  • Very flat fields (e.g., 1-2 feet total relief) need high exaggeration to show features
  • Check that elevation data actually loaded (may be using default flat terrain if DEM failed)

Problem: Cannot see drainage lines in 3D view

Cause: "Show Drainage Lines" toggle may be OFF, or no drainage lines have been drawn.

Solution:

  • Verify "Show Drainage Lines" checkbox is enabled in viewer controls
  • Return to Design tab and draw some drainage lines if none exist
  • Drainage lines appear as black polylines on terrain surface
  • Try adjusting camera angle - lines may be hard to see from certain perspectives

Problem: 3D view performance is slow or choppy

Cause: Large terrain mesh, underpowered graphics hardware, or other browser tabs consuming resources.

Solution:

  • Close other browser tabs to free memory
  • Disable wireframe overlay if enabled (adds hundreds of polylines)
  • Reduce terrain opacity to 0% to simplify rendering
  • Hide boundaries if enabled
  • Use newer computer with dedicated graphics card for best performance
  • Consider using Chrome which has better WebGL performance than some browsers

Technical Details

Technology Stack:

  • Rendering Engine: Cesium.js 1.111 (industry-standard 3D geospatial visualization)
  • Terrain Generation: Custom DEM-to-mesh pipeline with bilinear interpolation
  • Mesh Resolution: Adaptive up to 100×100 grid (10,000 vertices max for performance)
  • Coordinate Systems: DEM in EPSG:3857 (Web Mercator), converted to EPSG:4326 (WGS84) for Cesium
  • Lighting Model: GIS-style hillshading with northwest light source at 45° altitude
  • Loading Strategy: Lazy-loaded (Cesium library only loads when 3D viewer first opened)

How Vertical Exaggeration Works:

The system calculates minimum elevation across the entire DEM, then exaggerates only the relief (difference from minimum) rather than absolute elevation. This formula prevents unrealistic "floating" terrain:

exaggerated_height = min_elevation + (elevation - min_elevation) × exaggeration_factor

Example: If minimum elevation is 500m and a point is at 502m with 10x exaggeration:

relief = 502 - 500 = 2m
exaggerated_height = 500 + (2 × 10) = 520m

This keeps the base of the terrain block at ground level while dramatically emphasizing relief features.

Troubleshooting

Comprehensive solutions to common issues based on actual system behavior

Elevation Data Issues

Issue: "No elevation data available"

Symptoms: LiDAR fetch fails, returns no data, or error message appears

Common Causes & Solutions:

  • Coverage area: Verify boundary is in Canada (HRDEM) or USA (3DEP) coverage. Check USGS 3DEPElevation Index map for USA coverage
  • Internet connection: Requires stable internet for LiDAR download (files can be 5-50MB). Check connection and retry
  • API server busy: Government servers occasionally timeout. Wait 2-3 minutes and retry
  • Boundary too large: Very large boundaries (>500 acres) may timeout. Split into smaller regions or use custom DEM
  • Boundary positioning: Boundary polygon must be properly positioned on map and have valid geometry (no self-intersections)
  • Browser console errors: Press F12 to check console for specific API error messages

Issue: "Elevation processing failed"

Symptoms: Data downloads but processing encounters error during NoData value normalization or coordinate transformation

Solutions:

  • Clear cache: Browser cache corruption can cause processing failures. Clear cache and hard reload (Ctrl+Shift+R)
  • Try different browser: Chrome recommended (best OpenLayers performance), but test Firefox or Edge if issues persist
  • Memory limitations: Close unused tabs and applications. Large DEMs require significant RAM
  • Boundary simplification: Complex boundaries with hundreds of vertices can slow processing. Simplify polygon
  • Check console: Browser console (F12) shows specific error messages about NoData values or projection issues

Issue: Custom DEM import fails

Symptoms: GeoTIFF upload fails or elevation data doesn't display correctly

Solutions:

  • Wrong coordinate system: Must be EPSG:3857 (Web Mercator). Use QGIS to reproject: Raster → Projections → Warp (Reproject), Target CRS = EPSG:3857
  • Wrong units: Elevation values must be in meters. Convert feet to meters in QGIS: Raster Calculator with expression "elevation@1 / 3.28084"
  • NoData value not set: Use -9999 as NoData value. Set in QGIS: Raster → Conversion → Translate, assign -9999 to NoData
  • File too large: Keep GeoTIFF under 50MB. Crop to project boundary or reduce resolution if needed
  • Wrong format: Must be single-band GeoTIFF (.tif). Multi-band images or other formats not supported

Issue: Elevation data looks wrong or shifted

Symptoms: Elevation values don't match expected terrain, or DEM appears shifted from satellite imagery

Solutions:

  • Check units: System expects meters. If DEM is in feet, values will be 3.28x too high. Reimport with correct units
  • Coordinate system mismatch: Custom DEMs must be EPSG:3857. Other projections cause spatial shifts
  • NoData artifacts: Water bodies in LiDAR show flat water surface (not ground). Sloughs/potholes appear flat in profiles
  • Vegetation artifacts: Dense vegetation in LiDAR may show higher elevation than actual ground (±4-6 inches)
  • Historical data: LiDAR is historical snapshot. Recent grading, construction, or crop residue changes not reflected

Drawing and Design Issues

Issue: Auto Best Fit fails or can't find solution

Symptoms: "Could not find best fit solution" message, or line turns red indicating failure

Common Causes & Solutions:

  • Constraints too tight: Increase depth range from ±1.0' to ±1.5' or ±2.0'. System needs flexibility to follow terrain
  • Minimum grade too high: Lower min grade from 0.1% to 0.05% or 0.03%. Very flat fields may not support 0.1%
  • Terrain breaks: Line crosses ridge or depression causing impossible grade. Split line at terrain break and optimize sections separately
  • Line too long: Very long lines (>2000 ft) across variable terrain may not solve. Break into 500-1000 ft sections
  • Uphill routing: Line drawn uphill (inlet lower than outlet). Reverse line direction or adjust target depth
  • Max depth exceeded: Line requires going deeper than max depth constraint. Increase max depth or reroute
Technical Note: Best fit uses iterative least-squares optimization within depth constraints. Algorithm tries depth adjustments at inlet/outlet until finding solution that meets grade and depth requirements. If no solution exists within constraints after max iterations, it fails.

Issue: Depth violations appear after best fit

Symptoms: Red sections on profile chart, depth violation warnings, line segments highlighted in red

Solutions:

  • Min depth violations: Grade line goes too shallow. Increase target depth or lower inlet elevation
  • Max depth violations: Grade line goes too deep. Decrease target depth, increase grade, or reroute through higher ground
  • Terrain depression: Line crosses low spot requiring excessive depth. Reroute around depression or accept deeper pipe
  • Adjust constraints: If violations unavoidable, adjust min/max depth constraints to match field reality
  • Manual adjustment: Use manual grade adjustment to fine-tune problematic sections

Issue: Profile chart not updating after changes

Symptoms: Make changes to line but chart still shows old data

Solutions:

  • Click "Apply & Refresh": Many changes require explicit refresh to update chart datasets
  • Reselect line: Select different line in dropdown, then select original line again to force refresh
  • Run best fit: Triggers complete recalculation and chart update
  • Browser issue: Hard refresh page (Ctrl+Shift+R) if chart completely frozen

Issue: Can't draw or select lines

Symptoms: Drawing tool doesn't activate, or can't select existing lines

Solutions:

  • Wrong tool active: Only one drawing/editing tool can be active at a time. Deactivate current tool first
  • Drainage type not selected: Must select drainage type (Tile Main, Tile Lateral, Surface Main, etc.) before drawing
  • No elevation data: Can't draw lines until elevation data loaded. Run "Get Elevation Map" first
  • Boundary not defined: Some functions require project boundary. Define boundary in Setup tab first
  • ESC key pressed: ESC deactivates all tools. Click tool button to reactivate

Connection and Hierarchy Issues

Issue: Connection not detecting (within 30 feet)

Symptoms: Lateral drawn near main but doesn't connect, no hierarchical ID assigned (shows generic ID like "line_7")

Critical Requirement: Connection detection has 30-foot tolerance - outlet end of secondary line must be within 30 feet of main line

Solutions:

  • Check distance: Measure distance from lateral outlet to main. Must be ≤30 feet. Use Extend tool to close gap
  • Verify correct endpoint: System checks OUTLET end (lower elevation). If inlet is closer to main, connection fails
  • Main must exist first: Draw main line before connecting secondaries. Can't connect to line that doesn't exist yet
  • Redraw if needed: If line geometry corrupted, delete and redraw. Connection detection runs automatically on draw completion
  • Check hierarchical ID: Successful connection shows ID like "T1-L3" (tile lateral) or "S1-T2" (surface tributary)
  • Connection enforcement: After connection, system validates depth at connection point and marks violations if depth mismatch >6 inches

Issue: Connection depth violation

Symptoms: Orange warning icon on lateral, "Connection depth violation" message

Cause: Secondary line connects to main at different depth than main's depth at that point (>6 inch mismatch)

Solutions:

  • Adjust target depth: Change secondary line's target depth to match main depth at connection point
  • Adjust main depth: May need to adjust main line depth to accommodate connections
  • Reroute connection: Connect at different point along main where depths align better
  • Check connection info: Design Statistics shows "Connecting Depth" - adjust to match this value
  • Tolerance: System allows 6-inch mismatch. Violations only flagged if difference exceeds this

Issue: Hierarchical IDs incorrect or missing

Symptoms: Lines show generic IDs (line_1, line_2) instead of S1, T1, T1-L3, etc.

Solutions:

  • Connection required: Secondary lines get hierarchical IDs only when connected to mains within 30 feet
  • Main lines: Identified automatically as S1, S2 (surface) or T1, T2 (tile) based on drainage type
  • ID format:
    • Surface mains: S1, S2, S3...
    • Surface tributaries: S1-T1, S1-T2... (connected to S1)
    • Tile mains: T1, T2, T3...
    • Tile submains: T1-SM1, T1-SM2... (connected to T1)
    • Tile laterals: T1-L1, T1-L2... or T1-SM1-L1 (connected to submain)
  • Regenerate IDs: Modify connection (extend line closer, adjust endpoint) to trigger ID recalculation

Issue: Lost connection after line modification

Symptoms: Lateral was connected, then modified using Trim/Extend/Offset, now shows disconnected

Solutions:

  • Trim tool: If trimmed outlet end, connection may be lost. Use Extend to restore connection within 30 feet
  • Extend tool: Should preserve connections. If lost, bug in preservation logic - report issue
  • Offset tool: Creates NEW lines that don't inherit connections. Must reconnect manually or delete/keep original
  • Connection validation: After modifications, connection enforcer re-validates. May detect new violations
  • Extend to reconnect: Use Extend tool to close gap and restore connection

Line Modification Issues

Issue: Extend tool shows invisible first segment

Status: FIXED in recent update. If experiencing this with older version:

Solution: Reload application to get latest version with manual click handling that pre-initializes extension line from inlet vertex

Issue: Extend tool doesn't trigger auto best fit

Status: FIXED in recent update. Extension now triggers complete auto processing pipeline

What should happen: After completing extension (double-click), system automatically runs best fit, applies min/max constraints, validates connections, and refreshes profile

If not working: Reload application to ensure latest version loaded

Issue: Trim tool cuts wrong end of line

Symptoms: Trying to trim outlet but tool cuts inlet instead (or vice versa)

Solutions:

  • Understand trim logic: Trim removes vertices from CLICKED point toward nearest line end
  • Click closer to end you want to trim: System finds nearest endpoint and removes vertices from click to that end
  • Preview before confirming: Line preview shows what will be trimmed before you confirm
  • Undo if wrong: If trimmed wrong end, immediately undo (Ctrl+Z) or redraw line

Issue: Offset tool creates too many lines

Symptoms: Offset tool creates multiple parallel lines when only want one

Understanding offset behavior:

  • Offset distance: Spacing between parallel lines (e.g., 50 ft for lateral spacing)
  • Number of lines: How many parallel lines to create (e.g., 8 for 8 laterals)
  • Offset left vs right: Direction perpendicular to original line

Solutions:

  • Set number correctly: Enter desired number of lines (default is 1)
  • Preview shows all lines: Blue preview lines show all offsets before creating
  • Delete unwanted lines: After creation, delete extras using Delete tool
  • Original line handling: Choose "Keep Original" or "Replace Original" in options

Issue: Delete tool deletes wrong line

Symptoms: Clicked one line but different line deleted

Solutions:

  • Zoom in closer: Lines very close together hard to click precisely. Zoom in for accuracy
  • Check line selection: Line dropdown shows which line is selected. Verify before deleting
  • No undo for delete: Deletion is permanent. Save project before mass deletions
  • Click line directly: Click the line itself, not just near it

Auto Sizing and Flow Issues

Issue: Auto Size Mains assigns wrong pipe sizes

Symptoms: Pipe sizes seem too small or too large for drainage area

Understanding sizing logic: System calculates required capacity using Manning's equation based on drainage coefficient, contributing area, and grade

Solutions:

  • Check drainage coefficient: Default 0.375 in/24hr. Higher DC (0.5, 0.75) for wetter sites requires larger pipes
  • Check lateral spacing: Wider spacing (75 ft vs 50 ft) increases flow per main, requiring larger pipes
  • Check contributing area: System calculates area from connected lateral lengths. Verify laterals connected properly
  • Check grades: Lower grades require larger pipes for same capacity. If main at 0.05%, needs bigger pipe than at 0.2%
  • Manual override: Can manually set pipe size if auto size doesn't match field conditions
Technical Details: Manning's equation: Q = (1.486/n) × A × R^(2/3) × S^(1/2), where n = roughness (0.012 dual-wall, 0.015-0.020 single-wall), A = pipe area, R = hydraulic radius (D/4 for full pipe), S = slope (grade/100). System selects smallest pipe where capacity ≥ required flow.

Issue: Flow rate calculations seem wrong

Symptoms: GPM values in report don't match manual calculations

Formula used: Peak Flow (GPM) = Contributing Area (acres) × Drainage Coefficient (in/24hr) × 18.857

Check these factors:

  • Contributing area: Calculated as (Total lateral length × Lateral spacing) / 43,560. Check lateral lengths and spacing setting
  • Drainage coefficient: Default 0.375 in/24hr. Changed in drainage defaults or report config affects all flow calculations
  • Conversion factor: 18.857 = (43,560 sq ft/acre ÷ 12 in/ft ÷ 1,440 min/day × 7.48052 gal/cu ft)
  • Only for mains: System only calculates flow for tile mains, not laterals or surface drains

Issue: Auto Size doesn't assign sizes to some lines

Symptoms: Some mains get pipe sizes, others show "unassigned" or no size

Solutions:

  • No connected laterals: Mains without connected laterals have zero contributing area. System can't calculate required capacity
  • Connection issues: Check all laterals properly connected within 30 feet of main
  • Zero flow rate: If DC = 0 or area = 0, flow rate is zero and sizing fails
  • Only tile mains sized: Surface drains don't use pipe sizing. Only tile mains and submains get sized

TauDEM Processing Issues

Issue: "Create Drainage Layers" fails or hangs

Symptoms: Processing starts but never completes, or fails with error

Understanding TauDEM: 5-stage server-side processing (Flow Analysis → SAGA TWI → Wetness Potential → Depressions → Ponding). Takes 2-15 minutes depending on DEM size and server load

Solutions:

  • Be patient: Large DEMs (>20MB) take 10-15 minutes. Progress bar shows current stage
  • Check server status: Processing occurs on remote server. Server may be busy or down
  • Don't close browser: Closing browser/tab cancels processing. Keep tab open until complete
  • Retry if timeout: If stuck >20 minutes, refresh page and resubmit
  • Check DEM loaded: TauDEM requires elevation data. Run "Get Elevation Map" first
  • Boundary required: Processing requires boundary polygon to define analysis area

Issue: Processing completes but layers don't display

Symptoms: Progress bar reaches 100% but map doesn't show flow lines, wetness, etc.

Solutions:

  • Toggle layers on: Go to Setup tab → Analysis Layers section → Toggle layer switches
  • Check layer opacity: Layers may be loaded but opacity set to 0. Adjust opacity sliders
  • Zoom to boundary: Layers only render within processed area. Zoom to boundary to see results
  • Console errors: Check browser console (F12) for layer rendering errors
  • Hard refresh: Try Ctrl+Shift+R to reload with fresh cache

Issue: Flow lines point wrong direction or seem incorrect

Symptoms: Flow vectors point uphill or don't follow expected drainage patterns

Understanding flow direction: TauDEM calculates flow using D8 algorithm (8 directions) based on steepest descent

Causes:

  • LiDAR artifacts: Water in sloughs shows flat surface, causing flow pattern anomalies at water edges
  • Vegetation artifacts: Dense vegetation may create false high points, affecting flow calculation
  • Very flat terrain: On near-flat fields (<0.1% slope), flow direction may be sensitive to small elevation errors
  • Micro-topography: LiDAR captures micro-relief (tire tracks, crop rows) that affects computed flow
  • Not field-verified: Flow lines are computed from terrain only. Actual drainage patterns depend on soil, crops, compaction

Issue: Can't export or restore TauDEM layers

Symptoms: Project backup doesn't include TauDEM layers, or layers don't restore

Understanding layer storage: TauDEM layers stored as blobs in global variables and included in project .zip

Solutions:

  • Reprocess if lost: If layers not included in backup, rerun "Create Drainage Layers" after restore
  • Check layer blobs: Console shows whether layer blobs stored successfully during processing
  • Large file warning: Projects with TauDEM layers create larger .zip files (add 5-20MB). Browser may limit download size

Export and File Issues

Issue: Export file not downloading

Symptoms: Click export button but no file downloads

Solutions:

  • Check Downloads folder: File may have downloaded silently. Check browser's default download location
  • Popup blocker: Browser may block download. Allow popups for this site
  • File size limit: Some exports create large files. Check browser console for file size errors
  • Try different browser: Chrome recommended for reliable downloads
  • Verify data exists: Some exports require specific data (e.g., "Export Design" requires lines with grade data)
  • Console errors: Press F12 to check for JavaScript errors during export

Issue: Exported KML/Shapefile doesn't display correctly in GIS

Symptoms: File opens but lines appear in wrong location or have wrong attributes

Solutions:

  • Coordinate system: Exports use WGS84 (EPSG:4326). GIS software should detect automatically
  • Projection mismatch: If GIS project in different CRS, reproject layer to match
  • Hierarchical IDs: Check "name" attribute contains hierarchical IDs (S1, T1-L3, etc.)
  • Missing attributes: Shapefile export includes 27 attributes. Verify all columns populated
  • Zip extraction: Shapefile exports as .zip. Must extract all files (.shp, .shx, .dbf, .prj) to same folder

Issue: XYZP files won't load in Ditch Assist

Symptoms: Ditch Assist rejects XYZP file or shows import error

Solutions:

  • Check file format: Tab-delimited, no headers, format = Lat, Lon, Original Elev (m), Design Elev (m)
  • Extract from zip: XYZP export creates .zip containing multiple files. Extract before importing
  • Units must be meters: Ditch Assist expects meters. System exports in meters automatically
  • Use Auto Height Calibration: GPS elevation differs from LiDAR. Always calibrate in Ditch Assist before using
  • One line per file: Each XYZP file contains one drainage line. Import separately

Issue: Georeferenced image (JPG + JGW) doesn't align in GIS

Symptoms: JPG imports but appears shifted from correct location

Solutions:

  • Both files required: Must import .jpg AND .jgw together in same folder. JGW contains coordinates
  • File naming: JGW must have exact same name as JPG (except extension). Don't rename separately
  • Coordinate system: World files use EPSG:3857. GIS should detect from .jgw parameters
  • Long-press in Ditch Assist: Select BOTH .jpg and .jgw files by long-pressing them together

Issue: BMP export fails or creates corrupted file

Symptoms: BMP export completes but file won't open or is corrupted

Solutions:

  • Large file size: BMP files uncompressed and very large. May exceed browser limits. Use JPG export instead
  • Memory limitations: High-resolution BMP creation requires significant RAM. Close other tabs/apps
  • UTM parameters: Must enter valid UTM zone (1-60) and hemisphere (N/S) when prompted
  • Alternative format: If BMP fails, use "Export Map → KMZ" which creates compressed PNG in KMZ container

Project Backup and Restore Issues

Issue: Project restore fails or incomplete

Symptoms: Project file loads but some data missing (lines, boundary, DEM, or TauDEM layers)

Understanding restore process: System restores boundary → DEM → drainage lines (mains first, then secondaries) → runs auto best fit → validates connections → restores TauDEM layers

Solutions:

  • Wait for completion: Restore takes 30-60 seconds for complex projects. Progress shown in console
  • Don't interrupt: Let restoration complete fully before interacting with map
  • Check console: Browser console shows detailed restoration steps and any errors
  • Verify file format: Must be .zip file from "Save Project" export. Other file types incompatible
  • TauDEM layers optional: If TauDEM layers not included in backup, need to reprocess
  • Grade lines recalculated: Best fit runs automatically on all lines during restore. Design updates to current parameters

Issue: Hierarchical IDs change after restore

Symptoms: Lines have different IDs after restoring project

Understanding ID assignment: IDs assigned based on connection topology. Should be stable across restore

Solutions:

  • ID format preserved: System saves hierarchical IDs in project file and restores them
  • Connection validation: During restore, system validates all connections and may reassign IDs if topology changed
  • Check connections: If IDs changed, verify all secondary lines still within 30 feet of mains
  • Re-save if needed: After verifying IDs correct, re-save project to preserve current state

Issue: Parameters different after restore

Symptoms: Depths, grades, or pipe sizes differ from when project saved

Understanding parameter storage: Project saves design PARAMETERS (target depth, min/max, grade, etc.), not calculated grade lines

Expected behavior:

  • Parameters restored: Target depth, min/max depths, minimum grade, lateral spacing all restored exactly
  • Grade lines recalculated: Best fit runs automatically using restored parameters. Results should match original unless parameters changed
  • Pipe sizes recalculated: If drainage coefficient or lateral spacing changed in defaults, auto-sizing results may differ
  • Intentional design: Recalculation ensures design adapts to any parameter changes and remains valid

Issue: Project file too large to download

Symptoms: Save Project creates file but browser fails to download

Solutions:

  • TauDEM layers add size: Project with TauDEM layers can be 20-50MB. Try saving without reprocessing TauDEM
  • Browser limits: Some browsers limit download size. Try Chrome which handles large files best
  • Boundary complexity: Very complex boundaries with hundreds of vertices increase file size. Simplify if possible
  • DEM resolution: High-resolution custom DEMs add significant size. Consider reducing resolution or cropping to boundary

PDF Report Generation Issues

Issue: Report generation fails or hangs

Symptoms: Click "Generate PDF Report" but process never completes or shows error

Solutions:

  • Wait for completion: Report generation takes 5-15 seconds. Progress indicated by "Generating..." message
  • Check data requirements: Requires at least one drainage line with best fit applied
  • Map capture timeout: If map very complex, html2canvas may timeout. Try hiding some layers temporarily
  • Memory limitations: Large projects with many lines may exceed memory. Close other tabs
  • Console errors: Check browser console (F12) for specific error messages about jsPDF or html2canvas
  • Popup blocker: Browser may block PDF download. Allow downloads for this site

Issue: Map image missing or corrupted in report

Symptoms: PDF generates but title page shows no map or distorted image

Understanding map capture: System uses html2canvas to capture current map view at 3x resolution for crisp output

Solutions:

  • Zoom appropriately: Zoom map to show complete system before generating report. Captured view appears on title page
  • Wait for rendering: Allow map tiles to fully load before generating report. Partially loaded tiles appear blank
  • Disable map option: If map capture consistently fails, uncheck "Include Map Snapshot" in report config
  • Simpler base layer: Switch from satellite to simple base layer if satellite tiles causing issues
  • Hide overlays temporarily: Complex overlays (flow lines, wetness) may cause capture issues. Hide during generation

Issue: Cost estimates show $0 or incorrect values

Symptoms: Report shows all costs as $0.00 or calculations seem wrong

Understanding pricing: System generates dynamic pricing fields for each unique pipe spec in your design. Values saved to localStorage

Solutions:

  • Enter pricing: Report config shows pricing fields for each pipe size. Must enter material and installation costs
  • Check localStorage: Pricing saved to browser localStorage. Clearing cache clears saved prices
  • Per-specification pricing: Each size/wall type combination has separate pricing (e.g., 4" SW, 6" SW, 6" DW)
  • Connection costs: Enter cost per lateral connection for junction fittings and labor
  • Formula: Total = (Material $/ft + Install $/ft) × Length + (Connection $ × Lateral count) + Misc %

Issue: Flow rates seem incorrect in report

Symptoms: GPM values don't match expectations or manual calculations

Check calculation inputs:

  • Drainage coefficient: Default 0.375 in/24hr shown in report config. Higher DC = higher flow rates
  • Contributing area: Calculated from (Lateral lengths × Lateral spacing) / 43,560. Check lateral spacing in defaults
  • Formula: GPM = Area (acres) × DC (in/24hr) × 18.857 (conversion factor)
  • Only for mains: Flow calculations only shown for tile mains with connected laterals
  • Zero laterals = zero flow: Mains without connected laterals show zero contributing area and flow

Issue: Line-by-line details table missing data

Symptoms: Appendix table has blank cells or missing columns

Understanding table data: Table includes 25+ attributes per line including elevations, depths, grades, connections, flow rates

Solutions:

  • Run best fit first: Many values require best fit calculation. Blank depths/grades indicate best fit not run
  • Connection data: "Connected To" columns only populated for secondary lines connected to mains
  • Flow data: Peak flow and contributing area only calculated for tile mains with laterals
  • Pipe specs: Pipe size, wall type, perforation only apply to tile lines (not surface drains)
  • Toggle sections: Can disable line details table if too large. Uncheck in report config

Performance and Browser Issues

Issue: Slow map rendering or lag when panning/zooming

Symptoms: Map jerky or unresponsive, especially with multiple layers enabled

Most resource-intensive features (in order):

  1. Flow direction vectors (10,000+ individual lines)
  2. Wetness/ponding/depression overlays (semi-transparent rasters)
  3. High-resolution satellite base layer
  4. DEM color ramp visualization
  5. Drainage lines with labels

Solutions:

  • Disable flow vectors: Toggle off flow direction overlay for immediate performance improvement
  • Hide analysis overlays: Turn off wetness, ponding, depressions when not needed
  • Switch base layer: Use simple base layer instead of satellite imagery
  • Reduce DEM opacity: Lower DEM opacity or hide temporarily while drawing
  • Close other tabs: Browser memory shared across tabs. Close unused tabs
  • Use Chrome: Chrome has best OpenLayers performance. Firefox and Edge slower
  • Restart browser: Long sessions accumulate memory leaks. Restart periodically
Automatic Scaling: DEM resolution automatically scales with project size. Large boundaries (500+ acres) use lower-resolution DEMs, maintaining performance regardless of project area. Performance primarily affected by layer complexity, not field size.

Issue: Browser crashes or "Out of memory" errors

Symptoms: Tab crashes, page becomes unresponsive, or explicit memory error

Solutions:

  • Close other applications: Free up system RAM by closing unused programs
  • Close browser tabs: Each tab consumes memory. Close all but essential tabs
  • Restart browser: Fresh start clears accumulated memory usage
  • 64-bit browser: Use 64-bit version of browser (more memory available)
  • Disable extensions: Browser extensions consume memory. Disable temporarily
  • Smaller projects: Very large projects (1000+ acre boundaries) may exceed memory limits. Split into regions

Issue: Browser console shows errors or warnings

Understanding console messages: Press F12 to open Developer Tools. Console tab shows JavaScript execution details

Common console messages:

  • "localStorage quota exceeded": Browser storage full. Clear site data or use incognito mode
  • "Failed to fetch LiDAR": Network error or API unavailable. Check connection and retry
  • "NoData value not standardized": Custom DEM has wrong NoData. Reprocess with -9999
  • "Connection validation failed": Debug message during connection detection. Usually self-correcting
  • "Chart dataset undefined": Profile chart issue. Reselect line to refresh

When to worry:

  • Red errors: Indicate failures requiring attention. Screenshot and report if persistent
  • Yellow warnings: Usually informational. Only concerning if functionality broken
  • Blue info messages: Normal system logs. Can be ignored

Issue: LocalStorage quota exceeded

Symptoms: Error about storage quota, settings not saving, or pricing data lost

Understanding localStorage: Browser localStorage used for pricing data, default settings, and temporary state (5-10MB limit)

Solutions:

  • Clear site data: Browser Settings → Privacy → Site Data → Clear data for this site
  • Use incognito mode: Fresh localStorage for testing. Settings won't persist between sessions
  • Export pricing: Note pricing values before clearing. Will need to re-enter
  • Don't store projects: Don't use localStorage for project storage. Use Save Project → .zip file instead

3D Viewer Issues

Issue: 3D viewer won't open or takes very long to load

Symptoms: Click "View in 3D" but nothing happens, or loads for >30 seconds

Understanding 3D viewer: Uses Cesium.js for 3D terrain visualization. Lazy-loaded on first use to avoid slowing initial page load

Solutions:

  • First launch delay: First time opening 3D viewer loads Cesium library (~5MB). Wait 10-20 seconds
  • Terrain mesh generation: System converts DEM to 3D mesh. Takes 5-15 seconds depending on DEM size
  • Check console: Browser console shows mesh generation progress
  • Memory requirements: 3D viewer memory-intensive. Close other tabs if struggling
  • WebGL support: Requires WebGL-capable browser and graphics card. Check browser compatibility
  • Try different browser: Chrome has best WebGL performance. Firefox and Edge sometimes have issues

Issue: Terrain looks flat or incorrect in 3D view

Symptoms: 3D terrain doesn't show expected relief or appears flat

Solutions:

  • Increase vertical exaggeration: Default may be too low for very flat fields. Try 3x, 5x, or 10x
  • Camera angle: Top-down view looks flat. Use mouse to tilt camera for perspective
  • Zoom level: Zoom in closer to see terrain detail. Wide views appear flatter
  • DEM resolution: Low-resolution DEMs show less detail. Check source DEM quality
  • Lighting: 3D lighting affects perception of relief. Adjust time-of-day if available

Issue: Drainage lines not showing in 3D viewer

Symptoms: 3D terrain loads but drainage lines missing or invisible

Solutions:

  • Lines must exist: Draw drainage lines before opening 3D viewer
  • Zoom to lines: Lines may be outside current view. Zoom to field boundary
  • Check visibility: Look for layer visibility toggles in 3D viewer controls
  • Color contrast: Line colors may not contrast with terrain. Try different base layer
  • 3D positioning: Lines displayed on terrain surface, not at depth. Not a bug

Issue: 3D viewer controls not responding

Symptoms: Can't rotate, pan, or zoom in 3D view

Cesium controls:

  • Rotate: Ctrl + left-click drag to orbit around point
  • Pan: Right-click drag OR Shift + left-click drag
  • Zoom: Scroll wheel OR pinch on touchscreen
  • Tilt: Middle-click drag (if available)

Solutions:

  • Wrong mouse buttons: Cesium uses different controls than 2D map. See above
  • Keyboard modifiers: Must hold Ctrl for rotation. Shift+click for panning
  • Touchscreen: Two-finger gestures for rotate/pan/zoom
  • Reset camera: Look for home/reset button to restore default view
  • Reload if frozen: If viewer completely frozen, close and reopen

Getting Additional Help

If you encounter issues not covered in this troubleshooting guide:

Self-Diagnosis Steps:

  1. Check browser console: Press F12, click Console tab. Look for red error messages
  2. Screenshot errors: Capture error messages and console output for reporting
  3. Note reproduction steps: Document exact sequence of actions that cause issue
  4. Test different browser: Try Chrome, Firefox, and Edge to isolate browser-specific issues
  5. Try incognito mode: Rules out extensions and cached data as causes
  6. Clear cache and reload: Ctrl+Shift+R for hard refresh

Before Troubleshooting:

  • Save your work: Export project file (Save Project button) before troubleshooting
  • Note current state: Record drainage line count, what step you're on, what was just attempted
  • Document settings: Screenshot parameter settings if issue involves calculations

Contact Support:

When reporting issues, provide:

  • Browser and version (Chrome 120, Firefox 115, etc.)
  • Operating system (Windows 11, macOS Ventura, etc.)
  • Steps to reproduce the issue
  • Screenshots of error messages
  • Browser console output (F12 → Console tab)
  • Project file if issue is project-specific (remove sensitive location data if needed)
System Requirements: Geo-Surface works best on desktop computers (not tablets/phones) using Chrome browser with stable internet connection. Minimum 8GB RAM recommended. Performance automatically scales with project size - larger regions use lower-resolution DEMs to maintain responsiveness.
Most Issues Are Solvable: >90% of reported issues resolve with browser cache clearing, trying different browser, or adjusting design parameters. If stuck, save your project and try the troubleshooting steps above systematically.

What's New

Version history and release notes for Geo-Surface Drain Pro

v2.1 February 2026 LATEST

Video Overview

New Features

  • Tile Overburden Calculations: Automatic calculation of overburden excavation volumes where tile depth exceeds maximum plow depth. Includes trapezoidal cross-section calculations with configurable side slopes.
  • Side Slope Volume Calculations: Surface drainage and overburden volumes now use trapezoidal cross-sections for more accurate earthwork estimates. Configure side slopes (vertical, 1:1, 2:1, 3:1) in Design Parameters.
  • 17 Elevation Color Ramps: Choose from 17 different color schemes for elevation visualization including Spectral, Plasma, Inferno, Electric, Neon, Rainbow, and more. Selection persists across sessions.
  • Overburden Chart Visualization: Orange shaded areas on the elevation profile chart show where overburden excavation is required.
  • PDF Report Overburden Summary: New "Tile Overburden Summary" section in PDF reports showing total overburden length, volume, and per-line breakdown.

Improvements

  • Dynamic Legend: Elevation legend updates automatically when switching color ramps.
  • Color Ramp Selector: New dropdown in the Layers popover under Elevation Data section.
  • Lateral Offset Spacing: Fixed spacing inconsistency on curved mains. Offset laterals now maintain consistent on-center perpendicular spacing regardless of main line curvature.

Performance

  • Instant color ramp switching without reloading LiDAR data.
  • Color ramp preference remembered between sessions.
v2.0.x November - December 2025

New Features

  • OptiSurface AGS Import: Import elevation data from OptiSurface AGS files and interpolate to DEM for design.
  • OptiSurface AGS Export: Export elevation points in AGS format with intelligent point reduction for OptiSurface compatibility.
  • Drain Pro Demo Version: Try-before-you-buy demo with sample locations and comprehensive feature preview.
  • Ditch Assist KML Export: Export drainage designs in KML format compatible with Ditch Assist GPS systems.
  • Elevation Point Interpolation: Server-side interpolation of sparse elevation points to full DEM coverage.

Improvements

  • Faster Loading: Improved script delivery for quicker application startup.
  • LiDAR Error Messaging: Clearer error messages when government LiDAR servers are unavailable.
  • 3D Viewer Fixes: Resolved rendering issues and improved camera controls.
  • Intro Popovers: Helpful onboarding tooltips for new users.
v2.0 September 2025

Major Release

  • Complete UI Redesign: New tabbed sidebar interface with Setup, Design, and Import/Export workflows.
  • Drainage Hierarchy System: Intelligent main/submain/lateral hierarchy with automatic ID generation (T1, T1.1, T1.1.1).
  • Connection Enforcement: 30-foot tolerance validation ensuring proper drainage connections.
  • Drain Type Selector: Visual selector for surface drains, tile mains, and tile secondaries.
  • Auto Best Fit: Automatic grade optimization with depth constraint validation.
  • Line Labels: Automatic labeling of drainage lines on the map.
  • 3D Terrain Viewer: Interactive 3D visualization with drainage overlay.
  • Terrain Analysis: Server-side processing for flow lines, ponding prediction, and wetness index.
  • PDF Reports: Comprehensive project reports with materials, flow calculations, and cost estimates.
  • Project Backup/Restore: Save and restore complete projects including boundary, DEM, and all analysis layers.
v1.x February 2025 - Legacy Foundation

Initial releases of Geo-Surface Drain Pro with basic drainage design capabilities:

  • LiDAR elevation data fetching (Canada HRDEM, USA 3DEP)
  • Basic line drawing and elevation profiling
  • Manual grade adjustment tools
  • KML export for Google Earth
  • Simple design statistics
Feedback Welcome: Have suggestions for new features or improvements? Contact us