Skip to main content

A Python library and provides functions to covert geographical corrdinates from LambertIIe/Lambert93 systems to WGS84

Project description

Travis Python27 Python35

geolambert-python

geolambert-python is a Python library and provides functions to covert geographical corrdinates from LambertIIe/Lambert93 systems to WGS84 using IGN Algorithms. C codes (lambert.c, lambert.h) come from yageek/lambert.

Website: https://github.com/chengs/geolambert-python/

Usage

>>> from geolambert import lambert93_to_wgs84, lambertIIe_to_wgs84
>>> lambert93_to_wgs84(668832.5384, 6950138.7285)
(2.5686536326051743, 49.649610985851474)
>>> lambertIIe_to_wgs84(73150, 2396665)
(-4.780198557157784, 48.354052821116824)

Installation

Dependencies

geolambert-python requires:

  • Python (>= 2.7 or >= 3.3)

For development, cython>=0.26.1 is required.

User installation

To install geolambert-python using pip

pip install geolambert

To install geolambert-python from source

git clone https://github.com/chengs/geolambert-python/
cd geolambert-python
python setup.py install

or install with compling codes using Cython

python setup.py install --cython

Alternatives

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

geolambert-0.1.1.tar.gz (24.9 kB view hashes)

Uploaded Source

Built Distribution

geolambert-0.1.1-cp27-cp27m-macosx_10_9_x86_64.whl (15.9 kB view hashes)

Uploaded CPython 2.7m macOS 10.9+ x86-64

Supported by

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