HOLE  Examples

Used in:  CONFIG   REQUEST   RESPONSE   MARKUP
Servers:  Image   Query   Feature   Extract   ArcMap  
Parent elements:  RING  

<HOLE >
     No Attributes

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

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


Description:


Restrictions:


Notes:


   

Examples for HOLE:

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="countries" />
      <SPATIALQUERY>
        <SPATIALFILTER relation="area_intersection">
          <POLYGON>
            <RING>
              <POINT x="-133.15605550814075" y="78.07185101549165" />
              <POINT x="-131.09942196116728" y="74.70645066589869" />
              <POINT x="-128.1079549837513" y="76.38915084069517" />
              <POINT x="-128.1079549837513" y="76.38915084069517" />
              <POINT x="-133.15605550814075" y="78.07185101549165" />
              <HOLE>
                <POINT x="-135.15605550814075" y="75.07185101549165" />
                <POINT x="-137.09942196116728" y="72.70645066589869" />
                <POINT x="-130.1079549837513" y="79.38915084069517"/>
              </HOLE>
            </RING>      
          </POLYGON>
        </SPATIALFILTER>
      </SPATIALQUERY>
      <SIMPLERENDERER>
        <SIMPLEPOLYGONSYMBOL fillcolor="0,0,0" filltype="cross" />
      </SIMPLERENDERER>
    </LAYER>
  </GET_IMAGE>
</REQUEST>
</ARCXML>

Example 2: When using HOLE 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="acetate1" id="acetate1">
        <OBJECT units="database">
          <SIMPLEPOLYGONSYMBOL fillcolor="0,255,0" />
          <POLYGON>
            <RING>
              <POINT x="83.15605550814075" y="38.07185101549165" />
              <POINT x="111.09942196116728" y="-4.70645066589869" />
              <POINT x="155.1079549837513" y="-10.38915084069517" />
              <POINT x="139.1079549837513" y="66.38915084069517" />
              <POINT x="83.15605550814075" y="38.07185101549165" />
              <HOLE>
                <POINT x="100.15605550814075" y="20.07185101549165" />
                <POINT x="103.09942196116728" y="30.70645066589869" />
                <POINT x="106.1079549837513" y="30.38915084069517" />
                <POINT x="100.15605550814075" y="20.07185101549165" />
              </HOLE>
            </RING>
          </POLYGON>
        </OBJECT>
      </LAYER>
    </GET_IMAGE>
  </REQUEST>
</ARCXML>