Lay of the Land
All methods

Exports

What the Export panel writes, from the design as it stands and the numbers worked out for it. Nothing is rounded before it's written except as each column says.

Units and datums

  • Elevations are NAVD88. Schedules give them in feet, to the hundredth. GeoJSON and KML give them in meters, to the ten-thousandth, since both formats expect meters.
  • Coordinates are in the project's coordinate system in meters for CSV files, with its EPSG code in the column name, and in longitude and latitude for GeoJSON and KML.
  • Feet are international feet, 0.3048 m. US survey feet differ by 2 parts in a million, which is under 0.005 ft for any elevation below 2,500 ft.
  • Flows are cubic feet a second. Full capacity and velocity are for the pipe flowing full on its grade, as the sizing uses.

Files

  • Pipe schedule (CSV): one row a pipe, mains first. Its kind, status, phase, length, nominal and inside diameters, material, Manning's n, slope, upstream and downstream inverts, least cover, deepest point, design flow, and full capacity and velocity. A pipe with grade points gives the slope of its flattest stretch, as the checks do.
  • Nodes and structures (CSV): one row a node, with its position both ways, the lowest pipe invert there and the ground.
  • Stakeout stations (CSV): every pipe station by station from its upstream end, every 50 ft and wherever it bends or changes grade, with position, ground, invert and depth to the invert. The ground is the ground the design uses, so it includes an adopted survey.
  • GeoJSON: each pipe as a line whose heights are its inverts, with a point added wherever its grade changes between bends, and each node as a point. The collection says what its heights are in a member of its own, heights, which the format allows. "Import a design" reads it back.
  • KML: the same lines and points, with inverts as heights and the pipe's details as extended data. Google Earth draws lines on the ground unless told otherwise, so the heights only show in the file.

Made on the GIS worker

Shapefile, GeoPackage and DXF are made by GDAL on the GIS worker, from the same GeoJSON, which the browser sends to the project's folder of a private exports bucket. The finished file goes next to it, and downloads when it's ready.

  • All three are in the project's coordinate system, in meters, with each pipe's heights still its inverts in NAVD88 meters, unless a State Plane zone is chosen above the buttons (see State Plane). The positions are checked against PROJ in the worker's tests.
  • Shapefile: a zip of two shapefiles, pipes and nodes, since a shapefile holds one kind of shape. Column names can't be longer than 10 letters, so inside_diameter_in becomes inside_in, outside_diameter_in becomes outside_in, and slope_percent becomes slope_pct. GeoPackage uses the same names.
  • GeoPackage: one file with two layers, pipes and nodes.
  • DXF: 3D polylines on a layer for each kind of pipe, such as main and lateral, and nodes as points on NODES. DXF carries no coordinate system, so CAD has to be told it's the project's.

When the uploaded GeoJSON carries a top-level sample_notice (on a copy of the sample field), the worker copies that exact notice into the converted file. Ordinary projects without sample_notice are written unchanged.

  • Shapefile (sample copy): <name>/README.txt inside the zip archive holds the notice text. The .shp, .shx, .dbf, and .prj files are unchanged.
  • GeoPackage (sample copy): GDAL dataset metadata SAMPLE_NOTICE is stored in gpkg_metadata (referenced in gpkg_metadata_reference at geopackage scope, shown under Metadata by ogrinfo -so), and each layer's DESCRIPTION is set in gpkg_contents (shown in QGIS Layer Properties under Information).
  • DXF (sample copy): a leading 999 comment (999 followed by the single-line notice) is prepended before the HEADER section, matching the app's own DXF writers without altering the GDAL-written body.

State Plane

The Downloads section's DXF, Shapefile, CSV and elevation grid files, and the Export panel's Shapefile, GeoPackage and DXF, can be written in the State Plane zone the land lies in, in the foot that zone's definition gives, with heights in the same foot. The project's own UTM meters stays the default, and with it every file is what it was. In the Export panel the choice changes only the three files the GIS worker makes: their coordinates are in the zone, each pipe's inverts in the zone's foot, and each file names the zone, the foot and the height unit and says that a length measured on it is a grid distance, so lengths and slopes come from the pipe schedule. The schedules, GeoJSON, KML and plan set stay as they are. Which zones, which foot, how heights are handled and the survey marks it's checked against are in State Plane coordinates in downloads.

Plan sheets

