ArcGIS Developers

GeoprocessingRaster Class

class Esri::ArcGISRuntime::GeoprocessingRaster

A raster input or output parameter. More...

Header: #include <GeoprocessingRaster>
Since: Esri::ArcGISRuntime 100.0
Inherits: Esri::ArcGISRuntime::GeoprocessingDataFile

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

GeoprocessingRaster(const QUrl &url, const QString &format, QObject *parent = nullptr)
GeoprocessingRaster(QObject *parent = nullptr)
virtual ~GeoprocessingRaster() override
QString format() const
void setFormat(const QString &format)

Detailed Description

Corresponds to GPRasterData and GPRasterDataLayer parameter types on the service.

Member Function Documentation

GeoprocessingRaster::GeoprocessingRaster(const QUrl &url, const QString &format, QObject *parent = nullptr)

Constructor that accepts a raster image and an optional parent object.

  • url - The URL of the raster source.
  • format - A string describing the format of the raster, such as "tif".
  • parent - The optional parent object.

GeoprocessingRaster::GeoprocessingRaster(QObject *parent = nullptr)

Constructor that accepts an optional parent object.

[override virtual] GeoprocessingRaster::~GeoprocessingRaster()


QString GeoprocessingRaster::format() const

Returns a string indicating the format of the raster, such as "tif".

See also setFormat().

void GeoprocessingRaster::setFormat(const QString &format)

Sets the string indicating the format of the raster to format.

See also format().

Feedback on this topic?