|
1 | | -# -*- coding: utf-8 -*- |
2 | 1 | """ |
3 | | -Cython wrapper to provide python interfaces to |
4 | | -PROJ (https://proj.org) functions. |
5 | | -
|
6 | | -Performs cartographic transformations and geodetic computations. |
7 | | -
|
8 | | -The Proj class can convert from geographic (longitude,latitude) |
9 | | -to native map projection (x,y) coordinates and vice versa, or |
10 | | -from one map projection coordinate system directly to another. |
11 | | -The module variable pj_list is a dictionary containing all the |
12 | | -available projections and their descriptions. |
13 | | -
|
14 | | -The Geod class can perform forward and inverse geodetic, or |
15 | | -Great Circle, computations. The forward computation involves |
16 | | -determining latitude, longitude and back azimuth of a terminus |
17 | | -point given the latitude and longitude of an initial point, plus |
18 | | -azimuth and distance. The inverse computation involves |
19 | | -determining the forward and back azimuths and distance given the |
20 | | -latitudes and longitudes of an initial and terminus point. |
21 | | -
|
22 | | -Input coordinates can be given as python arrays, lists/tuples, |
23 | | -scalars or numpy/Numeric/numarray arrays. Optimized for objects |
24 | | -that support the Python buffer protocol (regular python and |
25 | | -numpy array objects). |
| 2 | +Python interface to PROJ (https://proj.org), |
| 3 | +cartographic projections and coordinate transformations library. |
26 | 4 |
|
27 | 5 | Download: http://python.org/pypi/pyproj |
28 | 6 |
|
29 | 7 | Requirements: Python 3.5+. |
30 | 8 |
|
31 | | -Example scripts are in 'test' subdirectory of source distribution. |
32 | | -The 'test()' function will run the examples in the docstrings. |
| 9 | +Contact: Jeffrey Whitaker <[email protected]> |
| 10 | +
|
| 11 | +Copyright (c) 2006-2018, Jeffrey Whitaker. |
| 12 | +Copyright (c) 2019-2020, Open source contributors. |
33 | 13 |
|
34 | | -Contact: Jeffrey Whitaker <[email protected] |
| 14 | +Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 15 | +this software and associated documentation files (the "Software"), to deal in |
| 16 | +the Software without restriction, including without limitation the rights to use, |
| 17 | +copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the |
| 18 | +Software, and to permit persons to whom the Software is furnished to do so, |
| 19 | +subject to the following conditions: |
35 | 20 |
|
36 | | -copyright (c) 2006 by Jeffrey Whitaker. |
| 21 | +The above copyright notice and this permission notice shall be included in all |
| 22 | +copies or substantial portions of the Software. |
37 | 23 |
|
38 | | -Permission to use, copy, modify, and distribute this software |
39 | | -and its documentation for any purpose and without fee is hereby |
40 | | -granted, provided that the above copyright notice appear in all |
41 | | -copies and that both the copyright notice and this permission |
42 | | -notice appear in supporting documentation. THE AUTHOR DISCLAIMS |
43 | | -ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL |
44 | | -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT |
45 | | -SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
46 | | -CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM |
47 | | -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
48 | | -NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
49 | | -CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. """ |
| 24 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, |
| 25 | +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A |
| 26 | +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
| 27 | +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
| 28 | +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 29 | +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 30 | +""" |
50 | 31 | __version__ = "2.6.0rc0" |
51 | 32 | __all__ = [ |
52 | 33 | "Proj", |
|
0 commit comments