Used in
REQUEST Servers
Image Query Feature Extract Geocode Parent elements
REQUEST Syntax
<GET_SERVICE_INFO | Attribute Description Table |
acetateinfo="true | false" [false] dpi="1 - NNN" envelope="true | false" [true] extensions="true | false" [true] fields="true | false" [true] relativescale="true | false" [false] renderer="true | false" [true] >
No Child Elements </GET_SERVICE_INFO >
|
Description
Requests information about each layer in an ArcIMS service. With Image and Feature Services, the request has options for returning information on the fields, envelope, extensions, and renderers.
Restrictions
- Not valid with Metadata Server.
Notes
- See SERVICEINFO for response.
- A GET_SERVICE_INFO request sent to the Image or Feature Server returns limited information about Geocode extensions in an ArcIMS service. In order to retrieve all the information about a Geocode extension, the GET_SERVICE_INFO request must be routed to the Geocode Server. This routing information is contained in the URL sent to the ArcIMS site such as in the following example (all one line):
http://myComputer.domain.com/servlet/com.esri.esrimap.Esrimap?ServiceName=myservice
&CustomService=Geocode
&Form=True&Encode=True
- For more details on using GET_SERVICE_INFO and SERVICEINFO including additional examples, see Using GET_SERVICE_INFO and SERVICEINFO with Image and Feature Services.
Attribute Descriptions for GET_SERVICE_INFO
Attribute | Usage |
---|
acetateinfo | Toggle to include all symbol information and geometry from an acetate layer. Valid with Image Services only. |
dpi | 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 | Toggle to get information on the envelope for featureclass layers in a service. Featureclass layers include shapefile and ArcSDE layers. |
extensions | Toggle to get information on any service extensions in featureclass layers. |
fields | Toggle to get information on available fields for each featureclass layer in a service. |
relativescale | When set to "true", the scale values in LAYER and SCALEDEPENDENTRENDERER are returned as relative scales in the SERVICEINFO response.
Notes in the SERVICEINFO response:
- The scale values returned in LAYERINFO are not rounded when the map is in decimal degrees.
- The scale values returned for SCALEDEPENDENTRENDERER are not rounded for all map units.
- Known limit: when the map configuration file contains scale in map units per pixel and the map units are not decimal degress, then relative scale values are incorrectly returned in LAYERINFO. In this case, relativescale should be set to "false".
When set to "false", scale values are returned in map units per pixel. |
renderer | Toggle to get renderer information for featureclass layers in a service. |
Back to top Examples for GET_SERVICE_INFO
Example 1: When using Image or Feature Services.<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
<REQUEST>
<GET_SERVICE_INFO fields="false" envelope="false" renderer="false" extensions="true" acetateinfo="false" />
</REQUEST>
</ARCXML>
|
Back to top