Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

BBox Operators

#6

These operators utilize indexes. They compare bounding boxes of 2 geometries


  A &< B (A overlaps or is to the left of B)
  A &> B (A overlaps or is to the right of B)
  A << B (A is strictly to the left of B)
  A >> B (A is strictly to the right of B)
  A &<| B (A overlaps B or is below B)
  A |&> B (A overlaps or is above B)
  A <<| B (A strictly below B)
  A |>> B (A strictly above B)
  A = B (A bbox same as B bbox)
  A @ B (A completely contained by B)
  A ~ B (A completely contains B)
  A && B (A and B bboxes interact)
  A ~= B - true if A and B geometries are binary equal?

Reported by nofxx · November 30th, 2008 @ 05:33 AM

State: resolved
Milestone: Call me a plugin
Assigned to: nofxx nofxx

Activity

  1. nofxx
    nofxx
    • Milestone set to Call me a plugin

    Idea:

    
      foo.bbox "<<", other
      foo.bbox "@", other
    
      def strictly_left_of?(other)
      end
    
      def completely_contained_by?(other)
      end
    

    November 30th, 2008 @ 06:00 PM

  2. nofxx
    nofxx
    • State changed from new to open

    November 30th, 2008 @ 06:00 PM

  3. nofxx
    nofxx
    • State changed from open to resolved

    November 30th, 2008 @ 09:09 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.