client side spatial filter