chrrrisw / pyproj

python interface to PROJ4 library for cartographic transformations

Home Page:https://jswhit.github.io/pyproj

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyproj

Installation

To use proj4 lib (and data files) that are already installed on the system, set PROJ_DIR environment variable to point to location of proj4 installation before running setup.py. If PROJ_DIR is not set, the bundled proj4 source code and data files are used.

Examples of how to set the PROJ_DIR environment variable:

  • Windows - C:\...> set PROJ_DIR=C:\OSGeo4W\
  • Linux/OS X on most shells- $ export PROJ_DIR=/lib/

Testing

To test, run python -c "import pyproj; pyproj.test()"

For new unit tests, run python unittest/test.py

Documentation

Docs are at http://jswhit.github.io/pyproj.

Bugs/Questions

Report bugs/ask questions at https://github.com/jswhit/pyproj/issues.

About

python interface to PROJ4 library for cartographic transformations

https://jswhit.github.io/pyproj

License:Other


Languages

Language:C 87.1%Language:Python 11.7%Language:C++ 0.7%Language:Batchfile 0.4%Language:Shell 0.0%