IMAGEGENERALIZATION  Examples

Used in:  CONFIG   RESPONSE  
Servers:  Image  
Parent elements:  PROPERTIES  

<IMAGEGENERALIZATION Attribute Description Table

     mode ="true | false | Any non-negative number"  [true]
>

     No Child Elements
</IMAGEGENERALIZATION >


Description:


Restrictions:


Notes:


Attribute Descriptions for IMAGEGENERALIZATION:

Attribute Usage Back to Top
mode Determines whether generalization is turned on. The default is "true", which means generalization is done. See the Notes section for more details.
 

Examples for IMAGEGENERALIZATION:

Example 1: When used in CONFIG. Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <CONFIG>
    <ENVIRONMENT>
      <LOCALE country="US" language="en" variant="" />
      <UIFONT color="0,0,0" name="Arial" size="12" style="regular" />
      <SCREEN dpi="96" />
    </ENVIRONMENT>
    <MAP>
      <PROPERTIES>
        <ENVELOPE minx="-10216344.095894964" miny="13131205.105564624" maxx="-10214678.689520996" maxy="13137124.071447073" name="Initial_Extent" />
        <MAPUNITS units="meters" />
        <FILTERCOORDSYS id="54030" />
        <FEATURECOORDSYS id="54030"/>
        <IMAGEGENERALIZATION mode="true" />
      </PROPERTIES>
      <WORKSPACES>
        <SHAPEWORKSPACE name="shp_ws-0" directory="<path to data>" />
      </WORKSPACES>
      <LAYER type="featureclass" name="roads" visible="true" id="0">
        <DATASET name="roads" type="line" workspace="shp_ws-0" />
        <SIMPLERENDERER>
          <SIMPLELINESYMBOL width="1" captype="round" color="27,127,127" />
        </SIMPLERENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Example 2: When in SERVICEINFO. Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <RESPONSE>
    <SERVICEINFO>
      <ENVIRONMENT>
        <LOCALE language="en" country="US" />
        <UIFONT name="Arial" color="0,0,0" size="12" style="regular" />
        <SEPARATORS cs=" " ts=";"/>
        <CAPABILITIES forbidden="" disabledtypes=""/>
        <SCREEN dpi="96"/>
        <IMAGELIMIT pixelcount="1048576" />
      </ENVIRONMENT>
      <PROPERTIES>
        <FEATURECOORDSYS id="4326"/>
        <FILTERCOORDSYS id="4326"/>
        <ENVELOPE minx="-10216344.0958949" miny="13131205.1055646" maxx="-10214678.6895209" maxy="13137124.071447" name="Initial_Extent" />
        <MAPUNITS units="meters" />
        <IMAGEGENERALIZATION mode="true" />
      </PROPERTIES>
      <LAYERINFO type="featureclass" visible="true" name="streets" id="0">
        <FCLASS type="line"></FCLASS>
      </LAYERINFO>
    </SERVICEINFO>
  </RESPONSE>
</ARCXML>