Skip to content

Find pairwise distances between a list of geolocations and cache them locally.

License

Notifications You must be signed in to change notification settings

nrrb/pairwise-geo-distances

Repository files navigation

pairwise-geo-distances

Find pairwise distances between a list of geolocations and cache them locally.

I wrote this script to get data that Alex Soble could cache in his DivvyBrags Chrome extension:

This is a Chrome extension that lets you scrape, download, chart, and extend your Divvy bikeshare data.

With this data, he was able to avoid calling the Google Maps API every time, which he wanted to do without for two reasons.

  1. There are currently 300 bike stations with fixed locations and it doesn't make a lot of sense to call the API over and over for something that could easily be precalculated.
  2. There are limits to how often someone can call the Google Maps API depending on whether you're paying for a Google Maps API account. If the extension became popular, and we would like to plan for that being the case, Alex would soon get into the territory of needing a premium API account.

Bitdeli Badge

About

Find pairwise distances between a list of geolocations and cache them locally.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published