PROPERTIES

Used in

CONFIG  REQUEST  RESPONSE  

Servers

Image  Extract  

Parent elements

GET_EXTRACT  GET_IMAGE  MAP  SERVICEINFO 

Syntax

<PROPERTIES >
     No Attributes


     When parent element is GET_EXTRACT:
     <ENVELOPE... />
     <FEATURECOORDSYS... />
     <FILTERCOORDSYS... />
     <IMAGESIZE... />
     <LAYERLIST... />
     <OUTPUT... />

     When parent element is GET_IMAGE:
     <BACKGROUND... />
     <DRAW... />
     <ENVELOPE... />
     <FEATURECOORDSYS... />
     <FILTERCOORDSYS... />
     <IMAGESIZE... />
     <LAYERLIST... />
     <LEGEND... />
     <OUTPUT... />

     When parent element is MAP:
     (r)(m)<ENVELOPE... />
     <FEATURECOORDSYS... />
     <FILTERCOORDSYS... />
     <MAPUNITS... />
     <OUTPUT... /> [Image Server and Extract Server only]
     <BACKGROUND... /> [Image Server only]
     <IMAGEGENERALIZATION... /> [Image Server only]
     <LEGEND... /> [Image Server only]

     When parent element is SERVICEINFO:
     (r)(m)<ENVELOPE... />
     <FEATURECOORDSYS... />
     <FILTERCOORDSYS... />
     <MAPUNITS... />
     <BACKGROUND... /> [Image Server only]
     <IMAGEGENERALIZATION... /> [Image Server only]
     <IMAGESIZE... /> [Image Server only]
     <LEGEND... /> [Image Server only]
     <OUTPUT... /> [Image Server only]

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

Description

Provides the framework for defining properties about an ArcIMS service. In requests, it provides the framework for modifying properties information in a map configuration file.

Restrictions


Notes

 

Examples for PROPERTIES

Example 1: When in CONFIG.
<?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="-178.21" miny="18.92" maxx="-66.96" maxy="71.41" name="Initial_Extent" />
        <MAPUNITS units="decimal_degrees" />
        <FILTERCOORDSYS id="4326" />
        <FEATURECOORDSYS id="4326"/>
      </PROPERTIES>
      <WORKSPACES>
        <SHAPEWORKSPACE name="shp_ws-0" directory="<path to USA ESRIDATA>"/>
      </WORKSPACES>
      <LAYER type="featureclass" name="CITIES" visible="true" id="2">
      <DATASET name="CITIES" type="point" workspace="shp_ws-0" />
      <SIMPLERENDERER>
        <SIMPLEMARKERSYMBOL type="square" width="5" />
      </SIMPLERENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Example 2: When in a GET_IMAGE or GET_EXTRACT request.
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <REQUEST>
  <GET_IMAGE>
    <PROPERTIES>
      <ENVELOPE minx="-180" miny="-90" maxx="180" maxy="90" />
      <LAYERLIST>
        <LAYERDEF id="Cities">
          <SIMPLERENDERER>
            <SIMPLEMARKERSYMBOL width="16" color="0,0,0" />
          </SIMPLERENDERER>
          <SPATIALQUERY>
            <SPATIALFILTER relation="area_intersection">
              <ENVELOPE maxy="60" maxx="60" miny="0" minx="0" />
            </SPATIALFILTER>
          </SPATIALQUERY>
        </LAYERDEF>
      </LAYERLIST>
    </PROPERTIES>
  </GET_IMAGE>
  </REQUEST>
</ARCXML>

Example 3: When in a SERVICEINFO response.
<?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="-180" miny="-90" maxx="180" maxy="90" name="Initial_Extent" />
        <MAPUNITS units="decimal_degrees" />
      </PROPERTIES>
      <LAYERINFO type="featureclass" visible="true" name="Countries" id="1">
        <FCLASS type="polygon">
          <FIELD name="AREA" type="8" size="12" precision="3" />
          <FIELD name="NAME" type="12" size="40" precision="0" />
          <FIELD name="ABBREVNAME" type="12" size="12" precision="0" />
          <FIELD name="FIPS_CODE" type="12" size="2" precision="0" />
          <FIELD name="WB_CNTRY" type="12" size="3" precision="0" />
          <FIELD name="HYPERLINK" type="12" size="60" precision="0" />
          <FIELD name="#SHAPE#" type="-98" size="0" precision="0" />
          <FIELD name="#ID#" type="-99" size="16" precision="0" />
        </FCLASS>
      </LAYERINFO>
    </SERVICEINFO>
  </RESPONSE>
</ARCXML>

Back to top