From ce6f977b9b32c7fe71e17b1140eebcb7b1187216 Mon Sep 17 00:00:00 2001 From: Mark van der Wal Date: Thu, 29 Apr 2021 06:34:08 +0000 Subject: [PATCH] Update 'VRAHaulmkilling-API.md' --- VRAHaulmkilling-API.md | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/VRAHaulmkilling-API.md b/VRAHaulmkilling-API.md index 5ec4b53..f4112a0 100644 --- a/VRAHaulmkilling-API.md +++ b/VRAHaulmkilling-API.md @@ -38,31 +38,7 @@ For the currently available public FarmMaps API you can take a look at swagger: [Upload Data](Upload-Data.md) ###### Transform shape to geotiff -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'. - -Pass the code of the shape item into the {code} parameter, this creates a new item with tiff data as a sibling of the shape item with the same parent -This new geotiff item should be used as input to the a task. - -> Request -```javascript -POST /api/v1/items/{code}/tasks -{ - "taskType": "vnd.farmmaps.task.shapetogeotiff" -} -``` -> Response 201 -```javascript -{ - "code": "string", - "taskType": "vnd.farmmaps.task.shapetogeotiff" -} -``` - -Response 400 Tasktype not found -Response 401 Not authenticated -Response 403 No WRITE permissions in item -Response 404 Item not found +[Shape to geotiff](Shape-to-geotiff.md) ###### Querying predefined haulmkilling agents. A list of haulmkilling agents can be requested by getting the "vnd.farmmaps.itemtype.codelist.fm005" items from farmmaps.