renamed some herbicide names to haulmkilling

This commit is contained in:
Mark van der Wal 2020-05-11 09:47:55 +02:00
parent 248ab25700
commit d2f7c089dc

View File

@ -1,4 +1,4 @@
## VRAHerbicide API ## VRAHaulmkilling API
[<< Home](README.md) [<< Home](README.md)
FarmMaps is an asynchronous architecture, the API flow keeps this in mind. FarmMaps is an asynchronous architecture, the API flow keeps this in mind.
@ -25,7 +25,7 @@ For the currently available public FarmMaps API you can take a look at swagger:
* This is an asynchronous process and can take a while before all data is collected in FarmMaps. * This is an asynchronous process and can take a while before all data is collected in FarmMaps.
* *Upload own data* * *Upload own data*
* IF shape data, convert to geotiff. * IF shape data, convert to geotiff.
* Querying predefined herbicide agents (to use as input for the task). * Querying predefined haulmkilling agents (to use as input for the task).
* Task 'vnd.farmmaps.task.vrahaulmkilling' must be executed to create an application map. * Task 'vnd.farmmaps.task.vrahaulmkilling' must be executed to create an application map.
* Task 'vnd.farmmaps.task.taskmap' can be executed to create a taskmap. * Task 'vnd.farmmaps.task.taskmap' can be executed to create a taskmap.
* Download item data (tiff of shape) * Download item data (tiff of shape)
@ -38,7 +38,7 @@ For the currently available public FarmMaps API you can take a look at swagger:
[Upload Data](Upload-Data.md) [Upload Data](Upload-Data.md)
###### Transform shape to geotiff ###### Transform shape to geotiff
The VRAHerbicide task only processes tiff items as input. The VRAHaulmkilling task only processes tiff items as input.
If your input data is a processed shape file it first needs to be converted to geotiff, this can be done with the 'ShapeToGeoTiffTask'. If your input data is a processed shape file it first needs to be converted to geotiff, this can be done with the 'ShapeToGeoTiffTask'.
Pass the code of the shape item into the {code} parameter, this creates a new item with tiff data as the parent of the shape item. Pass the code of the shape item into the {code} parameter, this creates a new item with tiff data as the parent of the shape item.
@ -153,7 +153,7 @@ Response 403 No READ permissions in item
Response 404 Items not found Response 404 Items not found
The data structure contains the haulmkilling **agents** and the **valid options** available in farmmaps. The data structure contains the haulmkilling **agents** and the **valid options** available in farmmaps.
Each agent contains a list of supported options and a key value map of constants. Each agent contains a list of supported options and a key value map of a list of constants.
The key is a supported inputtype (wdvi, ndvi) and the value is a list of constant objects like so: The key is a supported inputtype (wdvi, ndvi) and the value is a list of constant objects like so:
```javascript ```javascript
{ {