ArcGIS Developers

RasterElevationSource Class

class Esri::ArcGISRuntime::RasterElevationSource

A file-based raster elevation source. More...

Header: #include <RasterElevationSource>
Since: Esri::ArcGISRuntime 100.0
Inherits: Esri::ArcGISRuntime::ElevationSource

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

RasterElevationSource(const QStringList &filePaths, QObject *parent = nullptr)
virtual ~RasterElevationSource() override
QStringList filePaths() const
Esri::ArcGISRuntime::Envelope fullExtent() const

Detailed Description

A raster elevation source is added to a Surface and provides elevation data on which layers may be draped or offset from. The raster elevation source uses a list of raster files to provide the elevation data.

Member Function Documentation

RasterElevationSource::RasterElevationSource(const QStringList &filePaths, QObject *parent = nullptr)

Constructor that accepts a list of file paths (filePaths) to raster elevation sources and an optional parent.

[override virtual] RasterElevationSource::~RasterElevationSource()


QStringList RasterElevationSource::filePaths() const

Gets a list of file paths of the raster files used for the elevation source.

Esri::ArcGISRuntime::Envelope RasterElevationSource::fullExtent() const

Gets the extent of all elevation data in the source.

Expressed in the coordinates of the spatial reference of the raster files used for the elevation source.

This value is populated after the elevation source is done loading.

This function was introduced in Esri::ArcGISRuntime 100.3.

Feedback on this topic?