How to create a GeoJSON file for TRACES, step by step
Whoever first places coffee on the EU market uploads the geolocation of every plot to the EUDR information system (TRACES) with the due diligence statement. The format is GeoJSON. This guide shows how to turn your producers' data into a file TRACES accepts.
- Plots up to 4 hectares: one point is enough. Above 4 hectares: a polygon.
- Coordinates in WGS 84 decimal degrees, with 6 decimals, longitude first, then latitude.
- Properties: ProducerName, ProducerCountry (ISO2, e.g. CO), ProductionPlace, Area (number in hectares).
- At most 25 MB of geolocation data per due diligence statement.
Who needs this file?
The file is needed by whoever files the due diligence statement: usually the importer, or your roastery if you buy directly at origin and import yourself. If you buy from an EU importer you don't file your own statement. Many roasters still ask for the file to trace where their coffee comes from (guide to the roles).
Six steps to the file
- Ask the producer for the data. For every plot: name or number, area in hectares and the location. Under 4 ha a point is enough, for example from a phone GPS in the middle of the plot. Above 4 ha you need the boundary: walk around the plot with GPS or mark the corners on a satellite image.
- Pick a tool. In Google Earth Pro (free) you draw a point or polygon and save it as KML. In QGIS (free) you create a layer and export it as GeoJSON, with CRS EPSG:4326 and coordinate precision 6. For points a spreadsheet saved as CSV, with latitude and longitude columns, is enough.
- Fill in the properties. ProducerName, ProducerCountry as a two-letter ISO code, ProductionPlace and Area as a number in hectares, without quotes. Names are case-sensitive: “area” instead of “Area” is ignored.
- Check the geometry. Polygons must be closed (first point = last point), without holes and without crossing edges. LineString and GeometryCollection are not accepted.
- Check and fix the file. Load the file into the free GeoJSON validator. It shows blocking errors, fixes safe cases automatically and converts KML and CSV to GeoJSON. The file never leaves your browser.
- Upload or pass it on. As an operator, upload the file to TRACES with the due diligence statement. As a producer or exporter, pass it on to the importer.
What a valid file looks like
Two plots from the same producer: one under 4 ha as a point, one above 4 ha as a polygon. Name and coordinates are an example.
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"ProducerName": "Finca El Mirador",
"ProducerCountry": "CO",
"ProductionPlace": "Lote 3",
"Area": 2.4
},
"geometry": { "type": "Point", "coordinates": [-75.681204, 4.531187] }
},
{
"type": "Feature",
"properties": {
"ProducerName": "Finca El Mirador",
"ProducerCountry": "CO",
"ProductionPlace": "Lote 7",
"Area": 6.1
},
"geometry": {
"type": "Polygon",
"coordinates": [[
[-75.684512, 4.528341], [-75.682291, 4.528531],
[-75.682445, 4.530745], [-75.684693, 4.530571],
[-75.684512, 4.528341]
]]
}
}
]
}
The most common errors
| Error | What TRACES expects |
|---|---|
| Latitude and longitude swapped | Longitude first, then latitude: [-75.681204, 4.531187] |
| Too few decimals | 6 decimals, e.g. 4.531187 instead of 4.53 |
| Plot above 4 ha as a point | A polygon with the plot boundary |
| Self-intersecting polygon | Corners in order around the plot, no figure eight |
| Country as a name or ISO3 | Two-letter ISO code: CO, not COL or Colombia |
| Area as text | A number without quotes: 6.1, not "6.1 ha" |
| Projected coordinates (UTM, metres) | WGS 84 decimal degrees, convert first, e.g. in QGIS |
Check your file for free
The GeoJSON validator finds these errors, fixes many automatically and shows the plots on a map. No account needed.
Open the GeoJSON validatorFrequently asked questions
Is a point enough for a plot under 4 hectares?
Yes. For plots up to 4 hectares a single point is enough. Without Area, TRACES assumes 4 hectares.
Can I upload an Excel sheet?
No, TRACES takes GeoJSON. Save a sheet of points as CSV and convert it in the GeoJSON validator.
Does a valid file mean the coffee is EUDR-compliant?
No. The format is only one part. Deforestation after 31 December 2020, legality and the risk assessment are separate steps of due diligence.
Sources
- European Commission: EUDR GeoJSON File Description (TRACES)
- Regulation (EU) 2023/1115, Art. 2(28) (geolocation)
- Regulation (EU) 2025/2650 (amendment)
Updated 1 December 2026. Not legal advice. Questions or corrections: info@eudrzy.com