Skip to main content

Google Polyline Encoding Helper Package

Project description

Google Encoding Helper Package

This package is intended to be used to quickly translate the normal text into polyline encoded format.

This package must not be used for other purposes, and if it is, it may throw in exception and may also cause your program to crash.

To use this package, simply import gencoder after install it using the pip installer. Then, call the encoding function through the path: gencoder.polycoder.super_encoder

This function requires the coordinates to be provided as the input in str format. The latitude and longitude must be separated with a comma.

Also, this package provides the facility to use the encoder on multiple coordinates. This is facilitated by the use of lists, which means that you would need to separate the coordinates with the usage of lists.

Here is an example input:

super_encoder(['38.5, -120.2', '40.7, -120.95', '43.252, -126.453'])

The ideal output to this query shall be:

_p~iF~ps|U_ulLnnqC_mqNvxq@

Output Type: str


Important: The author of this package does not allow anyone to copy the code without written permission. If you need to use the code independently, you may contact the author of this package at rachitbhargava99@gmail.com.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gencoder-0.2.2.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

gencoder-0.2.2-py2.py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page