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

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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page