Update 'VRAHerbicide-API.md'

Improved herbicide documentation with latest changes
This commit is contained in:
Mark van der Wal 2020-06-10 12:38:50 +00:00
parent 5b72805644
commit 17498e26cf

View File

@ -163,6 +163,37 @@ Response 401 Not authenticated
Response 403 No WRITE permissions in item Response 403 No WRITE permissions in item
Response 404 Item not found Response 404 Item not found
##### Optional input parameters #####
There are some optional task attribute input parameters for greater flexibility.
* **inputLayerName**
Allows you to specify which layer to use for an input item.
* **extraInputLayerName**
Allows you to specify which layer to use for the extra input item.
* **minPercentile** value between 0.0 - 1.0
Allows you to specify the minimum percentile value to 'filter' lower bound input data
* **maxPercentile** value between 0.0 - 1.0
Allows you to specify the maximum percentile value to 'filter' upperbound bound input data
* **plantingDate** if relevant
Allows you to specify the date the crop is planted.
* **measurementDate** if relevant
allows you to specify the date when the measurements were taken.
Default input layer name for herbicide is the agent inputType used (lutum, om).
Default percentile values for herbicide are 0.0 and 1.0.
Default dates are 'inherited' from the cropfield item passed to the task.
```javascript
{
"inputLayerName": "customLayerName",
"extraInputLayerName": "customLayerName",
"plantingDate": "2020-02-01T00:00:00.000Z",
"measurementDate": "2020-06-01T00:00:00.000Z",
"minPercentile": "0.1",
"maxPercentile": "0.95"
}
```
##### Create taskmap ##### Create taskmap
[Create Taskmap](Create-Taskmap.md) [Create Taskmap](Create-Taskmap.md)