A plan set is worked out in the browser from the design and its numbers, as drawings made by packages/reporting, and sent to the exports bucket as JSON. The engine worker lays it out on pages with PDFKit and saves the PDF next to it, so a sheet shows what the screen does.

  • A cover comes first, with an index numbering every sheet as its title block does, and a note that public lidar isn't a survey and the plans need checking in the field.
  • Sheets are 11 by 17 inches, across, with a border and a title block giving the project, the sheet's title and number, the day it was made, the engine version and the design's fingerprint.
  • The title block says how far along the design is, from Preliminary to Construction-ready, by the same rule the design status uses, and what that means for building from it. Anything short of Construction-ready says it isn't for construction.
  • The layout sheet draws fields in dashed grey and pipes in black, heavier for mains than laterals, with existing pipes in grey and future pipes and force mains dashed. Every pipe is labeled with its size and grade, and mains and submains with their name too. Outlets, lift stations, control structures, inlets and tie-ins have their own marks. A north arrow and a scale bar in feet go with it. North is up, at one scale both ways.
  • Profile sheets follow, one line at a time: every main, submain and force main, each once, longest first. A line starts where no other of those runs into it and goes downstream until a split, an outlet or a line already drawn, so a submain's profile ends at its main. Laterals are too many to profile one by one, and each still shows on the screen.
  • A profile is drawn in pieces of up to 1,500 ft, two to a sheet, which is about 1 inch to 100 ft across the sheet. Every piece has the same horizontal scale, so a shorter last piece is drawn narrower, and stations read on from one piece to the next. Each piece gets its own vertical scale, to fit what's in it. The drawing is the profile panel's, with the vertical axis labeled in feet, NAVD88.
  • Schedule sheets come next: the pipe schedule, with the same columns as the CSV download, 40 pipes to a sheet. A slope there marked * is the flattest stretch of a pipe with grade points set by hand, and a grade points schedule follows, listing each of those pipes' points with its station, invert and the grade to the next, since a pipe that dives part way along can't be built from one slope. Until PR 22 the plan set gave only the flattest stretch, so a main that fell 1.58 ft in 202 ft, nearly all in its last 52 ft, read as 0.100%. Then fittings and structures as the quantities panel counts them, and trench length by depth to the bottom of the pipe. The cubic yards to dig assume a 2 ft trench, and the sheet says so, since a plow digs none. Pipe already in the ground isn't counted.
  • Outlets and lift stations follow when there are any: each outlet's pipe invert and crown, its flow, what's been measured there (marked when it's an estimate rather than surveyed), and what's still needed for it to count as verified. Each lift station gets a specification of its own from its numbers: the pump chosen, duty and standby, design inflow, the head it works against, its duty point or why there isn't one, force main velocity, pump on, off and alarm levels, wet well storage, and power and energy where those can be worked out.
  • Materials lists pipe by size and material, as drawn, with nothing added for waste, split by kind of pipe.
  • The cost estimate is the estimate panel's: every line with its quantity, unit price and cost, the rates, the totals and the cost per drained acre, and the split by field and by phase. Each price says whether it was entered or is a placeholder, and the sheet says how many placeholders there are and that they aren't a quote.
  • The calculation summary closes the set, in three columns: the design criteria and where they come from, the spacing method, how design flow, pipe capacity and size, elevations and any lift stations are worked out, each with the source the app cites for it, the count of problems and cautions with the commonest checks, and what the design still assumes. A table follows with every pipe's land served, design flow, inside diameter, n, slope, full capacity, the share of it used and full velocity. A text sheet holds what fits, which for now is all of it.
  • Survey and field verification is the last sheet: every field task and every task needing more analysis, how each is settled and where it stands, with who said it was done, when and their note; what's been measured at outlets, by whom, when and how; each survey file with its points, whether it's adopted, and survey less terrain as a mean, an RMSE and the largest difference; and what's still in the way of building, which is the construction gate's list. A task that a measurement or entry settles drops off once it's in, so the list is what's open and what someone has said is done. A check of the ground signed off for less than the design now covers says why it's open again, as the Design section does (see gravity-calculations.md).

Map pages

Each purpose of plan v4 ends in a map page made in the browser from named blocks, at a fitted or stated scale, ending with the source line and the one sentence. See map-pages.md.

Past exports

Every export is kept: files made in the browser are downloaded at once and a copy goes to the project's folder of the private exports bucket, and a file made on a worker is recorded by the database the moment its job succeeds, whether or not the browser that asked for it is still open. Each is recorded with the design's fingerprint, its scenario, the engine version and when it was made, and the design log notes it. The Export panel lists the last 20, each saying whether it's this design or an earlier one, and downloads any of them again exactly as it was. A record can't be changed once it's written.

Before any file is made, the design is saved as a version, or the version that already matches it is found, and the file is recorded against that version. So a past export names the version it was made from, and that version opens with its pipes and what it was worked out with. An export waits for the latest edits to be saved first, and isn't made if they can't be, so a file never comes from a design that was never stored. Exports made before this was added have no version.

Deleting a scenario keeps all of this. Its row stays, marked deleted, along with its versions and the reviews of them, and only its working design goes: the draft, the rows of pipes and nodes that mirror it, and the layouts and trade-offs worked out for it. So a file exported from a deleted scenario still says which version it came from, and that version still opens from the Export panel, which says it's of a deleted scenario. Deleting the version or the review with the scenario would have cut that link for a plan set already handed out. Files stay in the project's folder until the project is deleted, as before. A project keeps at least one scenario, and deleting the open one opens the next.

Anything without elevations, such as a design with no terrain, is written without inverts rather than with made-up ones.

Field zones as a Shapefile (plan v4 item 489)

A field's zones download as a generic Shapefile from the Lidar analysis panel's Download Shapefile button, and from Zone a field's Export step, where it is the step's one main action with the GeoJSON and the zone map page beside it, made in the browser by buildZoneShapefile (apps/web/src/lib/terrain/zone-shapefile.ts). No company's format is targeted and no program is named: the file keeps the Shapefile format's rules and dBASE's, and nothing else.

  • <project>-<field>-zones-shapefile.zip: <stem>.shp, .shx, .dbf and .prj at the top of the zip, in longitude and latitude on WGS 84 (EPSG:4326, an ESRI GEOGCS["GCS_WGS_1984"…] .prj), and README.txt, as the app's other Shapefile zips carry theirs. One Polygon record per zone, outer rings clockwise and holes counterclockwise as the ESRI Shapefile Technical Description (1998) sets, then one record for ground in the field with no data.
  • README.txt: how the zones were made, in plain words, the acres of each, what each column holds, ending with the one source line and the one sentence (source-line.ts, checked with exitNoticeProblems). It is inside the zip so a person who unzips it finds the note beside the columns it explains.
  • <project>-<field>-zones.geojson, under Details as Download GeoJSON (buildZoneGeoJson): the same records and columns, with the same text beside it as <project>-<field>-zones-README.txt.

Columns, ten characters at most, letters, digits and underscores, starting with a letter, as dBASE field names must be: ZONE_ID (number, 4: the zone, 0 for no data), CLASS (text: its plain name), NAME (text: the name a person gave it, or empty), each as wide as its longest value in bytes, at least 40 and at most dBASE's 254, so a soil map unit's name is whole (review finding NG8, 2026-12-02; before, both were cut at 40), ACRES (number, 12 with two places: ground acres on the WGS 84 ellipsoid, rounded by the largest remainder so the column sums to the field's acres; lidar-analysis.md, section 5), then up to three number columns a person named (17 wide, up to four places), blank where no value was entered. Text is written in UTF-8, which a .cpg file in the zip declares, so an accented soil name, or a zone name typed in any script (at most 40 characters, so at most 160 bytes), reads back as written (finding G8); a value past 254 bytes would be cut at a letter's edge, never inside one. The column names are held to dBASE's rules where they are typed, not at export. Values are numbers of any sign, one type to a column; a word for a zone goes in its name.

The project's own zone downloads, in its own coordinate system and meters, stay as they were, with the labels they had (Downloads panel and the Lidar analysis panel's Details, "Landscape zones of the whole terrain").

What was read, and why the app doesn't target any of it

Before the owner's decision, the zone file was written for whichever farm system first proved it could read it, and the makers' pages were read on 2026-11-30: Climate FieldView's Prescription Formats (WGS 84 longitude and latitude, a zip of .shp, .shx and .dbf, at most 100 zones, rates of zero or more), and John Deere's onscreen help for its displays (Import Data: prescriptions in a folder named Rx at the root of a USB drive). Deere's Operations Center and Trimble's pages returned no text to a plain fetch, and CNH's weren't read. On 2026-11-30 the owner chose a generic Shapefile instead ("I think it should simply support a generic shapefile format"), so none of those rules is kept: values may be negative, the text file is inside the zip, and no zone count is capped beyond the 255 zones the grid holds. A program that wants something else of a Shapefile is left to its own import.