BBox Operators
Reported by nofxx | November 30th, 2008 @ 05:33 AM | in Call me a plugin
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?
Comments and changes to this ticket
-
nofxx November 30th, 2008 @ 06:00 PM
- 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
-
nofxx November 30th, 2008 @ 06:00 PM
- State changed from new to open
-
nofxx November 30th, 2008 @ 09:09 PM
- State changed from open to resolved
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Postgis Adapter for ActiveRecord