Added validation for gps location download

Added checks to validate the location gps