Skip to content

Instantly share code, notes, and snippets.

@arjunattam
arjunattam / polyline.py
Created September 1, 2016 06:15
Time aware polyline example
# A location is [latitude, longitude]
locations = [
[19.13626, 72.92506],
[19.13597, 72.92495],
[19.13553, 72.92469],
]
# With Google's encoded polyline algorithm, locations are encoded as
google_polyline = 'spxsBsdb|Lx@TvAr@'

Keybase proof

I hereby claim:

  • I am arjun27 on github.
  • I am arjun27 (https://keybase.io/arjun27) on keybase.
  • I have a public key ASBk0f0VlGFakDayBer6BhYzUkyro7dAehMft5J_zr1_ago

To claim this, I am signing this object: