On Sep 1, 2:14=A0pm, Daniel Berger <djber... / gmail.com> wrote:
> Using georuby, how would you determine if a given point is within a
> given bounding box?

I've never used GeoRuby, but looking at the implementation of
bounding_box for various classes, how about:

  # untested
  class GeoRuby::SimpleFeatures::Geometry
    def point_in_bounds?( point )
      min, max =3D bounding_box
      point.x >=3D min.x && point.x <=3D max.x &&
      point.y >=3D min.y && point.y <=3D max.y &&
      min.z && point.z >=3D min.z && point.z <=3D max.z
    end
  end