ISKRIT / engineering reference ← to reference

AGS4 file validation: what the rules actually check

Updated: August 4, 2026 · ISKRIT

An AGS4 file is rejected for structural reasons far more often than for wrong geotechnical values. Most of those reasons are mechanical and can be found without any reference dictionary, straight from the text of the file.

What is checkable from the file alone

RulesChecks
1 to 5line syntax: every field quoted, comma separated, doubled quotes inside a field, nothing outside the quotes
2b and 7group descriptor order: GROUP, then HEADING, then UNIT and TYPE, then DATA, and every DATA row matching the heading count
8data types: 2DP means exactly two decimal places, YN accepts only Y or N, DT must parse as a date
10key links: every SAMP row pointing at a LOCA that exists
13 and 14PROJ and TRAN present, one DATA row each
15 and 17units and types used in the file declared in the UNIT and TYPE groups
16PA abbreviations present in the ABBR group
19group and heading names in the permitted character set and length

What is not checkable that way

Rule 9 requires every heading to exist in the standard AGS dictionary for its group. Enforcing it needs the dictionary itself embedded in the checker, along with the dictionary version the file targets. A validator without that dictionary should state plainly that rule 9 was not applied rather than pass the file silently. Ours does exactly that.

The type rules bite hardest

Rule 8 is where clean-looking files fail. A TYPE of 2DP is not “a number rounded to two decimals”, it is a requirement that the text in the field carry exactly two decimal places. The value 12.5 under a 2DP heading is a rule 8 error even though the number is right, and so is 12.500. Spreadsheet exports produce this constantly, because a spreadsheet drops trailing zeros and the exporter writes whatever the cell holds.

Questions

Does a rule 8 failure block loading? Most receiving systems load the file and flag the row, but a client checking to the letter of the format can reject the delivery.

Are warnings and errors distinguished? Yes. Missing mandatory groups are errors, an undeclared unit is reported separately from a broken line, and the report keeps line numbers so the file can be fixed directly.

Upload a file and get the rule-by-rule report from the AGS4 validation tool.

More in the reference:
Measurement uncertainty calculator: GUM budget with Type A, Type B and expanded U
Area from coordinates calculator: shoelace formula for survey plots
Bearing and distance from coordinates: survey inverse calculator
Rotating shift patterns: covering the posts and balancing the hours
Calibration intervals: setting them, shortening them, defending them
Turning an estimate into a bill of quantities that foots
Progress billing: percent complete, carry-forward and retention
Checking claimed quantities: the design schedule and the survey
Pile capacity from CPT: how the LCPC method reads a cone trace
Driven and bored piles: why the same soil gives different capacity
What belongs on a borehole log, and what quietly gets left off
Drawing a cross section: correlating layers between boreholes
From an AGS4 file to a laboratory summary: what the groups carry
Characteristic values: turning a set of test results into one number
Void ratio, porosity and saturation from one density test
When one soil layer is really two: splitting geotechnical units
ASTM D4254 minimum index density: procedure and Dr calculator
Relative density Dr and density index Id are not the same number
USCS classification step by step: ASTM D2487
Cu and Cc: what the two gradation coefficients actually tell you
Dual symbols in USCS: the 5 to 12 percent fines band
EN ISO 14688-1 against USCS: two different size ladders
AGS4 syntax: the five rules that break a delivery
ASTM D2435 oedometer test: from the curve to Cc, mv and Eoed
Converting oedometer modulus to Young’s modulus
EN ISO 17892-5 and ASTM D2435: where the two diverge
ASTM D1196 plate load test: modulus and subgrade reaction
DIN 18134: Ev1, Ev2 and the compaction ratio
Ménard pressuremeter modulus: ASTM D4719 and EN ISO 22476-4
Hydraulic conductivity from a pumping test: Dupuit calculator and formulas
Shewhart control chart constants: A2, A3, B3, B4, D3, D4, d2, c4
The eight out of control tests on a Shewhart chart
Repeatability and reproducibility limits: where 2.77 comes from
How rebar cutting plans are optimised: the cutting stock problem
Cutting waste in rebar fabrication: what percentage is normal
Rebound hammer calibration: why the factory curve is not enough
Kerf and offcut: what a linear cutting plan has to account for
Earthwork volume from survey points: grid, TIN and cross sections
Fire load density: the formula, the calorific values and the traps
Explosive atmosphere zones 0, 1, 2 and 20, 21, 22 explained
Pollution charges per tonne: how the over-limit multiplier works
The Russian environmental fee: who pays, when, and how the advances work