Lay of the Land
All methods

State Plane coordinates in downloads

Plan v4 item 455. A DXF, Shapefile, CSV or elevation grid download, and the drainage design's Shapefile, GeoPackage and DXF from the Export panel, can be written in the State Plane zone the land lies in, in the foot that zone's own definition gives, instead of the project's UTM system in meters. The project's own system stays the default. This page says which zones, where their definitions and outlines come from, which foot and why, how heights are handled, and the survey marks the conversion is checked against.

Where each download is made

Checked on 2026-11-30 by reading apps/web/src/lib/terrain/project-downloads.ts, contour-export.ts, download-readme.ts, packages/earthwork/src/export.ts, packages/surface/src/lidar.ts, apps/web/src/lib/export/ and Exports.

Download Format Written by Coordinates it carries or says today Heights
Elevation grid GeoTIFF in a ZIP The GIS worker; the browser only zips the stored file Project UTM, EPSG:63xx, in the GeoTIFF keys NAVD88 meters, band unit metre
Contours DXF Browser None in the file; the text file names the project's UTM Z in NAVD88 meters
Contours Shapefile Browser Project UTM in the .prj ELEV_FT (international feet) and ELEV_M
Contours GeoJSON, KML Browser Longitude and latitude Meters
Spot elevations CSV Browser Project UTM meters and longitude, latitude, in columns Feet and meters, in columns
Watersheds GeoJSON, KML Browser Longitude and latitude None
Landscape zones GeoJSON Browser Longitude and latitude None
Landscape zones Shapefile Browser Project UTM in the .prj None
Surface designs GeoJSON, KML Browser Longitude and latitude None in the geometry
Surface designs DXF Browser None in the file; the text file names the project's UTM None (flat outlines)
Surface designs Shapefile Browser Project UTM in the .prj None
Cut and fill grid CSV Browser Project UTM meters, in columns and a header line Feet
Drainage design Pipe, node, stakeout CSV Browser Project UTM meters and longitude, latitude Feet
Drainage design GeoJSON, KML Browser Longitude and latitude Inverts in meters
Drainage design Shapefile, GeoPackage, DXF The GIS worker, by GDAL, from the browser's GeoJSON Project UTM, or the chosen zone (2026-12-01) Inverts in meters, or in the zone's foot

The browser's projection is proj4js, which until this item was given only UTM definitions (utmDefinition in dem-reader.ts).

Where a State Plane download is made: in the browser, for the five vector files of the Downloads section that carry or say a projected system: contours DXF and Shapefile, landscape zones Shapefile, surface designs DXF and Shapefile. Every one of them is already written there from longitude and latitude or from project meters that turn into longitude and latitude, so a State Plane copy is the same writer with a different projection, an exact one-to-one transform of each vertex. Nothing is resampled. The worker would add a round trip and a job for no gain in accuracy.

The CSVs, added 2026-12-01, are made in the browser too, by the same projector: the spot elevations CSV from each point's longitude and latitude, and the cut and fill grid CSV from each cell center in project meters through longitude and latitude. Each point is projected exactly; nothing is resampled. Their column names carry the unit, so a reader that looks for easting_m finds nothing rather than feet under a meters name: see Heights.

The elevation grid, added 2026-12-01, is made by the GIS worker with GDAL (services/gis-worker/gis_worker/state_plane_grid.py, job kind export.state_plane_grid). A grid in another projection is a new grid: its cells must line up with the new axes, so every cell is worked out again, and that is GDAL's job, not the browser's. See The elevation grid.

The drainage design's Shapefile, GeoPackage and DXF, added 2026-12-01, are made by the GIS worker with GDAL, as they always were, from the same GeoJSON the Export panel sends, with the zone on the job's payload. See The drainage design's files.

