{ "name": "ExtractDataTask", "displayName": "Extract Data Task", "description": "Extracts the selected layers in the specified area of interest to the selected formats and spatial reference, then returns all the data in a zip file., This tool is intended primarily for use as part of a geoprocessing service. When using this tool as part of a geoprocessing service, copy the tool into a custom toolbox, edit the model, and reconfigure it as necessary. For step-by-step instructions on how to make, use, and configure a geoprocessing service using this tool, see Geoprocessing service example: Clip And Ship.", "category": "", "helpUrl": "https://gtkdata.gtk.fi/arcgis/rest/directories/arcgisoutput/ExtractDataTaskNEW_GPServer/ExtractDataTaskNEW/ExtractDataTask.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "Layers_to_Clip", "dataType": "GPMultiValue:GPString", "displayName": "Layers to Clip", "description": "The layers to be clipped. Layers must be either feature or raster layers.", "direction": "esriGPParameterDirectionInput", "defaultValue": [ "All deposits", "All mines" ], "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "All mines", "All deposits" ] }, { "name": "Area_of_Interest", "dataType": "GPFeatureRecordSetLayer", "displayName": "Area of Interest", "description": "One or more polygons by which the layers will be clipped.", "direction": "esriGPParameterDirectionInput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": {"wkid": null}, "fields": [ { "name": "FID", "type": "esriFieldTypeOID", "alias": "FID" }, { "name": "Id", "type": "esriFieldTypeInteger", "alias": "Id" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Feature_Format", "dataType": "GPString", "displayName": "Feature Format", "description": "The format in which the output features will be delivered. The string provided should be formatted as follows: Name or format - Short Name - extension (if any) The hyphen between the components is required, as well as the spaces around the hyphen.For example: File Geodatabase - GDB - .gdb Shapefile - SHP - .shp Autodesk AutoCAD - DXF_R2007 - .dxf Autodesk AutoCAD - DWG_R2007 - .dwg Bentley Microstation Design (V8) - DGN_V8 - .dgn Internally, this tool uses the Export to CAD tool to convert data to the .dgn, .dwg, and .dxf CAD formats. The list of short names supported includes DGN_V8, DWG_R14, DWG_R2000, DWG_R2004, DWG_R2005, DWG_R2006,\nDWG_R2007, DWG_R2010, DXF_R14, DXF_R2000, DXF_R2004, DXF_R2005,\nDXF_R2006, DXF_R2007, and DXF_R2010.", "direction": "esriGPParameterDirectionInput", "defaultValue": "File Geodatabase - GDB - .gdb", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "File Geodatabase - GDB - .gdb", "Shapefile - SHP - .shp", "Autodesk AutoCAD - DXF_R2007 - .dxf", "Autodesk AutoCAD - DWG_R2007 - .dwg", "Bentley Microstation Design (V8) - DGN_V8 - .dgn", "Geography Markup Language - GML - .gml", "MapInfo MIF/MID - MIF - .mif", "MapInfo TAB (MITAB) - MITAB - .tab" ] }, { "name": "Raster_Format", "dataType": "GPString", "displayName": "Raster Format", "description": "The format in which the output raster datasets will be delivered. The string provided should be formatted as follows: Name of format - Short Name - extension (if any) Any of the following strings will work: Esri GRID - GRID File Geodatabase - GDB - .gdb ERDAS IMAGINE - IMG - .img Tagged Image File Format - TIFF - .tif Portable Network Graphics - PNG - .png Graphic Interchange Format - GIF - .gif Joint Photographics Experts Group - JPEG - .jpg Joint Photographics Experts Group - JPEG - .jp2 Bitmap - BMP - .bmp Some of the above raster formats have limitations and not all data can be converted to the format. For a list of formats and their limitations, see the help topic \"Supported raster dataset file formats\".", "direction": "esriGPParameterDirectionInput", "defaultValue": "ESRI GRID - GRID", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "ESRI GRID - GRID", "File Geodatabase - GDB - .gdb", "ERDAS IMAGINE - IMG - .img", "Tagged Image File Format - TIFF - .tif", "Graphic Interchange Format - GIF - .gif", "Joint Photographics Experts Group - JPEG - .jpg", "Joint Photographics Experts Group - JPEG 2000 - .jp2", "Bitmap - BMP - .bmp", "Portable Network Graphics - PNG - .png" ] }, { "name": "Output_Zip_File", "dataType": "GPDataFile", "displayName": "Output Zip File", "description": "The zip file that will contain the extracted data.", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeRequired", "category": "" } ] }