Pipeline stages
Each file moves through these stages in order:- originalFile — The raw proprietary file as received. Stored for reference.
- rawGeojson — The proprietary format is parsed into Leaf’s raw GeoJSON representation.
- standardGeojson — The point data is standardized to Leaf’s public schema and units. This is the primary point-level output returned by the file resource.
- filteredGeojson — If filtered output is available, Leaf exposes a filtered point dataset as a separate public artifact rather than as a cleanup step name.
- summary — Aggregate statistics (avg, min, max, totals) are calculated from the point data. Includes a geometry representing the spatial coverage.
- units — A map of property names to their units for the file.
- propertiesPNGs — PNG images generated from numeric properties.
- zippedPNGs — A zip bundle containing the generated PNG images.
Tracking file status
UseGET /files/{id}/status to check where a file is in the pipeline. The response is a map keyed by the public step names returned by the API:
processed, failed, skipped.
If a stage fails, the message field contains details about what went wrong.
File metadata
A converted file (GET /files/{id}) includes:
File summary
The summary (GET /files/{id}/summary) is a GeoJSON Feature with aggregate properties and a geometry representing the spatial coverage of the operation. The properties vary by operation type.
Common properties across all types:
The summary geometry is built from a buffer of the operation points, creating a polygon that approximates the coverage area.
Data cleanup
WhencleanupStandardGeojson is enabled, Leaf removes points that fail these validation rules:
You can customize which rules apply and their thresholds using the
cleanupRules configuration.
Filtered GeoJSON and outlier removal
IfoperationsFilteredGeojson is enabled, Leaf produces an additional filtered version of the data. The filter removes:
- Points with
speedless than 0.5 m/s (all operation types)
operationsOutliersLimit. Disable outlier removal entirely with operationsRemoveOutliers.
At the operation level, the filtered GeoJSON is used as the basis for generating V2 images, which use a fixed color ramp with 7 quantile-based classes. See Field Operations for details on operation images.
Processing timing
Files from provider connections process immediately on first sync, then at least every 24 hours. Event-driven providers trigger processing sooner. Manually uploaded files begin processing as soon as Leaf receives the upload. Processing time depends on data volume. Expect initial results within a few minutes.Leaf archives files to slower storage after 180 days of no access. Contact support if you need to retrieve archived files or require a different retention period.
What to do next
- Field Operations — How converted files are merged into field operations.
- Sample Output — Example file and operation responses.
- Units — Unit reference for all numeric properties.

