To process the location data