IMAGE

Used in

RESPONSE  

Servers

Image  

Parent elements

RESPONSE 

Syntax

<IMAGE >
     No Attributes

     (r)<ENVELOPE... />
     (m)<LAYERIMAGE... />
     <LAYERS... />
     <LEGEND... />
     <OUTPUT... />
     <SCALE... />

</IMAGE >
(r): Attribute or child element is required.
(m):  Child element can be used multiple times.

Description

The main element for a response from an Image Service. Returns the location of a map image or legend image. Also can return information such as layer names, IDs, and number of features.

Notes

 

Examples for IMAGE

<?xml version="1.0" encoding="UTF8"?>
<ARCXML version="1.1">
  <RESPONSE>
    <IMAGE>
      <ENVELOPE minx="-118.19793324" miny="34.03441917" maxx="-118.12940130" maxy="34.08010713" />
      <OUTPUT file="c:\output\world_MYMACHINE2052765.gif" url="http://mymachine.domain.com/output/world_MYMACHINE2052765.gif" />
      <LEGEND file="c:\output\world_MYMACHINE2052766.gif" url="http://mymachine.domain.com/output/world_MYMACHINE2052766.gif" />
    </IMAGE>
  </RESPONSE>
</ARCXML>

Example 2: Response showing details on layers in the requested MapService.
<?xml version="1.0" encoding="UTF8"?>  
<ARCXML version="1.1">  
  <RESPONSE>  
    <IMAGE>  
      <ENVELOPE minx="-180" miny="-135" maxx="180" maxy="135" />  
      <LAYERS>  
        <LAYER name="CNTRY94" id="0" featurecount="165" />  
        <LAYER name="STATES" id="1" featurecount="51" />  
        <LAYER name="acetate" id="2" featurecount="1" />  
      </LAYERS>  
      <OUTPUT file="c:\arcims\output\world_MYMACHINE3633699.jpg" url="http://mymachine.domain.com/output/world_MYMACHINE3633699.jpg" />  
    </IMAGE>  
  </RESPONSE>  
</ARCXML>

Back to top