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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gencoder-0.2.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b96893684c11279f79f6401a3d35d8d5c633c5d7878d93765fef014e41d08cb |
|
MD5 | 995354a4f354f1813cf57fb94d5b4917 |
|
BLAKE2b-256 | d1aa1c764832460657c5fca87f2338a7754cc1a02be798153cc43a24352b72dc |