Skip to content

Commit

Permalink
ENH: Added support for custom CRS (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Jan 22, 2020
1 parent 0aacc28 commit 6296de2
Show file tree
Hide file tree
Showing 39 changed files with 3,871 additions and 285 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
pyproj/proj_dir/
pyproj/*.c
pyproj/*/*.c
pyproj/*/*.html
pyproj/*.html
proj-*/

Expand Down
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,18 @@ matrix:
env:
- DOC=true
- python: 3.8
- python: "nightly"
- python: 3.8
env:
- PROJSOURCE=git
# - python: "nightly"
# env:
# - PROJSOURCE=git

allow_failures:
- python: "nightly"
# - python: "nightly"
# env:
# - PROJSOURCE=git
- python: 3.8
env:
- PROJSOURCE=git

Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ clean-setup: ## run python setup.py clean

clean-cython: ## clean the cython files
rm -f pyproj/*.so
rm -f pyproj/*/*.so
rm -f pyproj/*/*.c
rm -f pyproj/*.c

lint: ## check style with flake8
Expand Down
76 changes: 0 additions & 76 deletions docs/api/crs.rst

This file was deleted.

131 changes: 131 additions & 0 deletions docs/api/crs/coordinate_operation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
.. _coordinate_operation:

Coordinate Operations
=====================


.. autoclass:: pyproj.crs.CoordinateOperation
:members:
:inherited-members:


.. autoclass:: pyproj._crs.Param
:members:


.. autoclass:: pyproj._crs.Grid
:members:


.. autoclass:: pyproj.crs.coordinate_operation.AlbersEqualAreaConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.AzumuthalEquidistantConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.GeostationarySatelliteConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.LambertAzumuthalEqualAreaConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.LambertConformalConic1SPConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.LambertConformalConic2SPConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.LambertCylindricalEqualAreaConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.MercatorAConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.MercatorBConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.HotineObliqueMercatorBConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.OrthographicConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.PolarStereographicAConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.PolarStereographicBConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.SinusoidalConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.UTMConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.TransverseMercatorConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.VerticalPerspectiveConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.RotatedLatitudeLongitudeConversion
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_operation.ToWGS84Transformation
:members:
:show-inheritance:
:special-members: __new__
38 changes: 38 additions & 0 deletions docs/api/crs/coordinate_system.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
.. _coordinate_system:

Coordinate Systems
==================


.. autoclass:: pyproj.crs.CoordinateSystem
:members:
:inherited-members:


.. autoclass:: pyproj._crs.Axis
:members:
:inherited-members:


.. autoclass:: pyproj.crs.coordinate_system.Ellipsoidal2DCS
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_system.Ellipsoidal3DCS
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_system.Cartesian2DCS
:members:
:show-inheritance:
:special-members: __new__


.. autoclass:: pyproj.crs.coordinate_system.VerticalCS
:members:
:show-inheritance:
:special-members: __new__
77 changes: 77 additions & 0 deletions docs/api/crs/crs.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
.. _crs:

CRS
===

pyproj.CRS
----------

.. autoclass:: pyproj.crs.CRS
:members:
:inherited-members:
:special-members: __init__


pyproj.crs.GeographicCRS
------------------------

.. autoclass:: pyproj.crs.GeographicCRS
:members:
:show-inheritance:
:special-members: __init__


pyproj.crs.ProjectedCRS
-----------------------

.. autoclass:: pyproj.crs.ProjectedCRS
:members:
:show-inheritance:
:special-members: __init__


pyproj.crs.VerticalCRS
-----------------------

.. autoclass:: pyproj.crs.VerticalCRS
:members:
:show-inheritance:
:special-members: __init__


pyproj.crs.BoundCRS
-----------------------

.. autoclass:: pyproj.crs.BoundCRS
:members:
:show-inheritance:
:special-members: __init__


pyproj.crs.CompoundCRS
-----------------------

.. autoclass:: pyproj.crs.CompoundCRS
:members:
:show-inheritance:
:special-members: __init__


pyproj.crs.is_wkt
-----------------

.. autofunction:: pyproj.crs.is_wkt


pyproj.crs.is_proj
------------------

.. autofunction:: pyproj.crs.is_proj


Area Of Use
-----------

.. autoclass:: pyproj._crs.AreaOfUse
:members:
:inherited-members:

0 comments on commit 6296de2

Please sign in to comment.