DataClient.GetItemFeatureStatisticsAsync Method

Definition

Get statistics from a GeoJSON feature for a STAC item.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.StacItemStatisticsGeoJson>> GetItemFeatureStatisticsAsync(Azure.Analytics.PlanetaryComputer.GeoJsonFeature body, Azure.Analytics.PlanetaryComputer.GetItemFeatureStatisticsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetItemFeatureStatisticsAsync : Azure.Analytics.PlanetaryComputer.GeoJsonFeature * Azure.Analytics.PlanetaryComputer.GetItemFeatureStatisticsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.StacItemStatisticsGeoJson>>
override this.GetItemFeatureStatisticsAsync : Azure.Analytics.PlanetaryComputer.GeoJsonFeature * Azure.Analytics.PlanetaryComputer.GetItemFeatureStatisticsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.StacItemStatisticsGeoJson>>
Public Overridable Function GetItemFeatureStatisticsAsync (body As GeoJsonFeature, options As GetItemFeatureStatisticsOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StacItemStatisticsGeoJson))

Parameters

body
GeoJsonFeature

Request GeoJson body.

options
GetItemFeatureStatisticsOptions

The options for the item feature statistics query.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

body or options is null.

Service returned a non-success status code.

Applies to