A Bayesian Variable Selection Method With Applications To Spatial Data