Skip to main content
Leaf accepts soil sample data from over 30 format families. Files are uploaded as .zip archives. Leaf identifies the format automatically; you don’t need to specify it. Regardless of input format, successful processing returns a flat GeoJSON FeatureCollection for mapping and spatial tools. Most formats also produce a canonical JSON result with the full data model, including lab info, provenance, and analyte categories. Check the downloadCanonicalJson field in the entry response — it is null when canonical output is not available for that format.

Format catalog

Format familyTypeTypical analytes
SMS Shapefile (8 variants)ShapefilepH, P, K, OM, CEC
AgVanceShapefilepH, K, CEC
AgVance SkyMapShapefilepH
Co-Op SoilShapefilepH, P, K, Ca, Mg
E4ShapefileVaries
GeoCarta SamplingShapefilepH, CEC, Ca, Mg, K, P + resistivity sensor
GeoCarta SoilShapefilepH, OM, P, K
Generic SoilShapefilepH, P
IFARMShapefilepH, P, K
Midwest Soil ShapeShapefilepH, P, OM
Premier CropShapefilepH, OM, P, K, CEC
SoilTestPro ShapefileShapefilepH, P, K, OM
SST PolygonShapefilepH, P, K, OM
SoilTestProCSVpH, P, K, OM, BpH + methods
AgPhDCSVpH, P, K, H, NO3-N
SMS CSVCSVpH, P, K, OM, BpH + methods
TopCopCSVpH, CEC, K, OM
MODUS (AgGateway)XMLpH, P, K, OM
Midwest LabsXMLpH, P, K, Ca, Mg, OM + methods
A&L Labs (AJService)XMLpH, P, K, Ca, OM + methods
Uniform Data AdapterXMLOM, K
SST Soil / SoilMapshotsProprietarypH, P, K, OM (500+ columns, multi-depth)
SST BackupProprietarypH, P, K, OM
VerisProprietaryEC, pH, OM, CEC + sensor channels

Shapefiles

The most common format type. Includes data from Ag Leader SMS (8 column-naming variants), AgVance, cooperative labs, SST, Premier Crop, IFARM, and others. Most shapefile formats include GPS coordinates for each sample point and produce geospatially-located GeoJSON Features. Some shapefile formats can contain multiple sampling dates or multiple fields within a single zip. Leaf splits these into separate events in the output, each with its own eventId.

CSV

Four CSV-based formats are supported. SoilTestPro and SMS CSV are the richest, with explicit extraction method columns (e.g. Mehlich-3, Bray-1) that Leaf carries forward into the {analyte}_method properties. AgPhD includes explicit depth columns. TopCop uses a simpler column structure.

XML

Leaf accepts MODUS XML (the AgGateway soil data standard), along with lab-specific XML formats from Midwest Laboratories and A&L Laboratories. XML formats sometimes lack GPS coordinates; in these cases the GeoJSON Features have null geometry but still contain all analyte data.

Proprietary

SST (Soil Sampling Technologies) formats often contain 500+ columns per file covering surface and multiple subsoil depth layers. Each depth layer becomes a separate Feature in the GeoJSON output, linked by sampleId. Veris sensor files contain high-density electrical conductivity readings (9,000+ points per field). These produce large GeoJSON outputs (10+ MB) with EC measurements at shallow and deep profiles.
Last modified on April 17, 2026