{ "name": "Viewshed", "displayName": "Viewshed", "description": "Calculates the viewshed of a point given a user defined location and viewing distance. The world evlevation layer is published using referenced data.", "category": "", "helpUrl": "https://sampleserver6.arcgisonline.com/arcgis/rest/directories/arcgisoutput/Elevation/ESRI_Elevation_World_GPServer/Elevation_ESRI_Elevation_World/Viewshed.htm", "executionType": "esriExecutionTypeSynchronous", "parameters": [ { "name": "Input_Observation_Point", "dataType": "GPFeatureRecordSetLayer", "displayName": "Input_Observation_Point", "description": "The input location from which the viewshed should be calculated. This point can be anywhere on earth.", "direction": "esriGPParameterDirectionInput", "filter": { "type": "featureClass", "list": [ "esriGeometryPoint" ] }, "defaultValue": { "displayFieldName": "", "hasZ": true, "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 54003, "latestWkid": 54003 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 255 }, { "name": "Text", "type": "esriFieldTypeString", "alias": "Text", "length": 255 }, { "name": "IntegerValue", "type": "esriFieldTypeInteger", "alias": "Integer Value" }, { "name": "DoubleValue", "type": "esriFieldTypeDouble", "alias": "Double Value" }, { "name": "DateTime", "type": "esriFieldTypeDate", "alias": "Date Time", "length": 8 } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Viewshed_Distance", "dataType": "GPLinearUnit", "displayName": "Viewshed_Distance", "description": "The maximum distance from the input point for which the viewshed should be calculated. The maximum allowed distance is 20000 meters.", "direction": "esriGPParameterDirectionInput", "defaultValue": { "distance": 5000, "units": "esriMeters" }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Viewshed_Result", "dataType": "GPFeatureRecordSetLayer", "displayName": "Viewshed_Result", "description": "The resulting viewshed feature class given the user location and maximum distance.", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 54003, "latestWkid": 54003 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Id", "type": "esriFieldTypeInteger", "alias": "Id" }, { "name": "gridcode", "type": "esriFieldTypeInteger", "alias": "gridcode" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" } ] }