Challenge Overview
The goal of this challenge is to validate whether certain latitude and longitude points are really in a certain city or state as designated by an address.
You will be provided with a CSV file containing the address and its latitude and longitude, and your job is to write a Python 3 script to validate the latitude and longitude is exactly correct, in the same city or same state as the provided address.
The python script should take the provided CSV file as input, and the output should be a CSV file as well containing the same data as the input CSV file with the last column containing the validation result (e.g. exactly correct, in same city, in same state/province, in same country, totally wrong).
The python script will be used as this: geofencingValidator.py inputFile outputFile
Note that the provided address data are mostly US and Asia based, you are encouraged to create more test data for verification. (And we will provide a larger test data for reviewers to validate your submission).
You will be provided with a CSV file containing the address and its latitude and longitude, and your job is to write a Python 3 script to validate the latitude and longitude is exactly correct, in the same city or same state as the provided address.
The python script should take the provided CSV file as input, and the output should be a CSV file as well containing the same data as the input CSV file with the last column containing the validation result (e.g. exactly correct, in same city, in same state/province, in same country, totally wrong).
The python script will be used as this: geofencingValidator.py inputFile outputFile
Note that the provided address data are mostly US and Asia based, you are encouraged to create more test data for verification. (And we will provide a larger test data for reviewers to validate your submission).
Final Submission Guidelines
Submission Deliverable:- Python 3 script
- Deployment and Verification Guide