polyline-ruler
Init from mapbox/cheap-ruler but more than that.
Installation
via pip
pip install -U polyline-ruler
from source
git clone --recursive https://github.com/cubao/polyline-ruler
pip install ./polyline-ruler
Or
pip install git+https://github.com/cubao/polyline-ruler.git
(you can build wheels for later reuse by pip wheel git+https://github.com/cubao/polyline-ruler.git
)
Usage
See tests/test_basic.py
.
Tests
python3 tests/test_basic.py