gpolyline (pypi): Converts a series of latitude/longitude points to an encoded string for use with Google Maps
Keywords: googlemaps