EU EUDR / TRACES NT Plantation GeoJSON Validator, Auto-Repair & DDS Pre-Check
validate_eudr_geojsonValidates and auto-repairs farm and plantation GeoJSON plot polygons/points for Regulation (EU) 2023/1115 (EUDR) TRACES NT submission: WGS84 CRS & 6-decimal precision, spherical geodesic area in hectares, 4-hectare Point-vs-Polygon rule (with cattle exemption), RFC 7946 ring closure/winding/self-intersection (bowtie) checks, Null Island & coordinate-swap detection, Annex I HS/commodity lookup, and optional TRACES NT DDS pre-check packet. Technical geometry pre-check only; does not perform satellite deforestation verification.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"geojson": "<geojson>"
},
"name": "validate_eudr_geojson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hsCode | No | Optional 4–8 digit HS/CN tariff code to resolve EUDR Annex I scope and commodity. | |
| geojson | Yes | GeoJSON FeatureCollection, Feature, or Geometry (Point/Polygon/MultiPolygon) as a JSON object or JSON string. | |
| defaults | No | Optional fallback TRACES NT plot properties applied during autoRepair when missing on individual features. | |
| operator | No | Optional EU operator metadata embedded in TRACES NT DDS pre-check packet when includeDdsPayload=true. | |
| commodity | No | Optional EUDR Annex I commodity: cattle, cocoa, coffee, oil_palm, rubber, soya, or wood. | |
| autoRepair | No | If true, emits deterministically repaired TRACES-ready GeoJSON in autoRepair.repairedGeojson. | |
| operatorSize | No | Operator size category for statutory EUDR application deadline (default: "large_or_medium"). | large_or_medium |
| includeDdsPayload | No | If true, generates a TRACES NT-aligned Due Diligence Statement pre-check packet in ddsPayload. |