SCALE

Used in

REQUEST  RESPONSE  

Servers

Image  ArcMap  

Parent elements

DATAFRAME  IMAGE 

Syntax

<SCALEAttribute Description Table

     When using ArcMap Server:
     (r)rf="double"
     (r)x="double"
     (r)y="double"

     When using Image Server:
     (r)rf="double"
>

     No Child Elements
</SCALE >
(r): Attribute or child element is required.

Description

When using ArcMap Image Services, defines the relative scale and center point from data frames in an ArcMap layout. When using Image Services, defines the relative scale of the returned image.

Restrictions


Attribute Descriptions for SCALE


When using ArcMap Server:
AttributeUsage
rfRelative factor such as 1:24000. Use only the factor value. The value for rf in this case would be "24000".
xX-coordinate representing the center of the map.
yY-coordinate representing the center of the map.

When using Image Server:
AttributeUsage
rfRelative scale such as 1:24000. The entire relative scale is returned, in this case "1: 24000".
Back to top 

Examples for SCALE

Example 1: When in a GET_LAYOUT request.
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
<REQUEST>
  <GET_LAYOUT>
    <PROPERTIES>
      <IMAGESIZE width="500" height="700"/>
        <OUTPUT type="jpg"/>
        <ENVELOPE minx="0" miny="0" maxx="11" maxy="8.5" />
      </PROPERTIES>
      <DATAFRAME id="Layers">
        <SCALE rf="77000" y="37.32" x="-121.91" />
      </DATAFRAME>
    </GET_LAYOUT>
  </REQUEST>
</ARCXML>

Example 2: When in an IMAGE response.
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <RESPONSE>
    <IMAGE>
      <ENVELOPE minx="-180" miny="-135" maxx="180" maxy="135" />
      <SCALE rf="1:189118841.30308" />
      <OUTPUT url="http://washoe/output/crayola_i_washoe6528584339.png" />
    </IMAGE>
  </RESPONSE>
</ARCXML>

Back to top