import type { ElevationProfileSample, ElevationProfileStatistics, ElevationProfilePlacementResult, ElevationProfilePickResult, ElevationProfileEffectiveDisplayUnits } from "@arcgis/core/views/analysis/ElevationProfile/types.js";- Since
- ArcGIS Maps SDK for JavaScript 5.0
Types common to the ElevationProfileAnalysisView2D and ElevationProfileAnalysisView3D.
Type definitions
ElevationProfileSample
Represents a single sampled point along the generated elevation profile.
x
- Type
- number
The x coordinate of the sample, in the spatial reference of the view.
y
- Type
- number
The y coordinate of the sample, in the spatial reference of the view.
distance
- Type
- number
Horizontal (2D) distance from the beginning of the path, expressed in the effective units selected for the analysis. In geographic coordinate systems (GCS) and WebMercator, the value is the geodesic distance. In projected coordinate systems (PCS) other than WebMercator, the value is calculated using Euclidean distance in the PCS.
ElevationProfileStatistics
Combined statistics of all the computed elevation profile lines.
maxDistance
The maximum horizontal (2D) distance of the path. In geographic coordinate systems (GCS) and in WebMercator, the distance is the geodesic distance. In projected coordinate systems (PCS), apart from WebMercator, the distance is computed in a Euclidean manner (in the respective PCS).
elevationGain
The cumulative elevation gain along the path. See https://en.wikipedia.org/wiki/Cumulative_elevation_gain
elevationLoss
The cumulative elevation loss along the path. See https://en.wikipedia.org/wiki/Cumulative_elevation_gain
ElevationProfilePlacementResult
Result of interactively placing an elevation profile line on the view.
ElevationProfilePickResult
Result of picking a feature from the view to perform an elevation profile analysis.
ElevationProfileEffectiveDisplayUnits
Effective units for the elevation profile analysis, determined from the magnitudes of all computed values and the display preferences selected by the user.
distance
- Type
- LengthUnit
The effective distance unit used for the results and statistics of the elevation profile analysis.
elevation
- Type
- LengthUnit
The effective elevation unit used for the results and statistics of the elevation profile analysis.