Given a large bounding box (say 1 km square), I want to divide this area into a set of smaller bounding boxes to form a grid pattern. I know there are some Earth geometry issues to contend with where. Can anyone help? I'm doing with with Ruby and I'm working with the excellent GeoKit library. Thank you!