Query database for points within a certain location complete