PATH

Used in

CONFIG  REQUEST  RESPONSE  MARKUP  

Servers

Image  Query  Feature  Extract  ArcMap  

Parent elements

POLYLINE 

Syntax

<PATH >
     No Attributes

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

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

Description

Represents data for a polyline feature.

Restrictions


Notes

 

Examples for PATH

Example 1: When in SPATIALFILTER in CONFIG or 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" />
        <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>

Example 2: When using PATH in an acetate layer.
<?xml version="1.0" encoding="UTF-8" ?>
<ARCXML version="1.1">
  <REQUEST>
    <GET_IMAGE>
      <PROPERTIES>
        <ENVELOPE minx="-180.0" miny="-90.0" maxx="180.0" maxy="90.0" />
        <IMAGESIZE width="800" height="600" />
      </PROPERTIES>
      <LAYER type="acetate" name="Selectedmark" id="acetate">
        <OBJECT units="database">
          <SIMPLELINESYMBOL color="0,0,0" width="6" />
          <POLYLINE>
            <PATH>
              <POINT x="-2.1079549837513" y="19.99815142335011" />
              <POINT x="28.99468788980437" y="15.88488432940315" />
              <POINT x="55.99468788980437" y="35.88488432940315" />
            </PATH>
          </POLYLINE>
        </OBJECT>  
      </LAYER>  
    </GET_IMAGE>
  </REQUEST>
</ARCXML>

Example 3: When 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" />
      <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>

Back to top