Geoffrey, depending on the specifics of your dataset, you may be best off making a covering grid for both datasets. If the covering grid is small enough to fit into memory, then you can do the rest by hand, as Britton suggests. -- Stephen Skory s at skory.us http://stephenskory.com/ 510.621.3687 (google voice)