This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

GeoJSON proxy to popular elevation web services.

Currently only Google Elevation API is implemented.

New backends or improvements very welcome!

Install stable version from pypi

Install via pip:

pip install geojson_elevation

Install development version

Install tarball:

pip install https://github.com/ninuxorg/python-geojson-elevation/tarball/master

Alternatively you can install via pip using git:

pip install -e git+git://github.com/ninuxorg/python-geojson-elevation#egg=geojson-elevation

If you want to contribute, install your cloned fork:

git clone git@github.com:<your_fork>/python-geojson-elevation.git
cd python-geojson-elevation
python setup.py develop

Basic Usage Example

from geojson_elevation.google import elevation

# 1 point
elevation('41.889040454306752,12.525333445447737')

# path
elevation('41.889040454306752,12.525333445447737|41.889050454306752,12.525335445447737')

Running tests

Install your forked repo:

git clone git://github.com/<your_fork>/python-geojson-elevation
cd python-geojson-elevation/
python setup.py develop

Install test requirements:

pip install -r requirements-test.txt

Run tests with:

./runtests.py

Alternatively, you can use the nose command (which has a ton of available options):

nosetests
nosetests tests.google_tests  # run only google elevation API tests

See test coverage with:

coverage run --source=geojson_elevation runtests.py && coverage report

Contribute

  1. Join the mailing list
  2. Fork this repo and install it
  3. Follow PEP8, Style Guide for Python Code
  4. Write code
  5. Write tests for your code
  6. Ensure all tests pass
  7. Ensure test coverage is not under 90%
  8. Document your changes
  9. Send pull request
Release History

Release History

0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
geojson_elevation-0.1-py2.py3-none-any.whl (6.6 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Jun 6, 2015
geojson_elevation-0.1.tar.gz (5.6 kB) Copy SHA256 Checksum SHA256 Source Jun 6, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting