FEATURE

Used in

RESPONSE  MARKUP  

Servers

Query  Feature  Geocode  

Parent elements

ADDEDFEATURES  DELETEDFEATURES  FEATURES  GEOCODE  MODIFIEDFEATURES 

Syntax

<FEATUREAttribute Description Table

     When parent element is FEATURES, ADDEDFEATURES, MODIFIEDFEATURES:
          No Attributes

     When parent element is GEOCODE, DELETEDFEATURES:
     (r)featureid="integer"
>


     When parent element is DELETEDFEATURES, ADDEDFEATURES, MODIFIEDFEATURES:
     (r)<ENVELOPE... />
     (r)(m)<FIELD... />

     When parent element is FEATURES:
     (r)<FIELDS... />
     <ENVELOPE... />
     <MULTIPOINT... /> [Or]
     <POLYGON... /> [Or]
     <POLYLINE... /> [Or]

     When parent element is GEOCODE:
     (r)(m)<FIELD... />

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

Description

When in a RESPONSE, displays geocoding or query results. When in MARKUP, describes features in a MARKUP report of the EditNotes tool.

Restrictions


Attribute Descriptions for FEATURE


When parent element is FEATURES, ADDEDFEATURES, MODIFIEDFEATURES:
     No Attributes

When parent element is GEOCODE, DELETEDFEATURES:
AttributeUsage
featureidProvides a unique value for a feature. When in GEOCODE, featureid is assigned to each result sequentially. When in DELETEDFEATURES, featureid must match one of the values in the deletedfeatures list.
Back to top 

Examples for FEATURE

Example 1: When used in MARKUP.
<?xml version="1.0"?>
<MARKUP>
  <WORKSPACES>
    <FEATURESERVERWORKSPACE name="ifs_ws-0" url="http://mycomputer.domain.com/servlet/com.esri.esrimap.Esrimap" service="states" />
  </WORKSPACES>
  <MARKUPLAYER layername="States" workspace="ifs_ws-0">
    <DELETEDFEATURES deletedFeatures="22">
      <FEATURE featureid="22">
      <ENVELOPE minx="-119.99807766185346" miny="34.989467399607044" maxx="-114.03885920596963" maxy="42.00172044207277" />
      <FIELD name="AREA" precision="3" size="12" type="8">
        <FIELDVALUE valuestring="110667.293" />
      </FIELD>
      <FIELD name="STATE_NAME" precision="0" size="25" type="12">
        <FIELDVALUE valuestring="Nevada" />
      </FIELD>
      <FIELD name="STATE_FIPS" precision="0" size="2" type="12">
        <FIELDVALUE valuestring="32" />
      </FIELD>
      <FIELD name="SUB_REGION" precision="0" size="7" type="12">
        <FIELDVALUE valuestring="Mtn" />
      </FIELD>
      <FIELD name="STATE_ABBR" precision="0" size="2" type="12">
        <FIELDVALUE valuestring="NV" />
      </FIELD>
      <FIELD name="#SHAPE#" precision="0" size="0" type="-98">
        <FIELDVALUE>
          <POLYGON>
            <RING>
            <POINT x="-119.16043651343605" y="38.41182980599817" />
            <POINT x="-119.87841464065097" y="38.91441449504861" />
            ...
            <POINT x="-119.16043651343601" y="38.41182980599817" />
            <POINT x="-119.16043651343605" y="38.41182980599817" />
            </RING>
          </POLYGON>
        </FIELDVALUE>
      </FIELD>
      </FEATURE>
    </DELETEDFEATURES>
  </MARKUPLAYER>
</MARKUP>

Example 2: When used in a FEATURES response.
<?xml version="1.0" encoding="UTF8"?>
<ARCXML version="1.1">
<RESPONSE>
  <FEATURES>
    <FEATURE>
      <FIELDS CUST_ID="4" NAME="Customer  4"  #SHAPE#="[Geometry]" #ID#="3" />
      <MULTIPOINT>
        <POINT x="-122.406680" y="37.747422" />
      </MULTIPOINT>
    </FEATURE>
    <FEATURECOUNT count="1" hasmore="false" />
  </FEATURES>
</RESPONSE>
</ARCXML>

Back to top