Practical k nearest neighbor queries with location privacy