Efficient processing of spatial joins using R-trees