WARNING - only appropriate datasets should be used: (4)
datasets that do NOT contain NoData values datasets that have projected spatial reference datasets with projections that don’t need transformations datasets where the Z values are in the same units as the XY
Properties:
interpolationCount: Number of points to interpolate along a geometry; used in the GetElevations operation when the input geometry is a polyline or polygon. maxDataValues: Maximum number of values to send back; used in the GetElevationData operation and is calculated by multiplying the Rows and Columns input values.
Resources:
ElevationLayers: A list of Raster or Mosaic layers in the map.
Operations:
GetElevationAtLonLat:
Info: Get the elevation at a location. Inputs:
lon: (double) The longitude of the location in WGS84 coordinates. Value must be between -180.0 and 180.0 lat: (double) The latitude of the location in WGS84 coordinates. Value must be between -90.0 and 90.0
Outputs:
elevation: (double) Elevation at input location
GetElevations:
Info: Get the elevations along a set of geometries. Supported geometries are point, multipoint, polyline and polygon. To learn more about formatting the input geometries, please visit the 'Geometry Objects' section of the ArcGIS Server REST documentation. Inputs:
geometries: (geometry[]) The array of geometries
Outputs:
geometries: (geometry[]) The array of interpolated geometries which are densified and contain Z values at each vertex or point.
GetElevationData:
Info: Get interpolated elevation values within an extent. Inputs:
Extent: (extent) The interpolation extent Rows: (int) Number of rows. Note: (Rows * Columns) must be less than maxDataValues as defined by admin Columns: (int) Number of columns; Note: (Rows * Columns) must be less than maxDataValues as defined by admin
Outputs:
nCols: (int) Number of columns nRows: (int) Number of rows xLLCenter: (double) X coordinate of the center of the lower left cell yLLCenter: (double) Y coordinate of the center of the lower left cell cellSize: (double) Cell size of the interpolated raster noDataValue: (number) 'No Data' value spatialReference: (SpatialReference) Spatial reference of the interpolated raster data: (number[]) Interpolated elevation values as array of numbers rasterProperties:
IsInteger: (boolean) Are the values integers datasetMin: (number/NaN) The minimum value of the entire elevation dataset datasetMax: (number/NaN) The maximum value of the entire elevation dataset