Add a farm, with its boundary if known
eudr_create_farmAdd a farm to this organisation's record. A name is enough; give the crop, country and a pin (lat, lon) when known. Give its boundary as boundary (a GeoJSON Polygon or MultiPolygon, longitude first), or as fields: several field outlines (for example Fields of The World parcels) that are joined into one farm by closing the bunds and tracks between neighbours (join_m, default 3 m each way), fields farther apart kept as separate pieces. With a boundary, what follows runs at once: the country from where the land lies when none is given, the forest record warmed, and the land check when the crop is one the EU regulation covers. With only a pin, the mapped fields around it are looked up as suggestions for a person to accept. This writes to the organisation's record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | A pin on the farm, in WGS84 degrees. Use it when no boundary is known. | |
| lon | No | The pin's longitude, WGS84 degrees. GeoJSON order is longitude first; this field is not. | |
| crop | No | What grows there, in plain words (`cocoa`, `coffee`, `oil palm`). It decides whether the EU deforestation rules apply at all. | |
| name | Yes | What the farm is called, as the buyer and the farmer would say it. | |
| fields | No | GeoJSON Polygons to join into one farm. | |
| join_m | No | How far apart two field outlines may be and still be treated as one farm, in metres each way. Default 3, which closes the bunds and tracks between neighbouring parcels. | |
| country | No | ISO 3166-1 alpha-2. | |
| boundary | No | GeoJSON Polygon or MultiPolygon. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| then | No | ||
| farm_id | Yes | ||
| boundary | No | ||
| farm_url | Yes | ||
| next_action | No |