Import a design or elevation file
Every design and elevation file the app reads, where you load it, what the columns must be, and what each import error means. Forming designs (AGD, XYZP, XYZ), LandXML surfaces, line designs and surveys, point files and GeoTIFFs for contours.
- Full Automation Kit
- Guidance Only Kit
- Ditch Assist Lite
- DIG™ Kit
In the app Forming › Import a Design File; Load › Import survey file; contour source › Point File / GeoTIFF DEM
Ditch Assist® reads design and elevation files made on a computer: whole-field designs for Land Forming, civil design surfaces, single-line designs and surveys, and elevation data to draw contours from. This page lists each one, where you load it, and what the file must look like. Map pictures and KML lines are overlays, not designs: see Add a map overlay.
Before you start
Time: a couple of minutes to pick a file once it's on the tablet.
- The file is in the tablet's Download folder. Copy it there by USB cable, a USB-C stick, email or Google Drive: Move files to and from the tablet. Do it on shop Wi-Fi, before you join the control module's Wi-Fi (it has no internet).
- You know which kind of file it is (table below).
Pick the file on the tablet
Every import button in the app opens Android's file picker. It fills the screen and shows one folder at a time. Here it's opened from Land Forming's Select Design File; the other import buttons open the same picker. You pick one file at a time. To leave without picking, press the tablet's Back button (The Back button).
Tap the import button
For example Select Design File (XYZ / XYZP / AGD) in Land Forming, Point File or GeoTIFF DEM in the contour workflows, or the small import link at the top right of the Load window. The picker opens.
1- An import button. This one is in Land Forming.
Tap the menu button (three lines)
Look at the top left corner. Next to a button with three short lines, the picker names the folder it shows. Already Downloads? Skip to step 4. Otherwise tap the three lines. A panel called Open from slides in from the left.
- Menu button and folder name. Here it opened on Recent, which is empty.
Tap Downloads
In the Open from panel, tap Downloads, with a down-arrow icon. The list in this panel differs a little from tablet to tablet; look for the word.
- Downloads. The tablet's Download folder.
Tap your file once
Find the file and tap its name once. The picker closes and the app reads it; there's no OK button. Don't tap the four-arrow icon at the far right of a row: it only previews the file. File not listed? Slide the list up (scrolling) or copy it to Download again.
- Your file. Tap the name once.
- Preview icon. Don't tap it.
Which file, where
| File | What it is | Where you load it |
|---|---|---|
| AGD (.agd) | Whole-field design with existing and proposed elevations, benchmark and section boundaries | Land Forming: the Import AGD File button (Import XYZP File opens the same window) |
| XYZP (.txt, .xyzp, .csv) | Points with existing and proposed elevation | Land Forming: Import XYZP File. As a line design in Ditching, Excavation or Tiling: the Import design file (XYZP) link on the Designs tab of the Load window |
| XYZ (.xyz, .txt) | Points with one elevation | Land Forming (no cut/fill). As a survey: the Import survey file (XYZ / XYZP) link on the Surveys tab of the Load window |
| LandXML (.xml) | TIN surface from civil design software | Land Forming: Import LandXML. Excavation: Import Civil Design (LandXML) |
| Point file (.xyz, .txt, .csv, .tsv) | Ground elevation points to build a field surface | The Point File button in Contour Tiling, Contour-Guided Terracing and Levee |
| GeoTIFF (.tif) | Elevation raster (DEM) of the field | The GeoTIFF DEM button in Contour Tiling, Contour-Guided Terracing and Levee |
Land Forming files: AGD, XYZP and XYZ
All three load through the Land Forming Design window: Select Design File (XYZ / XYZP / AGD). The app works out the format from the file itself, not from the button you tapped or the file name. AGD is the preferred format. Step by step: Land Forming.
Text layout (XYZ and XYZP)
- One point per line: latitude, longitude, elevation (XYZ), plus proposed elevation as the 4th column (XYZP).
- Latitude and longitude in decimal degrees (WGS84), for example
49.81234, -97.45678. Easting and northing are not read; those lines are skipped. - Elevations in metres.
- Columns separated by tabs, commas, semicolons or spaces. Comma decimals (
247,65) are fine with semicolon separators. - A header line at the top is skipped. Blank lines are ignored.
- Every line of an XYZP file needs both elevations. A line with only three numbers stops the import with its line number, so existing and proposed never get out of step.
- A line containing
BM,BENCHorBENCHMARKis read as a benchmark (first three numbers = latitude, longitude, elevation; the rest is its name). It shows as a Design BM when you calibrate.
Example XYZP (four columns):
| Lat | Lon | Existing | Proposed |
|---|---|---|---|
| 49.812340 | -97.456780 | 236.412 | 236.350 |
| 49.812355 | -97.456712 | 236.398 | 236.352 |
| 49.812370 | -97.456644 | 236.441 | 236.354 |
In the file these are plain text, one line each, separated by tabs (or commas, semicolons or spaces). The header line is optional.
AGD
An AGD export is a comma file whose header names the columns (it must include Existing, Proposed and Code). The app reads latitude, longitude, existing elevation and proposed elevation, and uses the Code column:
| Code | Meaning | In the app |
|---|---|---|
3GRD | Grade points | The design surface |
0MB | Master benchmark | Design BM row in Calibrate Elevation; cyan label on the map |
2BAL1, 2BAL2… | Section (balance) boundaries | Dotted pink loops on the map; counted as Sections |
Other codes are skipped.
What the summary tells you
1
2- Format badge. XYZ here. An XYZP or AGD file shows XYZP.
- XYZ note. One surface only, so there's nothing to show cut and fill against.
- Points: grade points read. Fewer than you expected means lines were skipped (bad coordinates, wrong columns).
- Area: in hectares (Forming is metric). 0.0 ha means the points lie on a line: a ditch design, not a field.
- Elev Range, Min Elev, Max Elev: should match the field. Numbers in the thousands mean the file is in feet.
- Benchmarks, Sections: AGD only.
- Avg Cut (red), Avg Fill (blue): XYZP and AGD only.
Over 50,000 points isn't recommended: triangulating takes minutes and slower tablets struggle. Have your design software thin the points.
LandXML surfaces
LandXML 1.2 with a TIN surface (points and triangles). Forming takes a design surface and, optionally, an existing-ground surface; Excavation does the same for a DIG™ dig (Excavation with LandXML).
- Coordinates: NAD83 State Plane and UTM are recognised; other systems are read from the file's own WKT if it has one. Check the CRS reading after loading: Unknown CRS or a stretched 3D preview means it wasn't recognised. NAD27 zones that need a grid shift (including the Dakotas) are not supported.
- Units: metres, international feet and US survey feet, as declared in the file.
- Several surfaces in one file: each step shows a dropdown. Pick finished grade for the design, existing ground for the terrain.
- No benchmark: LandXML carries none. Calibrate on the loaded design at an undisturbed zero cut/fill spot.
- The LandXML picker only lets you choose
.xmlfiles.
Line designs and surveys (Ditching, Excavation, Tiling)
In Load, each tab has a small import link at the top right. The file uses the same XYZ / XYZP text layout as above, in route order (first line = start of the run).
- Import survey file (XYZ / XYZP) on the Surveys tab takes latitude, longitude and the first elevation as a surveyed route, saves it, and opens the workflow's designer on it, the same as tapping a saved survey.
- Import design file (XYZP) on the Designs tab takes the 4th column as the design line and opens it in the designer as a Freeform line so you can check it before you implement. A 3-column file picked here is imported as a survey.
- Design import works in Ditching, Excavation and Tiling only. Anywhere else:
File import is not available for this workflow. Use Ditching, Excavation or Tiling.
Point files and GeoTIFFs for contours
Contour Tiling, Contour-Guided Terracing and Levee draw contours from a field surface. Besides a saved LiDAR DEM or a field you drive, you can bring your own elevation data.
Point file
Any delimited text of ground points (.xyz, .txt, .csv, .tsv). Tap Point File in the field surface window and pick the file (Pick the file on the tablet). A window called Import Point File then shows the first five lines of the file. The app guesses how the columns are split and which is which; check them against those lines.
Check the delimiter and columns
Delimiter is what separates the columns: Whitespace (space/tab), Comma, Tab, Semicolon or Single space. Tap it to choose another. Tick Header row if the first line holds column names. Then check Lat column, Lon column and Elev column: latitude and longitude must be in decimal degrees.
1
2
3- Delimiter. How the columns are split.
- Header row. Tick if the first line is column names.
- Lat, Lon, Elev column. Which column holds each.
Tap Meters or Feet
Next to Elevation in:, tap what the file is really in. It starts on the app's own units (Feet when the app is in feet), but most GNSS and LiDAR point files are in metres.
1- Elevation in. Meters or Feet.
Tap Import
Tap Import, bottom right. The app builds the surface and opens Contour Settings. It needs at least 10 readable points; fewer gives Too few valid points parsed (N)
. Then check the delimiter and columns again.
1- Import. Builds the surface.
GeoTIFF DEM
- A single-band elevation GeoTIFF (.tif) of the field, from a LiDAR provider, drone survey or mapping software.
- Contour Settings then shows Source units: Meters / Feet (picture below). It starts on Feet when the app is in feet; most DEMs are in metres, so tap the right one before you tap Generate. The elevation range and line estimate at the top don't change when you switch; only the contours do.
- Up to 64 MB and 4,000,000 cells. Bigger:
This DEM is too large to load (…). Clip or downsample the DEM to the field boundary and try again.
- Not a GeoTIFF, or unreadable:
Could not parse GeoTIFF file
. No elevations inside:GeoTIFF has no valid elevation data
.
1- Source units. GeoTIFF only. Meters chosen here.
How these fit into the contour flow: Contour Tiling: get a field surface and Levee elevation data.
Import errors and what they mean
| Message | Means | Fix |
|---|---|---|
No valid data points found in file.(sometimes N line(s) could not be parsed.) | No line had readable latitude, longitude and elevation. Often a KML, image, world file, or a file in easting/northing. | Pick the right file; export again as XYZP or AGD in decimal degrees. |
Line N: this XYZP file is missing the proposed elevation (4th column)… | That line has three numbers, the others four. | Fix or delete line N, or export again. |
No grade points (3GRD) found in AGD file. | The AGD has a benchmark or boundaries but no grade points. | Export again with grade points included. |
Line N: this AGD file has a 3GRD row missing its proposed elevation… | One grade point lacks its proposed elevation. | Fix line N or export again. |
File is empty/ No non-empty lines in file | Nothing in the file (a failed copy). | Copy it to the tablet again. |
File not found: … | The file moved after you picked it. | Put it in Downloads and pick it again. |
No <Surface> elements found in file | The XML has no surface (points or alignments only). | Export a TIN surface to LandXML 1.2. |
Surface "…" has N points but no triangle faces…/ No valid TIN data found in selected surfaces | The surface has no triangles. | Export the surface with its faces. |
Failed to read terrain file: …/ Terrain import failed: … | The existing-ground XML couldn't be read. | Pick another surface or file, or carry on without terrain. |
The file needs at least two points with valid coordinates. | A line survey or design file with fewer than two readable points. | Check the columns are latitude, longitude, elevation. |
Some of these appear inside Import failed: …
. More causes and checks: Land Forming problems and File problems.
Where imported files end up
The app reads the file from where you picked it. Keep the original design file on the tablet until the job is finished, so you can load it again if you need to. Imported line surveys and designs are saved into the app's own Documents/DitchAssist/surveys and designs folders. More: Files on the tablet.
Did this answer your question?
Thanks. That tells us which pages to improve.
Still stuck? Talk to a product specialist. 1-833-DITCH-AS · support@ditchassist.com · Monday to Friday, 8 a.m.–5 p.m. Central.
Calling about a problem? Send your app logs first so support can see what happened.