Implemented spatially explicit selection