POLYLINE  Examples

Used in:  CONFIG   REQUEST   RESPONSE   MARKUP
Servers:  Image   Query   Feature   Extract   ArcMap  
Parent elements:  FEATURE   FIELDVALUE   GET_PROJECT   OBJECT   PROJECT   SPATIALFILTER  

<POLYLINE >
     No Attributes

     (m) <PATH... />

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


Description:


Restrictions:


Notes:


   

Examples for POLYLINE:

Example 1: 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>
                <POINT x="-2.1079549837513" y="19.99815142335011" />
                <POINT x="28.99468788980437" y="15.88488432940315" />
                <POINT x="55.99468788980437" y="35.88488432940315" />
              </PATH>
            </POLYLINE>
          </SPATIALFILTER>
        </SPATIALQUERY>
        <SIMPLERENDERER>
          <SIMPLEPOLYGONSYMBOL fillcolor="0,255,0" filltype="cross" fillinterval="3" />
        </SIMPLERENDERER>
      </LAYER>
    </GET_IMAGE>
  </REQUEST>
</ARCXML>

Example 2: When using POLYLINE in an acetate layer. Back to Top
<?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. 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>