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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2Python 3

File details

Details for the file gencoder-0.2.2.tar.gz.

File metadata

  • Download URL: gencoder-0.2.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.7.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for gencoder-0.2.2.tar.gz
Algorithm Hash digest
SHA256 bdf21c17b71ffd64175b823a53b53bd59bb9a8c56115646f18343e46ee4ed64e
MD5 9918c5ca7f5970656842ef5b31cff9c4
BLAKE2b-256 9f2eff8d3cf23ee1582fef405c45222c745d2bacddb4f87268b0fd63f0e05323

See more details on using hashes here.

File details

Details for the file gencoder-0.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: gencoder-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.7.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for gencoder-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9b96893684c11279f79f6401a3d35d8d5c633c5d7878d93765fef014e41d08cb
MD5 995354a4f354f1813cf57fb94d5b4917
BLAKE2b-256 d1aa1c764832460657c5fca87f2338a7754cc1a02be798153cc43a24352b72dc

See more details on using hashes here.

Supported by

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