Package org.hibernate.spatial

Interface SpatialRelation


  • @Deprecatedpublic interfaceSpatialRelation
    Deprecated.
    Will be removed in 6
    Enumerates the supported spatial relations.

    Most of these relations are defined in "OpenGIS Simple Features Specification for SQL, rev. 1.1 (OGC 99-049), section 2.1.13.3. "

    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      static intCONTAINS
      Deprecated.
      The first geometry spatially contains the second
      static intCROSSES
      Deprecated.
      The geometries cross
      static intDISJOINT
      Deprecated.
      The geometries are spatially dijoint
      static intEQUALS
      Deprecated.
      The geometries are spatially equal to each other.
      static intFILTER
      Deprecated.
      The bounding box of the first geometry intersects the bounding box of the second
      static intINTERSECTS
      Deprecated.
      The first geometry intersects the second
      static intOVERLAPS
      Deprecated.
      The geometries spatially overlap
      static intTOUCHES
      Deprecated.
      The geometries touch
      static intWITHIN
      Deprecated.
      The first geometry is spatially within the second
    • Field Detail

      • EQUALS

        static final int EQUALS
        Deprecated.
        The geometries are spatially equal to each other.
        See Also:
        Constant Field Values
      • DISJOINT

        static final int DISJOINT
        Deprecated.
        The geometries are spatially dijoint
        See Also:
        Constant Field Values
      • WITHIN

        static final int WITHIN
        Deprecated.
        The first geometry is spatially within the second
        See Also:
        Constant Field Values
      • OVERLAPS

        static final int OVERLAPS
        Deprecated.
        The geometries spatially overlap
        See Also:
        Constant Field Values
      • CONTAINS

        static final int CONTAINS
        Deprecated.
        The first geometry spatially contains the second
        See Also:
        Constant Field Values
      • INTERSECTS

        static final int INTERSECTS
        Deprecated.
        The first geometry intersects the second
        See Also:
        Constant Field Values
      • FILTER

        static final int FILTER
        Deprecated.
        The bounding box of the first geometry intersects the bounding box of the second

        This relation is not defined in OGC 99-049, it corresponds to the Postgis '&&' operator.

        See Also:
        Constant Field Values