ImageQueryFilter

Base Type: TimeQueryFilter

A class for an image query filter used to define a spatial query or an attribute query and retrieve images for a given cell size.

Property

Type

Description

PixelSize

Point

Specifies a request pixel (cell) size. It will be used to select catalog items based the minimum and maximum pixel size range of each raster. The unit of the pixel size is defined by the spatial reference.

Remarks

Defines a query filter which can be used to retrieve images for a given cell size.

Examples

C#

//define image server

string url_DEMService = "http://ais3/arcgis/services/testDEM/ImageServer";

testDTED_ImageServer imageSrv = new testDTED_ImageServer();

imageSrv.Url = url_DEMService;

//define an image query filter

ImageQueryFilter imageQueryFilter = new ImageQueryFilter();

PointN pixelSize = new PointN();

pixelSize.X = 0.2;

pixelSize.Y = 0.2;

imageQueryFilter.PixelSize = (Point)pixelSize;


//query image service with the filter

RecordSet recordSet = imageSrv.GetCatalogItems(imageQueryFilter);

}

2/28/2020