jd_download_operation_shapefile
Download a field operation's point-by-point shapefile as a zip for GIS or Python analysis. Saves it to disk and returns the file path, or reports if Deere is still preparing it.
Instructions
Download the point-by-point shapefile for one field operation and save it to disk.
The file is a zip of ESRI shapefiles (GPS points or polygons with yield, rate, moisture
and similar values at each location), meant for GIS software or Python. This tool saves
the zip in the output folder and returns its path and size; it does not return the
contents, because the files are large. Operation IDs come from
jd_list_field_operations (only operations with shapefile_available true have one).
Deere prepares the file in the background, so this tool may wait a little. If Deere is
still preparing it when max_wait_seconds runs out, the result has status "preparing";
call the tool again after retry_after_seconds. On success the status is "saved".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | File name to save as, inside the output folder. Defaults to operation-<operation_id>.zip. | |
| resolution | No | How densely to sample the operation: per machine section, per sensor, or once per second. Omit to let Deere choose its default. | |
| shape_type | No | Geometry to export. Omit to let Deere choose its default. | |
| operation_id | Yes | Field operation ID, from jd_list_field_operations. | |
| max_wait_seconds | No | How long to wait for Deere to prepare the file before giving up. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||