Redis converts Geospatial data (latitude and longitude) into a single "score" value so that it can be stored in a Sorted Set. This repository explains the algorithm used for this conversion.