GeoImageDescription

A class for specifying an image to fetch from an image service, including spatial reference, pixel size, extent, compression and quality, NoData (background) value, band selection, and etc.

A mosaic rule can be used to specify how mosaic should be performed if more than one images involved within the requested area of interest. A rendering rule can be used to define how rendering should be done on the raw pixels. For example, a hillshade rendering rule can be used to generate a hillshaded image from float-point elevation data.

Property

Type

Description

BandSelection

int[]

The band selection containing a list of band numbers. The band number starts from 0.

BSQ

bool

Indicates the format used in data transfer. True means transfer as BSQ format (band sequential). If not set, or set to false, it will use BIP (band interleaved by pixel) format.

BSQSpecified

bool

Indicates if BSQ is specified.

Compression

string

The compression type used in transmission. Supported compressions include None, LZ77, and JPEG.

CompressionQuality

int

The JPEG compression quality in value range 1-100.

CompressionQualitySpecified

bool

Indicates if CompressionQuality is specified.

Extent

Envelope

The requested extent.

Height

int

The requested image height in pixels.

Interpolation

rstResamplingTypes

The interpolation method used to resample image data.

InterpolationSpecified

bool

Indicates if Interpolation is specified.

MosaicProperties

string

The mosaic properties containing information controlling how mosaic should be performed, such as mosaic method, etc.

The mosaic properties is a XML formatted string. The following are sample mosaic properties:

  • <MosaicMethod>Center</MosaicMethod>
  • <MosaicMethod>ByAttribute</MosaicMethod> <TileOrderField>Month</TileOrderField><TileOrderBase>6</TileOrderBase>

MosaicRule

MosaicRule

Specifies the mosaic rules when defining how individual images should be mosaicked. It specifies selection, mosaic method, sort order, overlapping pixel resolution, etc.

NoData

object

The output NoData (background) value. The variant data type does not have to match the pixel type. It can be empty or outside the pixel value range. This indicates the service does not have a predefined NoData value, and will not fill NoData pixels with a predefined value.

NoDataInterpretation

esriNoDataInterpretation

The interpretation of NoData; to match any band or all bands.

PixelType

rstPixelType

The requested image pixel type.

PixelTypeSpecified

bool

Indicates if PixelType is specified.

RenderingRule

RenderingRule

Specifies the rendering rules for how requested images should be rendered. It specifies a raster function for processing pixel pixels, and raster renderer for rendering raw data into an image.

SpatialReference

SpatialReference

The requested spatial reference.

ViewpointProperties

string

The view point properties. The view point properties is a XML formatted string.

The following are sample view point properties:

  • <ViewPointX>4489898.428</ViewPointX><ViewPointY>5478905.02941413</ViewPointY>

Width

int

The requested image width in pixels.

11/8/2016