GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Model

ImageSample Class

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Model.ImageSample.html”>GeoBlazor Docs</a> The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html#getSamples”>getSamples</a> method on <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html”>ImageryLayer</a> returns <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSampleResult.html”>ImageSampleResult</a> containing array of this class. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html”>ArcGIS Maps SDK for JavaScript</a>

public record ImageSample : System.IEquatable<dymaptic.GeoBlazor.Pro.Model.ImageSample>

Inheritance System.Object 🡒 ImageSample

Implements System.IEquatable<ImageSample>

Constructors

ImageSample(string, Point, Nullable<long>, IReadOnlyCollection<double>, Nullable<long>, Nullable<double>) Constructor

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Model.ImageSample.html”>GeoBlazor Docs</a> The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html#getSamples”>getSamples</a> method on <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html”>ImageryLayer</a> returns <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSampleResult.html”>ImageSampleResult</a> containing array of this class. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html”>ArcGIS Maps SDK for JavaScript</a>

public ImageSample(string? Attributes=null, dymaptic.GeoBlazor.Core.Components.Geometries.Point? Location=null, System.Nullable<long> LocationId=null, System.Collections.Generic.IReadOnlyCollection<double>? PixelValue=null, System.Nullable<long> RasterId=null, System.Nullable<double> Resolution=null);

Parameters

Attributes System.String

Name-value pairs of fields and field values associated with the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#location”>sample location</a>. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#attributes”>ArcGIS Maps SDK for JavaScript</a>

Location dymaptic.GeoBlazor.Core.Components.Geometries.Point

The sample location. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#location”>ArcGIS Maps SDK for JavaScript</a>

LocationId System.Nullable<System.Int64>

The location id. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#locationId”>ArcGIS Maps SDK for JavaScript</a>

PixelValue System.Collections.Generic.IReadOnlyCollection<System.Double>

The pixel value associated with the sampled location. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#pixelValue”>ArcGIS Maps SDK for JavaScript</a>

RasterId System.Nullable<System.Int64>

The raster id. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#rasterId”>ArcGIS Maps SDK for JavaScript</a>

Resolution System.Nullable<System.Double>

The resolution representing the average of source raster’s resolutions in x and y axes. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#resolution”>ArcGIS Maps SDK for JavaScript</a>

Properties

ImageSample.Attributes Property

Name-value pairs of fields and field values associated with the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#location”>sample location</a>. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#attributes”>ArcGIS Maps SDK for JavaScript</a>

public string? Attributes { get; init; }

Property Value

System.String

ImageSample.Location Property

The sample location. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#location”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Core.Components.Geometries.Point? Location { get; init; }

Property Value

dymaptic.GeoBlazor.Core.Components.Geometries.Point

ImageSample.LocationId Property

The location id. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#locationId”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<long> LocationId { get; init; }

Property Value

System.Nullable<System.Int64>

ImageSample.PixelValue Property

The pixel value associated with the sampled location. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#pixelValue”>ArcGIS Maps SDK for JavaScript</a>

public System.Collections.Generic.IReadOnlyCollection<double>? PixelValue { get; init; }

Property Value

System.Collections.Generic.IReadOnlyCollection<System.Double>

ImageSample.RasterId Property

The raster id. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#rasterId”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<long> RasterId { get; init; }

Property Value

System.Nullable<System.Int64>

ImageSample.Resolution Property

The resolution representing the average of source raster’s resolutions in x and y axes. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageSample.html#resolution”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<double> Resolution { get; init; }

Property Value

System.Nullable<System.Double>