I want to take a lat/long and convert it into the center point of a grid with squares of size X/miles^2. Is there an easy way to accomplish this?
For example divide earth into a grid of 1 square mile rectangles, any lat/lot found within a specific square would get converted to the center point of that square. The purpose is to store approximate location information without storing exact location information.