<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="gis-class-geometrycollection">
      </a>
      13.4.2.8 GeometryCollection Class
     </h4>
    </div>
   </div>
  </div>
  <p>
   A
   <code class="literal">
    GeomCollection
   </code>
   is a geometry that is a
          collection of zero or more geometries of any class.
  </p>
  <p>
   <code class="literal">
    GeomCollection
   </code>
   and
   <code class="literal">
    GeometryCollection
   </code>
   are synonymous, with
   <code class="literal">
    GeomCollection
   </code>
   the preferred type name.
  </p>
  <p>
   All the elements in a geometry collection must be in the same
          spatial reference system (that is, in the same coordinate
          system). There are no other constraints on the elements of a
          geometry collection, although the subclasses of
   <code class="literal">
    GeomCollection
   </code>
   described in the following
          sections may restrict membership. Restrictions may be based
          on:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      Element type (for example, a
      <code class="literal">
       MultiPoint
      </code>
      may contain only
      <code class="literal">
       Point
      </code>
      elements)
     </p>
    </li>
    <li class="listitem">
     <p>
      Dimension
     </p>
    </li>
    <li class="listitem">
     <p>
      Constraints on the degree of spatial overlap between
              elements
     </p>
    </li>
   </ul>
  </div>
 </div>
 <br/>
</div>
