Contains code to handle valid as well as invalid GPS coordinates