|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IImageServer4
Provides access to members that control an image server object (SO).
IImageServer4 interface provides methods accessing the catalog of an image service such as select catalog items based on a query, get the catalog items, metadata, and download the selected items. It also provides methods to get raster attribute table, edit image service and perform mensuration.
Editing is supported when data source is a mosaic dataset stored in SDE, and not supported on other formats and workspaces.
An ImageServer object can be created from multiple data models: raster dataset, mosaic dataset, or layer file. Table below lists the supported methods with regards to the data models.
Methods |
Mosaic Dataset |
Raster Dataset |
Raster Layer File |
---|---|---|---|
GetVersion | yes | yes | yes |
GetServiceInfo | yes | yes | yes |
GetImage | yes | yes | yes |
ExportImage | yes | yes | yes |
ExportMapImage | yes | yes | yes |
GetMetadata | yes | yes | yes |
GenerateServiceInfo | yes | yes | yes |
Identify | yes | yes | yes |
IdentifyAll | yes | yes | yes |
ComputeHistograms | yes | yes | yes |
Measure | yes | yes | yes |
GetKeyProperties | yes | yes | yes |
GetRasterAttributeTable | yes | yes | yes |
Add | yes | no | no |
Update | yes | no | no |
Delete | yes | no | no |
GetRasterKeyProperties | yes | no | no |
GetCatalogItemCount | yes | no | no |
GetCatalogItemIDs | yes | no | no |
GetCatalogItems | yes | no | no |
GetThumnail | yes | no | no |
GetRasterMetadata | yes | no | no |
GetRasterInfo | yes | no | no |
GetPixelBlock | yes | no | no |
GetNativeRasterInfo | yes | no | no |
GetNativePixelBlock | yes | no | no |
GetFields | yes | no | no |
Download | yes | no | no |
GetFile | yes | no | no |
Method Summary | |
---|---|
IImageServerEditResults |
add(IRasterItemDescriptions pItemDescriptions)
Adds a list of raster items for sharing with other users (roles). |
IRasterHistograms |
computeHistograms(IGeometry pGeometry,
IMosaicRule pMosaicRule,
IPoint pCellsize,
IRenderingRule pRenderingRule)
Computes histograms within an area of interest. |
IImageServerEditResult |
createView(IImageView pView)
Creates a new view. |
IImageServerEditResults |
delete(IFIDSet pRIDs)
Deletes a given list of raster items (images). |
IImageServerEditResult |
deleteView(String vID)
Deletes the view of a given view ID. |
Object |
execute(String name,
Object argument)
Executes a named image server processing command. |
IPropertySet |
getKeyProperties()
The image service key properties. |
IRecordSet |
getRasterAttributeTable()
The raster attribute table. |
IPropertySet |
getRasterKeyProperties(int rID)
The key properties for a given raster catalog item. |
IImageView |
getView(String vID)
Gets the view of a given view ID. |
IImageServerIdentifyResults |
identifyAll(IGeometry pLocations,
IMosaicRule pMosaicRule,
IPoint pCellsize,
IRenderingRule pRenderingRule,
String options)
Identifies the pixel values and all catalog items at the given one or more locations. |
IImageServerMeasureResult |
measure(IGeometry pFrom,
IGeometry pTo,
IMosaicRule pMosaicRule,
IPoint pCellsize,
int operation)
Measures distance, angle, area, perimeter, and height. |
IImageServerEditResults |
update(IFIDSet pRIDs,
IRasterItemDescriptions pItemDescriptions)
Updates a given list of raster items (images). |
IImageServerEditResults |
updateView(String vID,
IFIDSet pAddIDs,
IFIDSet pDeleteIDs)
Inserts and Removes raster items to a given view. |
Methods inherited from interface com.esri.arcgis.carto.IImageServer3 |
---|
download, generateServiceInfo, getCatalogItemCount, getCatalogItemIDs, getCatalogItems, getFields, getFile, getMetadata, getNativePixelBlock, getNativeRasterInfo, getPixelBlock, getRasterInfo, getRasterMetadata, getThumbnail, identify |
Methods inherited from interface com.esri.arcgis.carto.IImageServer2 |
---|
exportMapImage |
Methods inherited from interface com.esri.arcgis.carto.IImageServer |
---|
exportImage, getImage, getServiceInfo, getVersion |
Method Detail |
---|
IImageServerEditResults add(IRasterItemDescriptions pItemDescriptions) throws IOException, AutomationException
Add rasters to an image service (created from a SDE mosaic dataset) using the given RasterItemDescriptions
Use Add method to add raster datasets, or other supported raster types (defined by the image service) to image service. Supported raster types are available through IImageServiceInfo3.
RasterItemDescription describes all required information, including name and location of the raster files (through shared path or http), visibility range, attribute values, raster type etc. If the source rasters are not georeferenced, georeferncing information (geodataTransformations) can be specified in RasterItemDescription.
pItemDescriptions
- A reference to a com.esri.arcgis.carto.IRasterItemDescriptions (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IImageServerEditResults update(IFIDSet pRIDs, IRasterItemDescriptions pItemDescriptions) throws IOException, AutomationException
Update rasters in an image service (created from a SDE mosaic dataset) based on given FIDSet and RasterItemDescriptions
Use Update method to update a raster catalog item in an image service served through mosaic dataset. New attributes, footrpint geometry, or transofmrations can be specified in RasterItemDescription. A new raster can be uploaded to replace existing raster.
pRIDs
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)pItemDescriptions
- A reference to a com.esri.arcgis.carto.IRasterItemDescriptions (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IImageServerEditResults delete(IFIDSet pRIDs) throws IOException, AutomationException
Delete rasters from an image service (created from a SDE mosaic dataset) based on given FIDSet
pRIDs
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IImageServerMeasureResult measure(IGeometry pFrom, IGeometry pTo, IMosaicRule pMosaicRule, IPoint pCellsize, int operation) throws IOException, AutomationException
Perform mensuration on an image service.
pFrom
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pTo
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pMosaicRule
- A reference to a com.esri.arcgis.carto.IMosaicRule (in)pCellsize
- A reference to a com.esri.arcgis.geometry.IPoint (in)operation
- A com.esri.arcgis.carto.esriMensurationOperation constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterHistograms computeHistograms(IGeometry pGeometry, IMosaicRule pMosaicRule, IPoint pCellsize, IRenderingRule pRenderingRule) throws IOException, AutomationException
pGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pMosaicRule
- A reference to a com.esri.arcgis.carto.IMosaicRule (in)pCellsize
- A reference to a com.esri.arcgis.geometry.IPoint (in)pRenderingRule
- A reference to a com.esri.arcgis.carto.IRenderingRule (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRecordSet getRasterAttributeTable() throws IOException, AutomationException
Get the raster attribute table of the image service which represents categorical information.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getKeyProperties() throws IOException, AutomationException
Key properties contain some well known property, such as AcquisitionDate, CloudCover, SensorName, ProductName, SunAzimuth, SunElevation, SensorAzimuth, SensorElevation etc.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getRasterKeyProperties(int rID) throws IOException, AutomationException
rID
- The rID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IImageServerIdentifyResults identifyAll(IGeometry pLocations, IMosaicRule pMosaicRule, IPoint pCellsize, IRenderingRule pRenderingRule, String options) throws IOException, AutomationException
Each element in the returned ImageServerIdentifyResult array corresponds to the identify result of a location in the given locations. Footprint geometry and catalog items may be skipped to speed up the operation by specifying options:
ITEMS=NO - only pixel value is returned
GEOMETRY=NO - pixel value, and item information are returned, but no geometry, and visibilities
pLocations
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pMosaicRule
- A reference to a com.esri.arcgis.carto.IMosaicRule (in)pCellsize
- A reference to a com.esri.arcgis.geometry.IPoint (in)pRenderingRule
- A reference to a com.esri.arcgis.carto.IRenderingRule (in)options
- The options (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IImageView getView(String vID) throws IOException, AutomationException
vID
- The vID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IImageServerEditResult createView(IImageView pView) throws IOException, AutomationException
pView
- A reference to a com.esri.arcgis.carto.IImageView (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IImageServerEditResults updateView(String vID, IFIDSet pAddIDs, IFIDSet pDeleteIDs) throws IOException, AutomationException
vID
- The vID (in)pAddIDs
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)pDeleteIDs
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IImageServerEditResult deleteView(String vID) throws IOException, AutomationException
vID
- The vID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object execute(String name, Object argument) throws IOException, AutomationException
name
- The name (in)argument
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |