DataClient.GetItemFeatureStatisticsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.