Still in the project's own system:

  • The drainage design's browser CSVs (pipe, node, stakeout) and its GeoJSON and KML stay as they are: a drainage design's files keep their contents (plan v4's rule 7), and GeoJSON and KML are longitude and latitude by definition.
  • The design surface of a graded shape (plan v4 item 482) stays in the project's UTM meters; its text file says so.

Which zones

The 103 State Plane zones of 1983 that the EPSG registry defines on NAD83(2011) in feet, in the 47 states that have them on that datum (all but Alaska, Hawaii and Missouri). They are generated by scripts/state-plane/build-zones.mjs into apps/web/src/lib/geo/state-plane-zones.json (about 220 KB, loaded only when the Downloads section has the ground to place).

  • Source of the definitions: the EPSG registry as copied by the npm package epsg-index 2.0.0, file all.json (ISC licence, generated from the registry through PROJ). Each zone's projection is its PROJ string and its .prj is its WKT, both copied, never typed. The zero datum shift (+towgs84=0,0,0,0,0,0,0, TOWGS84[0,0,0,0,0,0,0] in the WKT) is dropped from the PROJ string and the WKT, since the app's longitude and latitude are NAD83(2011) already: its UTM definitions carry no datum shift, so a State Plane coordinate is a projection of the same position and nothing more.
  • Left out: county and local systems (Indiana InGCS, Wisconsin WISCRS, Oregon's local zones, Montana's tribal systems and the like), alternates that overlap a state's zones (Kentucky Single Zone, Kansas LCC) and non-SPCS grids. Zones with no definition in feet on NAD83(2011) are not in the table: Missouri's three zones, Alaska's ten and Puerto Rico's have meters only in the registry, so a place there is offered only the project's own system.

Which foot, and why

The zone's own definition decides, not the state's name.

  • The Federal Register notice of 17 October 2019 (84 FR 55562) says that of the 50 jurisdictions that legislated SPCS 83, 40 states specified the U.S. survey foot, six adopted the international foot and two (with Puerto Rico and Guam) did not designate one. It also says the U.S. survey foot "will be permanently maintained in NOAA products and services for legacy applications, for example the computation of SPCS coordinates in States where it was specified for SPCS 83."
  • The final notice of 5 October 2020 (85 FR 62698) deprecates the U.S. survey foot from 1 January 2023 and names the six international-foot states: Arizona, Michigan, Montana, North Dakota, Oregon and South Carolina.
  • NIST's page on the U.S. survey foot gives the two definitions: the international foot is 0.3048 m exactly, the U.S. survey foot 1200/3937 m, about 0.3048006096 m. The difference is 2 parts in a million.
  • The EPSG registry gives each NAD83(2011) zone in one foot: "foot" for the international foot, "US survey foot" otherwise. A test (state-plane.test.ts) checks that the international-foot zones are exactly those of the six states the 2020 notice names. For the two states that designated no foot, the registry's choice is the U.S. survey foot, and the app follows the registry.

So a State Plane download of SPCS 83 in a U.S. survey foot state is written in U.S. survey feet, which NGS still supports for that use, and the file says so in full. Two parts in a million is about 5 ft at a false easting of 2.6 million feet, so a drawing read in the wrong foot moves by feet with no error showing. That is why the foot is named every time, in the file where the format allows it and in its text file.

How the zone for a place is found

Zones follow county lines. The registry's bounding box for a zone is not its boundary, but its area of use names the zone's counties, for example "North Dakota - counties of Adams; Barnes; …". The generator joins those names to the U.S. Census Bureau's cartographic boundary file of counties, 2023, 1:20,000,000 (cb_2023_us_county_20m, public domain), and dissolves each zone's counties into one outline.

  • A state is outlined only if every county is named by exactly one of its zones and every name matches one county. A state with one zone is the whole state. Three names were checked by hand and mapped: Dade is now Miami-Dade (Florida, 1997), Shannon is now Oglala Lakota (South Dakota, 2015), and the registry spells Mountrail "Mountrial" (North Dakota).
  • Four states are not outlined and the app lists their zones to pick from, suggesting none: Colorado (Broomfield County, formed in 2001, is in no zone's list), Nevada (Carson City is in none), Virginia (independent cities are named by zones but are not county names the join can trust) and Washington (Grant County is split between two zones by a parallel). The choice says the state's zones can't all be told from county lines.
  • Outlines are rounded to 0.0001 degree, about 10 m, finer than the 1:20,000,000 file itself, whose lines are simplified by up to a kilometer or two. A project that close to a zone line may be placed partly in the neighboring zone; both are then offered, since the area is sampled, and the person picks the one their county uses.
  • The area of a project is sampled inside its areas' outlines, holes left out: a 15 by 15 grid of points over their bounds, keeping those inside an outline, and every corner of each outline, so a narrow area still has points of its own (zoneSamplePoints). Until 2026-12-02 it was a 9 by 9 grid over the built ground's box, which reaches past the area by the build's buffer, so a field near a zone line could be offered a zone only its buffer touched (review finding F5). With no outline the ground's box is still used. Every zone holding a point is offered, the one holding the most points first. A project across a zone line, such as Fargo and Moorhead across the Red River, is offered both zones, and the choice says the first holds most of it.
  • Land partly in one of the four states not outlined keeps its own zones: they are offered beside that state's zones, the side holding more of the land first, and the choice says which is which (review finding NF6). Only land wholly in such a state is offered that state's zones alone.
  • When nothing can be offered (no coordinate system, no ground built yet, or a place outside every zone the table holds), only the project's own system is offered and the choice says why in a few words.

Heights

A file never pairs horizontal feet with silent vertical meters.

  • Contours DXF: Z values are NAVD88 heights converted to the zone's foot, and the header comment and the text file say "Z values are NAVD88 heights in U.S. survey feet (EPSG:6360)" or "… in international feet (EPSG:8228)". $INSUNITS is 21 (U.S. survey feet) or 2 (feet).
  • Contours Shapefile: the contour lines are flat with their height as an attribute. ELEV_FT stays the contour's height in international feet, as it was drawn and as the default download gives it, and ELEV_M in meters. In a U.S. survey foot zone a column ELEV_USFT is added, with the height in that foot, and the text file says which column is which. In an international-foot zone ELEV_FT is already the zone's foot.
  • Landscape zones and surface designs: flat outlines with no heights; the text file says so.
  • Spot elevations CSV: the coordinate columns are easting_usft and northing_usft in a U.S. survey foot zone, easting_ft and northing_ft in an international-foot zone, and crs_epsg names the zone. elevation_ft stays international feet and elevation_m meters, as in the default file; a U.S. survey foot zone adds elevation_usft after elevation_ft. The text file says which column is which. With the project's own system chosen the file is byte for byte what it was.
  • Cut and fill grid CSV: every column is in the zone's foot, easting_usft, northing_usft, existing_usft, design_usft, cut_fill_usft (or _ft), with a # CRS: line naming the zone and the foot and a # Heights: line naming the height unit. The values are the same heights as the default file's, in the other foot: at most 0.004 m apart after rounding to two decimals in the test.
  • Elevation grid: heights are in the zone's foot too, since the zone's definition and the choice both say feet, and the band's unit says so in the registry's own words, "US survey foot" or "foot". The file keeps VERTICAL_DATUM=NAVD88 (EPSG:5703) and adds HEIGHTS=NAVD88 heights in US survey foot (EPSG:6360) (or foot, EPSG:8228), and the text file says "the band's values are NAVD88 heights in U.S. survey feet (EPSG:6360)". Heights that the source file doesn't mark NAVD88 are refused, not relabeled.
  • Drainage design's Shapefile, GeoPackage and DXF: each pipe's heights, its inverts, are in the zone's foot, the same foot as the eastings and northings, so a CAD or GIS program that reads Z in the drawing's unit reads them right. The app shows inverts in international feet (the schedules, Exports); in an international-foot zone these are the same numbers, and in a U.S. survey foot zone they differ by 2 parts in a million, under 0.005 ft below 2,500 ft, and the file says so. Nodes are points without heights, as before. The other columns don't change with the coordinates: slope_pct is each pipe's slope as designed, in percent, and size, inside_in and outside_in are inches. No lengths, covers or depths are written in these files (they are in the pipe schedule and the stakeout CSV, which stay as they are). A length measured on the file's coordinates is a grid distance, which differs from the distance along the ground by the zone's scale factor and the land's height, so the file says to take lengths and slopes from the pipe schedule.
  • NAVD88 heights stay NAVD88; only the unit changes. The text file keeps its vertical datum line as before.

What each file says

Every State Plane download's text file carries three lines in place of the horizontal system line, for example:

Horizontal CRS: State Plane, NAD83(2011) / North Dakota South (ft), EPSG:6547
Horizontal units: Eastings and northings in international feet: international foot (0.3048 m exactly)
Heights in this file: Z values are NAVD88 heights in international feet (EPSG:8228)

A Shapefile's .prj is the zone's registry WKT, with its AUTHORITY["EPSG", …] and its UNIT, and without the zero datum shift: left in, it makes PROJ read the file as a bound CRS, which pyproj and QGIS do not name by its code. A DXF carries no coordinate system, so its header comments name the zone and the foot and say to tell CAD the system. No existing label or caution changes; a download made in the project's own system is byte for byte what it was.

The elevation grid

  • How: gdal.Warp from the project's original DEM (dem_original, in its UTM zone on NAD83(2011)) to the zone's EPSG code, which is also on NAD83(2011), so there is no datum shift. The worker refuses a code that isn't projected, isn't on NAD83(2011), or is defined in a unit other than the foot the browser asked for.
  • Resampling: bilinear. Each new cell's height comes from the four original cells round its center, weighted by distance. It keeps a smooth surface smooth and never gives a height outside its neighbors: the nearest cell steps, and a cubic overshoots at a bank. GDAL's own name for it is written in the file (RESAMPLING=bilinear) and in the text file.
  • Cell size: the original cell's ground size in the zone's foot, 3 m to 9.8425 U.S. survey feet, so the grid is neither finer nor coarser than the one it came from. The text file states it: "Resampled: every cell of this grid was worked out again from the project's 3 m UTM grid by bilinear interpolation, to cells of 9.8425 U.S. survey feet."
  • Where it goes: the project's folder of the exports bucket, <project>/grids/<terrain>/<name>.tif, one file per terrain and zone. The bucket took no GeoTIFF before, so supabase/migrations/20261201100000_state_plane_downloads.sql adds image/tiff to its list, and nothing else; the bucket's 50 MiB limit stays. A grid of the build's own size, 3.7 to 4.5 million cells, is about 18 MB as Float32 before compression; a larger one is refused with its reason and the project's own coordinates offered.
  • What it is for: a download, and nothing more. Nothing in the app reads it back. Cover reads only the original DEM (CLAUDE.md), and nothing that works out cover may read a resampled grid; the module says so at its head.
  • Against the worker deployed today: a worker change reaches production only by a deploy the owner does by hand. Until a GIS worker that lists export.state_plane_grid has checked in (worker_presence()), the elevation grid's row says "The elevation grid isn't available in State Plane yet. Choose the project's own coordinates to download it in UTM meters." and offers no button, and no job is queued that nothing would take (apps/web/src/lib/terrain/state-plane-grid.ts, tested in state-plane-grid.test.ts).
  • Checked: services/gis-worker/tests/test_state_plane_grid.py warps a tilted plane of 3 m cells round KRAUS into Minnesota South. GDAL's matcher names the file EPSG:6505 at 100, PROJ reads its unit as the U.S. survey foot, the band's unit is "US survey foot", and every inner cell's height, taken back to UTM, is the plane's height there in U.S. survey feet within 0.001 ft (bilinear reproduces a plane, so only Float32's error is left). An international-foot zone gives "foot" and 0.3048 m. No-data stays no-data.

The drainage design's files

  • How: the Export panel has the same Coordinates choice as the Downloads section, the same component (download-coordinates-choice.tsx) fed by the same hook (use-download-coordinates.ts), so the zones offered for a place and their names come from one place. A chosen zone goes on the export.convert job's payload as state_plane: { zone_epsg, foot } (packages/contracts/src/exports.ts, StatePlaneTarget). With the project's own coordinates chosen the field is left out, the payload is exactly what it was and so is every file: services/gis-worker/tests/test_exports.py checks the files byte for byte, and apps/web/src/lib/terrain/state-plane-design.test.ts checks the payload.
  • On the worker (services/gis-worker/gis_worker/exports.py): the zone is refused before anything is read unless it is NAD83(2011) State Plane in the foot asked for, the same check as the grid's (zone_srs). The design's GeoJSON is first projected into the project's own system exactly as the default file is, then from it into the zone, which is a projection and nothing more since both are on NAD83(2011). So every vertex lands where the default file's does. Each pipe's Z is divided by the meters in the zone's foot. Then the same three writers run as before.
  • What each file says: the Shapefile zip carries README.txt with the three lines every State Plane download carries, then a line on the columns and a line on lengths; its .prj is GDAL's for the zone, which GDAL's matcher names by its code. The GeoPackage's layers carry the zone's code and the same lines are in its metadata (HORIZONTAL_CRS, HORIZONTAL_UNITS, HEIGHTS, COLUMNS, LENGTHS) and each layer's description. The DXF starts with the same lines as 999 comments, the first saying to tell CAD the system since the file can't carry it, and its $INSUNITS is 21 (U.S. survey feet) or 2 (feet) instead of 6 (meters). A sample copy's notice comes first, as before. These files carry no source line: they are the drainage design's own files, which plan v4 leaves as they are.
  • The file's name ends -design-state-plane, so a past export made in State Plane is listed as, for example, "Shapefile, zipped, in State Plane".
  • Against the worker deployed today: a worker from before this change forbids the new field and would fail the job. The export.convert kind it already lists can't tell the two apart, so the panel reads worker_presence() as the grid's row does and sends a zone only once a GIS worker that lists export.state_plane_grid has checked in: the grid and these files are the same worker change. Until then, with a zone chosen, the three buttons are off and the panel says "The Shapefile, GeoPackage and DXF aren't available in State Plane yet. Choose the project's own coordinates to make them in UTM meters." Nothing is queued. The plan set, the schedules, GeoJSON and KML are unaffected. Deploy the grid and these together, never the grid's worker alone.
  • Checked: services/gis-worker/tests/test_state_plane_design_files.py writes a design starting on KRAUS into Minnesota South: the GeoPackage's layers are EPSG:6505 in U.S. survey feet; the Shapefile's .prj is matched to EPSG:6505 by GDAL and read by PROJ as the U.S. survey foot; every vertex, taken back to UTM (the Shapefile's through its own .prj), lands within 1 mm of the default file's, and every invert is the default file's in U.S. survey feet within 0.0001 ft; the DXF's comments and $INSUNITS say the zone and the foot; North Dakota South gives international feet and $INSUNITS 2; and zones in the other foot, on another datum or in meters are refused.

Known points

The case worked outside the engine is NGS's own published coordinates. Each datasheet gives the mark's NAD 83(2011) position and its State Plane coordinates in meters and in the zone's foot, worked by NGS. Retrieved 2026-11-30 from the NGS datasheet page (datasheet95 version 8.12.5.20).

Mark (PID) Place Zone (EPSG) NAD 83(2011) position North, east (m) North, east (feet) NAVD 88 height
G 47 (RP0391) Fargo, Cass County, North Dakota ND South (6547), int. foot 46 56 54.67032 N, 096 51 28.96768 W 148,912.767, 877,141.796 488,558.95, 2,877,761.80 iFT 272.216 m (893.10 ft)
KRAUS (DP5045) Mankato, Blue Earth County, Minnesota MN South (6505), U.S. survey foot 44 09 14.00966 N, 093 49 38.12498 W 228,225.233, 813,818.367 748,768.95, 2,670,002.43 sFT 312.480 m (1025.19 ft)
I29 133.22 (PR1044) Brookings, Brookings County, South Dakota SD North (6572), U.S. survey foot 44 19 00.45778 N, 096 45 28.20230 W 58,902.458, 858,590.362 193,249.15, 2,816,891.88 sFT 505.033 m (1656.93 ft)
RYAN (DU1712) Tempe, Maricopa County, Arizona AZ Central (6405), int. foot, transverse Mercator 33 22 21.82375 N, 111 58 06.35857 W 263,087.131, 208,543.201 863,146.76, 684,196.85 iFT 383.026 m (1256.64 ft)

North Dakota and Arizona are international-foot states; Arizona Central is also a transverse Mercator zone, so both projections the table uses are checked. G 47's datasheet also gives UTM 14 as 5,201,670.188 N, 662,997.057 E, which the default download's test checks.

Tolerances and results (apps/web/src/lib/geo/state-plane.test.ts, apps/web/src/lib/terrain/state-plane-downloads.test.ts):

  • East and north in the zone's foot within 0.01 ft of the datasheet, which prints feet to 0.01 ft. The app's results differ from the printed values by at most 0.006 ft: G 47 −0.0006, −0.0018; KRAUS −0.0057, +0.0004; I29 133.22 +0.0006, −0.0034; RYAN +0.0025, −0.0046 (east, north). In meters within 0.003 m.
  • The other foot misses by the expected amount, two parts in a million of the easting: 5.76 ft at G 47, 5.34 ft at KRAUS, 5.63 ft at I29 133.22, 1.37 ft at RYAN. The test fails if a zone's foot were swapped.
  • Heights: 272.216 m is 893.0971 international feet and 893.0953 U.S. survey feet; 312.480 m is 1025.1948 U.S. survey feet. Tested to 0.0001 ft.
  • Each mark's zone is found from the county outlines.
  • A contours DXF in North Dakota South puts its first vertex at G 47 within 0.01 ft with Z in international feet; a contours Shapefile in Minnesota South puts its first point at KRAUS within 0.01 ft and reads back through its .prj (by shpjs and proj4) to the mark's position within 1e-6 degree; the surface DXF and Shapefile start at G 47 within 0.01 ft.

Checked by GDAL

scripts/check-downloads.sh (see the downloads check) writes the State Plane samples of the Mankato fixture, which lies in Minnesota South: contours DXF and Shapefile, landscape zones Shapefile, surface designs DXF and Shapefile. For the Shapefiles it asserts that PROJ and GDAL's matcher both name the .prj EPSG:6505, that it is a plain projected CRS equal to the registry's, and that its unit is the "US survey foot" of 1200/3937 m; for the DXFs that $INSUNITS is 21. For all five it reprojects every vertex to the project's EPSG:6344, a Shapefile's through its own .prj, and checks it lands on the fixture's raster extent within 5 m, which catches a wrong zone, and within 0.01 m of the same vertex in the project-system sample, which catches a wrong foot (about 0.25 m here). Contour heights in the DXF are checked against the fixture's range in feet.

Added 2026-12-01: three more samples. sp-spot-elevations and sp-surface-cut-fill-csv are the two CSVs in Minnesota South: their headers must be the _usft columns, each row's coordinates, read as EPSG:6505 in U.S. survey feet and reprojected to EPSG:6344, must land within 0.01 m of the same row in the project-system sample (and the heights within 0.004 m), and crs_epsg must read EPSG:6505. sp-dem is the fixture's grid warped by the worker's own warp_to_state_plane inside its image: GDAL must read back EPSG:6505 in U.S. survey feet, the band's unit "US survey foot", VERTICAL_DATUM, HEIGHTS and RESAMPLING=bilinear, cells of 9.8425 ft, heights in the fixture's range in feet, and an extent over the fixture's ground.

Added later on 2026-12-01: the drainage design's three worker files, design-shapefile, design-geopackage and design-dxf in the project's own system and sp-design-shapefile, sp-design-geopackage and sp-design-dxf in Minnesota South, written by the worker's own convert inside its image from a design laid on the fixture's ground. GDAL must read back EPSG:6505 in U.S. survey feet from the Shapefile's .prj and the GeoPackage's layers, the DXF's $INSUNITS must be 21, every vertex reprojected to EPSG:6344 must land within 0.01 m of the same vertex in the project-system file, every invert must be the project-system file's in U.S. survey feet within 0.0001 ft, and each file's text must name the zone, the foot and the height unit.