{ "name": "ExtractMethodologyLayers", "displayName": "Extract Methodology Layers", "description": "The script extracts layers based on the specified methodology as configured in the configuration tool", "category": "", "helpUrl": "https://screening.environment.gov.za/server/rest/directories/arcgisoutput/ScreeningGP/ExtractMethodologyLayers_GPServer/ScreeningGP_ExtractMethodologyLayers/ExtractMethodologyLayers.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "Configuration_Service_Url", "dataType": "GPString", "displayName": "Configuration Service Url", "description": "The url to the configuration service", "direction": "esriGPParameterDirectionInput", "defaultValue": "https://screening.environment.gov.za/ScreenToolConfigService/api/methodology/", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Methodology", "dataType": "GPString", "displayName": "Methodology", "description": "The methodology to use to extract the data", "direction": "esriGPParameterDirectionInput", "defaultValue": "general", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Theme", "dataType": "GPString", "displayName": "Theme", "description": "The theme to use when extracting the data", "direction": "esriGPParameterDirectionInput", "defaultValue": "Agriculture Theme", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Area_of_Interest", "dataType": "GPFeatureRecordSetLayer", "displayName": "Area of Interest", "description": "The area to use for clipping the layers", "direction": "esriGPParameterDirectionInput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 4326, "latestWkid": 4326 }, "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 of the output files to be extracted", "direction": "esriGPParameterDirectionInput", "defaultValue": "Shapefile - SHP - .shp", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "Shapefile - SHP - .shp", "File Geodatabase - GDB - .gdb", "Autodesk AutoCAD - DXF_R2007 - .dxf", "Autodesk AutoCAD - DWG_R2007 - .dwg", "Excel - CSV - .csv" ] }, { "name": "Raster_Format", "dataType": "GPString", "displayName": "Raster Format", "description": "The raster format of the outputs that are extracted", "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": "Spatial_Reference", "dataType": "GPString", "displayName": "Spatial Reference", "description": "The spatial reference of the output data", "direction": "esriGPParameterDirectionInput", "defaultValue": "Same as Input", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Output_File_Name", "dataType": "GPString", "displayName": "Output File Name", "description": "The output zip file name", "direction": "esriGPParameterDirectionInput", "defaultValue": "output", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Output_Zip_File", "dataType": "GPDataFile", "displayName": "Output Zip File", "description": "The output zip file", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" } ] }