PATH  Examples

Used in:  CONFIG   REQUEST   RESPONSE   MARKUP
Parent elements:  POLYLINE  

<PATH >
     No Attributes

     <COORDS... />  [Or]
     (m) <POINT... />  [Or]

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


Description:


Restrictions:


Notes:


   

Examples for PATH:

Example 1: When in a FEATURES response. Back to Top
<?xml version="1.0" encoding="UTF8"?>
<ARCXML version="1.1">
<RESPONSE>
  <FEATURES>
    <FEATURE>
      <FIELDS CUST_ID="4" NAME="Customer  4"  #SHAPE#="[Geometry]" #ID#="3" />
      <POLYLINE>
        <PATH>
          <POINT x="-128.1079549837513" y="81.99815142335011" />
          <POINT x="-123.99468788980437" y="77.88488432940315" />
          <POINT x="-123.99468788980437" y="77.88488432940315" />
      </PATH>
      </POLYLINE>
    </FEATURE>
    <FEATURECOUNT count="1" hasmore="false" />
  </FEATURES>
</RESPONSE>
</ARCXML>

Example 2: When in SPATIALFILTER in CONFIG or REQUEST. Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <REQUEST>
    <GET_IMAGE>
      <PROPERTIES>
        <ENVELOPE minx="-180" miny="-90" maxx="180" maxy="90" />
        <IMAGESIZE width="643" height="502" />
      </PROPERTIES>
      <LAYER type="featureclass" name="select layer" visible="true" id="Selected">
        <DATASET fromlayer="1" />
        <SPATIALQUERY>
          <SPATIALFILTER relation="area_intersection">
            <POLYLINE>
              <PATH>
                <COORDS>-2.10 19.99;28.99 15.88;55.99 35.88 </COORDS>
              </PATH>
            </POLYLINE>
          </SPATIALFILTER>
        </SPATIALQUERY>
        <SIMPLERENDERER>
          <SIMPLEPOLYGONSYMBOL fillcolor="0,255,0" filltype="cross" fillinterval="3" />
        </SIMPLERENDERER>
      </LAYER>
    </GET_IMAGE>
  </REQUEST>
</ARCXML>