Python-based distance calculator to help determine how far new apartment complexes are from the office.
Go to file
Amy Bowersox 42ee45acc2 added some acknowledgements 2020-08-19 11:34:04 -06:00
src fleshed out README, added MIT license and license headers in the code 2020-08-18 15:50:18 -06:00
.gitignore initial geocoder test 2020-08-14 17:02:47 -06:00
LICENSE.md fleshed out README, added MIT license and license headers in the code 2020-08-18 15:50:18 -06:00
README.md added some acknowledgements 2020-08-19 11:34:04 -06:00
distance-calc.iml initial geocoder test 2020-08-14 17:02:47 -06:00
geoapi.ini.template initial geocoder test 2020-08-14 17:02:47 -06:00

README.md

distance-calc

A Python-based distance calculator to help determine how far new apartment complexes are from the office.

Scripts

  • gcoder.py - Takes an address on the command line and returns its latitude and longitude. May use one of four different geocoding engines.
  • dcalc.py - Takes an address on the command line and returns its latitude and longitude, distance from the VMware Carbon Black Boulder office, and projected drive time to the Boulder office. Uses Google APIs.
  • batch_distance.py - Same as dcalc, but uses CSV files for input and output.

Configuration File

All scripts make use of a configuration file, called geoapi.ini by default, that contains the API keys. Copy the file geoapi.ini.template and add your API keys. You can also specify a different configuration file with the -C or --config option to each script.

Acknowledgements

Thanks to VMware Carbon Black for sponsoring Hackathon, which provided the time to pursue this research.