{ "name": "Profile", "displayName": "Profile", "description": "Return an elevation profile for an input polyline.", "category": "", "helpUrl": "https://gis.ecan.govt.nz/arcgis/rest/directories/arcgisoutput/GP/ElevationProfile_GPServer/GP_ElevationProfile/Profile.htm", "executionType": "esriExecutionTypeSynchronous", "parameters": [ { "name": "InputLineFeatures", "dataType": "GPFeatureRecordSetLayer", "displayName": "Input Line Features", "description": "The line features that will be profiled over the surface.", "direction": "esriGPParameterDirectionInput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolyline", "spatialReference": { "wkid": 2193, "latestWkid": 2193 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 50 }, { "name": "Z_Min", "type": "esriFieldTypeDouble", "alias": "Z_Min" }, { "name": "Z_Max", "type": "esriFieldTypeDouble", "alias": "Z_Max" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "ProfileIDField", "dataType": "Field", "displayName": "Profile ID Field", "description": "A unique identifier to tie profiles to their corresponding input line features.\n\nType: String", "direction": "esriGPParameterDirectionInput", "filter": { "type": "field", "list": [ "esriFieldTypeOID", "esriFieldTypeSmallInteger", "esriFieldTypeInteger" ] }, "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "DEMResolution", "dataType": "GPString", "displayName": "DEM Resolution", "description": "The approximate spatial resolution (cell size) of the source elevation data used for the calculation.\n\nThe resolution values are an approximation of the spatial resolution of the digital elevation model. While many elevation sources are distributed in units of arc seconds, the keyword is an approximation of those resolutions in meters for easier understanding.\n\nType: String\n\nValues: FINEST | 1m | 8m", "direction": "esriGPParameterDirectionInput", "defaultValue": "FINEST", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "FINEST", "1m", "8m" ] }, { "name": "MaximumSampleDistance", "dataType": "GPDouble", "displayName": "Maximum Sample Distance", "description": "The maximum sampling distance along the line to sample elevation values.\n\nType: Double", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "MaximumSampleDistanceUnits", "dataType": "GPString", "displayName": "Maximum Sample Distance Units", "description": "Maximum Sample Distance Units", "direction": "esriGPParameterDirectionInput", "defaultValue": "Meters", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "Meters", "Kilometers", "Feet", "Yards", "Miles" ] }, { "name": "OutputProfile", "dataType": "GPFeatureRecordSetLayer", "displayName": "Output Profile", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "hasZ": true, "hasM": true, "geometryType": "esriGeometryPolyline", "spatialReference": { "wkid": 2193, "latestWkid": 2193 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "DEMResolution", "type": "esriFieldTypeString", "alias": "DEM Resolution", "length": 50 }, { "name": "ProfileLength", "type": "esriFieldTypeDouble", "alias": "Length Meters" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }