GET_SERVICE_INFO | Examples |
<GET_SERVICE_INFO | Attribute
Description Table |
When parent element is REQUEST for an ArcMap Image Service: dataframe ="#ALL# | frame by name" dpi ="1 - NNN" envelope ="true | false" [true] fields ="true | false" [true] toc ="true | false" [false] toctype ="jpg | png8 | png24 | bmp" [jpg] When parent element is REQUEST for an Image or Feature Service: dpi ="1 - NNN" envelope ="true | false" [true] extensions ="true | false" [true] fields ="true | false" [true] renderer ="true | false" [true] > No Child Elements </GET_SERVICE_INFO > |
Attribute | Usage | Back to Top |
---|---|---|
dataframe | 1 Retrieves dataframe information for an ArcMap Image Service using layouts. Use the value "#ALL#" to retrieve information for all frames. Information for a single dataframe can be retrieved by specifying the frame's name. Multiple data frame names can be used and should be separated by a semicolon. | |
dpi | 2 Dots per inch (dpi). Used for calculating the correct scale thresholds for layers in the service. The dpi must be calculated by the client. Otherwise, a value of "96" is assumed. | |
envelope | 3 Toggle to get information on the envelope for layers in a service. | |
fields | 4 Toggle to get information on available fields for each featureclass layer in the service. | |
toc | 5 Toggle to get information on the table of contents (TOC) used to generate an ArcMap Image Service legend for the ArcIMS Java Viewers and ArcMap. Not used with ArcIMS HTML Viewers. Instead a legend is retrieved using LEGEND in a GET_IMAGE request. | |
toctype | 6 Determines image format for an ArcMap Image Service legend. |
Attribute | Usage | Back to Top |
---|---|---|
dpi | 1 Dots per inch (dpi). Used for calculating the correct scale thresholds for scale dependent elements such as SCALEDEPENDENTRENDERER, LAYER, and OBJECT. The dpi value used in request overrides the value used in a service. | |
envelope | 2 Toggle to get information on the envelope for featureclass layers in a service. Featureclass layers include shapefile and ArcSDE layers. | |
extensions | 3 Toggle to get information on any service extensions in featureclass layers. | |
fields | 4 Toggle to get information on available fields for each featureclass layer in a service. | |
renderer | 5 Toggle to get renderer information for featureclass layers in a service. |
Example 1: When using Image or Feature Services. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <REQUEST> <GET_SERVICE_INFO fields="false" envelope="false" renderer="false" extensions="true" /> </REQUEST> </ARCXML> |
Example 2: When using ArcMap Image Services. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <REQUEST> <GET_SERVICE_INFO fields="false" envelope="false" dataframe="#ALL# toc="true" toctype="jpg" /> </REQUEST> </ARCXML> |