Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.3 KB

index.rst

File metadata and controls

43 lines (33 loc) · 1.3 KB

Introduction

The encpoly package is a Python 3 library for encoding/decoding geographic coordinates using Google's Encoded Polyline Algorithm. The package is developed on GitHub and contributions are welcome.

Table of contents

installation api

Quick start

>>> from encpoly import encode, decode >>> coords = ((38.5, -120.2), (40.7, -120.95), (43.252, -126.453)) >>> encode(coords) '_p~iF~psU_ulLnnqC_mqNvxq`@")) ([38.5, -120.2], [40.7, -120.95], [43.252, -126.453])

Elsewhere