This program was designed to create a map of specified locations from an input data sheet.
The material_plot program creates a new map, adds each location from the input data sheet to the map, and saves a KMZ file of the populated map. The program uses Google Maps and therefore requires the user to have/login to a Google account.
This program could be enhanced for smoother operation and additional features:
Headless Mode: A more conservative version of the program to run in the background without visuals.
-
Use Mozilla Firefox web browser and script the login process.
-
Start the login process in non-headless mode and switch to headless mode after the user logs in.
Location Sorting: Implement sorting of location coordinates in ascending/descending order to optimize map navigation.
- Selenium
- Tkinter
- PyInstaller
- pytest
- Download this repository
pip install pyinstaller- Navigate to project root directory
pyinstaller --onefile src\main.py- Executable created in dist folder
- Format input
.csvfile - Move input
.csvfile to input directory - Navigate to dist folder
- Run main.exe
- Log in to Google account
- Press 'OK' to proceed to plotting/exporting
- Download map
- If there is an error following the login process, please press 'Retry' on the dialogue box.
- The program is known to idle on close due to unknown WebDriver behavior.
- If there is a version error, make sure that the Chrome web browser is up to date.
Noah Hensley | Bitbucket | Handshake
- 1.1
- Added support for custom
.csvfile names - Various bug fixes and optimizations
- See commit change
- Added support for custom
- 1.0
- Initial Release