Types

Elevation

Example
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
{
  "point": {
    "spatialReference": {
      "wkid": 4326
    },
    "x": 86.925278,
    "y": 27.988333,
    "z": 8744
  }
}

A structure containing a point including an elevation value (defined as Z).

Properties

NameTypeRequiredRestrictionsDescription

point

none

The point containing the elevation.

ElevationInfo

Example
Use dark colors for code blocksCopy
1
2
3
{
  "relativeTo": "meanSeaLevel"
}

A structure containing human readable metadata about the specified point.

Properties

NameTypeRequiredRestrictionsDescription

relativeTo

string

none

The reference position (datum) from which to measure elevation. The valid values are:

  • meanSeaLevel: The elevation above or below the WGS84 geoid reference surface, which is approximately the mean sea level. It takes into account the local variations in gravity and provides a consistent vertical reference.
  • ellipsoid: Ellipsoidal height is measured with respect to an ellipsoid, which is a mathematical model that approximates the shape of the Earth. It does not consider local variations in gravity and is commonly used in GPS positioning.
Enumerated Values
relativeTo
meanSeaLevel
Click to copy
ellipsoid
Click to copy

Elevations

Example
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
{
  "points": [
    {
      "spatialReference": {
        "wkid": 4326
      },
      "x": 86.925278,
      "y": 27.988333,
      "z": 8744
    }
  ]
}

A structure containing a collection of points which contain elevation values (defined as Z).

Properties

NameTypeRequiredRestrictionsDescription

points

none

Error

Example
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
{
  "error": {
    "code": 400,
    "message": "string",
    "details": [
      "string"
    ],
    "restInfoUrl": "https://elevation-api.arcgis.com/arcgis/rest/info"
  }
}

Properties

NameTypeRequiredRestrictionsDescription

error

object

none

Error information

code

integer

none

A code identifying the type of error, either an HTTP error code, 498 (signifying invalid or expired token), or 499 (signifying missing token).

message

string

none

A message describing the error.

details

[string]

none

List of details about the error.

restInfoUrl

string

none

URL that provides the elevation service information.

Enumerated Values
code
400
Click to copy
401
Click to copy
403
Click to copy
404
Click to copy
498
Click to copy
499
Click to copy
500
Click to copy

Point

Example
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
{
  "spatialReference": {
    "wkid": 4326
  },
  "x": 86.925278,
  "y": 27.988333,
  "z": 8744
}

A geometry point referring to a location on a map.

Properties

NameTypeRequiredRestrictionsDescription

spatialReference

object

none

The spatial reference system the point is relative to.

wkid

number

none

The Well-Known ID (WKID) value of the spatial reference.

x

number

none

The X coordinate which is measured along the east/west axis.

y

number

none

The Y coordinate which is measured along the north/south axis.

z

number

none

The Z coordinate represents the vertical position of a point above or below a reference level, such as sea level (in meters, rounded to the nearest meter).

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.