IMAGESIZE

Used in

REQUEST  

Servers

Image  Extract  

Parent elements

PROPERTIES 

Syntax

<IMAGESIZEAttribute Description Table

     When parent element is GET_EXTRACT:
     (r)height="1 - NNN"
     (r)width="1 - NNN"

     When parent element is GET_IMAGE:
     (r)height="1 - NNN"
     (r)width="1 - NNN"
     dpi="1 - NNN"
     printheight="1 - NNN" [Same as height]
     printwidth="1 - NNN" [Same as width]
     scalesymbols="true | false" [false]
>

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

Description

When used with GET_IMAGE, defines width and height of output map. When used with GET_EXTRACT, defines which layers should be extracted if scale dependencies are present.

Restrictions


Notes


Attribute Descriptions for IMAGESIZE


When parent element is GET_EXTRACT:
AttributeUsage
heightImage height in pixels.
widthImage width in pixels.

When parent element is GET_IMAGE:
AttributeUsage
dpiDots per inch (dpi).
heightImage height in pixels.
printheightHeight of the output image in pixels.
printwidthWidth of the output image in pixels.
scalesymbolsDetermines whether to increase or decrease symbology in relative proportion to a map image as the image increases or decreases in size.
widthImage width in pixels.
Back to top 

Examples for IMAGESIZE

Example 1: When in a GET_IMAGE request using printwidth and printheight.
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
<REQUEST>
  <GET_IMAGE>
    <PROPERTIES>
      <IMAGESIZE height="640" width="480" printheight="800" printwidth="600" />
    </PROPERTIES>
  </GET_IMAGE>
</REQUEST>
</ARCXML>

Example 2: When in a GET_IMAGE request using dpi.
<?xml version="1.0" encoding="UTF-8" ?>
<ARCXML version="1.1">
  <REQUEST>
    <GET_IMAGE>
      <PROPERTIES>
        <ENVELOPE minx="-73.985" miny="40.756" maxx="-73.972" maxy="40.765" />
        <IMAGESIZE width="350" height="245" dpi="134" scalesymbols="true" />
      </PROPERTIES>
    </GET_IMAGE>
  </REQUEST>
</ARCXML>

Back to top