Home › Blog › EUDR GeoJSON errors: how to fix a plot file the Information System rejects
EUDR GeoJSON errors: how to fix a plot file the Information System rejects
By the AgrosIQ team. Published · Updated · Last verified: . General information, not legal advice.
Most plot files fail the EUDR Information System for a short list of reasons: broken JSON, latitude and longitude swapped, a polygon that is not closed, holes or crossing lines, a point with the wrong area, the wrong property names, or a file that is too big. Each has a mechanical fix, and most can be caught before upload.
General information, not legal advice. Last verified: 19 November 2026 against the Commission's GeoJSON File Description (updated 17 August 2026) and Validation Rules pages. These are operational documents the Commission can change.
How does the Information System check a plot file?
There are three layers. The first is syntax: is this valid JSON and valid GeoJSON? The second is geometry: is each shape something the system will process? The third is business rules, for example a point declared with an area above four hectares for a commodity other than cattle. Errors from the second and third layers are the confusing ones, because the file looks fine on a map.
The same description applies to uploads in the web interface and through the API. Files come in two variants: Type I (one producer, used at producer level and over the API) and Type II (several producers grouped by ProducerName and ProducerCountry, used for upload at commodity level). The structure is the same; Type II requires the ProducerCountry property on each feature.
The rules that produce the errors are summarised in our EUDR geolocation requirements guide, which also lists the common mistakes at a glance. This post goes one step further: how to diagnose each failure and repair the file.
Step 1: make sure the file is valid JSON
Syntax errors, such as a missing bracket or brace, are on the Commission's list, along with files that are not GeoJSON at all (a PDF, a text file) and password-protected files. Run the file through any JSON validator first. In a terminal, python -m json.tool plots.geojson prints the file or stops at the line it cannot parse. The system only imports GeoJSON; the Commission's FAQ gives the reason: it is the only non-proprietary format that carries the extra properties needed and enforces one coordinate system.
Step 2: put longitude first
A GeoJSON position is [longitude, latitude]. Spreadsheets and phone apps usually show latitude first, so a swapped pair is the commonest accidental error. A swap does not always trigger an error. A plot in West Africa at latitude 6 and longitude -5 swaps to latitude -5 and longitude 6, which is a valid position in the south Atlantic, so the file passes range checks and plots in the wrong place. Latitude must be between -90 and 90; if any longitude-first value exceeds 90 in magnitude, you have probably swapped. The reliable test is to open the file on a map and look.
Step 3: convert to WGS 84 decimal degrees
The Information System accepts WGS 84 (EPSG:4326) in decimal degrees and nothing else for now; the documentation says other systems "must be converted". Signs that you have a projected system: coordinates in the hundreds of thousands (metres), or UTM zone numbers in the survey sheet. Reproject in a GIS (QGIS, or ogr2ogr -t_srs EPSG:4326 from GDAL) before export. Degrees, minutes and seconds also need converting to decimal degrees.
Step 4: fix the decimals, but do not over-fix them
Article 2(28) of the Regulation requires at least six decimal digits. The Commission's FAQ says the Information System adjusts a longer number down to six decimals, and pads a shorter one with zeros. The padding is the trap: -5.1 becomes -5.100000 and the file passes, but the original was rounded and the position can be off by many metres. Fix the source export, not the file. Six decimals is a resolution of about 0.1 m on the ground, which is finer than any phone's real accuracy; see how to collect plot geolocation.
Sending more than six digits is wasteful, and the documentation warns that it can, in extreme cases, produce an invalid geometry from a valid one. Truncation also creates duplicates: two vertices that differ only after the sixth decimal collapse into one point. Remove duplicate consecutive vertices.
Step 5: close every ring
The first and last positions of a polygon must be identical, and a polygon needs at least four positions. A file with four distinct corners and no repeat of the first is an open ring. Most GIS exports close it for you; hand-built files and some spreadsheet macros do not. The fix is to append a copy of the first position.
Step 6: remove crossing lines and overlapping sides
A figure-eight, or any polygon whose boundary crosses itself, is not processed. The Commission lists "overlapping sides", where part of the boundary folds back onto itself, in the same group. These almost always come from vertices captured in the wrong order, for example when a farmer walks to a corner and then back across the plot. Re-order the vertices to follow the perimeter, or delete the stray points. In a GIS, a "check validity" or "make valid" tool will find self-intersections; make-valid tools may change the shape, so look at the result.
Step 7: split polygons with holes
The system does not process polygons with holes (a ring inside a ring). The Commission's workaround is to describe a doughnut as two half-doughnut polygons. There is a sound reason beyond the validator: a hole is usually land that is not part of the production plot (a house, a pond, a neighbour's parcel). Under Article 2(27), a plot is land within a single real-estate property with sufficiently homogeneous conditions, and the Commission's FAQ says each polygon should indicate a single plot, which may be contiguous or not. If the excluded part is large, two plots are often the honest description.
Step 8: use only accepted geometry types
Accepted types are Point, MultiPoint, Polygon and MultiPolygon, and the type names are case-sensitive. LineString and MultiLineString are not accepted, because a line is not a production place. A path walked around a field and saved as a track must be turned into a polygon (close it and convert the line to a polygon in your GIS). The documentation also lists "coordinates representing straight lines", meaning a polygon whose vertices lie on one line; it has no area.
Step 9: get points and their areas right
A point can stand for a plot of four hectares or less. The Area property is the area in hectares, and for points the validation rules say:
- it is mandatory, and the system fills in 4 if you leave it out;
- for commodities other than cattle, a value above 4 hectares raises an error;
- it must be at least 0.0001 hectares;
- it must be a number:
"Area": "3"in quotes is not recognised and gives an area of zero, the Commission warns; write"Area": 3.
The defaulting to 4 hectares is another trap: a 0.8 ha plot left without an Area will be recorded as 4 ha. If a plot might be near four hectares, measure it and, if in doubt, use a polygon. Cattle are the exception: the polygon rule does not apply to establishments, and single points are enough.
Step 10: check property names and country codes
Only a few properties are read: ProducerName, ProducerCountry (ISO two-letter code), ProductionPlace and Area. Anything else that is syntactically valid is ignored. Names are case-sensitive, so productionplace is invalid. The Commission's list of common errors includes invalid property names, an invalid ISO country code and the use of geometry as a property name. ProductionPlace is optional but recommended: it is how you will recognise the plot in the interface.
Where a product comes from plots in more than one country, the Commission's FAQ says to enter the production places separately for each country, so do not put plots from two countries into a single production place.
Step 11: bring the file under the size limit
The documentation gives 25 MB for all geolocation data in one statement; the FAQ says that is room for more than a million vertices. Files exceed it when a GPS track records a point every few seconds or metres. Two reductions work, both recommended by the Commission: use a single point for plots under four hectares, and describe straight sides with two points instead of many. The FAQ's example describes a rectangle with 7 corner points instead of 168. A "simplify" tool in a GIS will do this; set a tolerance small enough that the shape still follows the real boundary.
A script that catches the mechanical errors first
This is our own small checker, written for this post, not the Information System's validator. It uses only Python's standard library and reports feature by feature: geometry types, coordinate ranges, fewer than six decimals, open rings, holes, crossing sides, text areas and oversized point areas. We tested it on a small file with each fault planted in it. It will not catch a swapped pair that stays in range, a plot in the wrong place, or anything the Commission adds later.
import json, sys
from decimal import Decimal
def ccw(a, b, c):
return (c[1]-a[1])*(b[0]-a[0]) - (b[1]-a[1])*(c[0]-a[0])
def crosses(p1, p2, p3, p4):
return ccw(p1,p3,p4)*ccw(p2,p3,p4) < 0 and ccw(p1,p2,p3)*ccw(p1,p2,p4) < 0
def ring_problems(ring):
out = []
if len(ring) < 4: out.append("fewer than 4 positions")
if ring[0] != ring[-1]: out.append("ring is not closed")
n = len(ring) - 1
for i in range(n):
for j in range(i + 2, n):
if i == 0 and j == n - 1: continue
if crosses(ring[i], ring[i+1], ring[j], ring[j+1]):
return out + ["sides %d and %d cross" % (i, j)]
return out
def decimals(d): return max(0, -d.as_tuple().exponent)
for k, f in enumerate(json.load(open(sys.argv[1], encoding="utf-8"),
parse_float=Decimal).get("features", [])):
props, g = f.get("properties") or {}, f.get("geometry") or {}
kind, c, msg = g.get("type"), g.get("coordinates"), []
if kind not in ("Point", "MultiPoint", "Polygon", "MultiPolygon"):
msg.append("geometry type %r is not accepted" % kind)
else:
pts = [c] if kind == "Point" else c if kind == "MultiPoint" else \
[q for r in (c if kind == "Polygon" else [r for p in c for r in p]) for q in r]
for lon, lat in (q[:2] for q in pts):
if not (-180 <= lon <= 180 and -90 <= lat <= 90): msg.append("out of range")
if min(decimals(Decimal(lon)), decimals(Decimal(lat))) < 6: msg.append("under 6 decimals")
if kind == "Polygon":
if len(c) > 1: msg.append("holes are not processed")
msg += ring_problems(c[0])
if kind == "Point" and "Area" in props:
a = props["Area"]
if not isinstance(a, (int, Decimal)): msg.append("Area must be a number")
elif a > 4: msg.append("point Area above 4 ha")
if not props.get("ProductionPlace"): msg.append("no ProductionPlace")
print("feature %d: %s" % (k, "; ".join(sorted(set(msg))) or "ok"))
Run it as python check_plots.py plots.geojson. For MultiPolygon features it checks ranges and decimals but not rings; extend it if you use them.
Checklist before you upload
- The file is valid JSON and a FeatureCollection with accepted geometry types only.
- Every position is longitude, latitude in WGS 84 decimal degrees, within range.
- Six decimals from the source, not padded zeros.
- Every polygon is closed, has no holes and no crossing sides.
- Plots over 4 ha (not cattle) are polygons; points carry a numeric
Areaof 4 or less. - Property names are spelled and cased exactly;
ProducerCountryis a valid ISO code; plots from different countries are separate production places. - The total file is well under 25 MB.
- You opened the file on a map and the plots are where the farms are.
What a clean file does not prove
Passing validation means the Information System can process the file. It does not mean the plots are right. The Commission's FAQ says operators must verify, and be able to prove, that the geolocation is correct, and that incorrect information is a breach of their obligations. A valid polygon in the wrong place is the most dangerous kind, and tidying a file never fixes a bad capture. Check shapes against imagery (what is satellite crop monitoring explains what satellite views of a field show), and treat plots whose area differs sharply from the farmer's own figure as a prompt to re-visit.
AgrosIQ's EUDR screen (beta) can write a plot set to the Information System's GeoJSON format and screen each plot against JRC GFC2020 V4 and Hansen GFC-2025-v1.13 loss for 2021-2025, with HIGH, REGROWTH, REVIEW or LOW and the reasons. It is a screen, not a compliance determination, and loss after 2025 is not visible. See the forest cutoff and screening limits and EUDR plot screening. The statement that the file ends up in is covered in the EUDR due diligence statement explained.
Sources
- EUDR Information System: GeoJSON File Description (updated 17 August 2026)
- EUDR Information System: API and UI Validation Rules
- European Commission: Frequently Asked Questions on EUDR implementation, 5th iteration (PDF), FAQs 1.7, 1.12, 1.14, 7.13, 7.16, 7.17, 7.26
- Regulation (EU) 2023/1115, EUR-Lex: Articles 2(27), 2(28) and 9(1)(d)
- IETF RFC 7946: The GeoJSON Format
Related
- How to collect plot geolocation for EUDR: a practical guide for cooperatives and exporters
How to collect plot geolocation for EUDR: points or polygons, walking a boundary with a phone, six decimals, the 4 ha rule, consent and checks. - The EUDR due diligence statement: what it must contain and who submits it
The EUDR due diligence statement: what Annex II requires, who submits it, how the Information System issues a reference number, and where plots fit. - EUDR for micro and small operators from 30 June 2027: who qualifies and what changes
EUDR small operators 2027: who counts as micro or small, the 30 June 2027 date, the simplified declaration, postal addresses, and what stays the same.