Skip to content

Commit 19ce091

Browse files
committed
cosineLaw and cosineLaw_
DEPRECATED functions cosineAndoyerLambert, cosineAndoyerLambert_, cosineForsytheAndoyerLambert and cosineForsytheAndoyerLambert_ and methods cosineAndoyerLambertTo and cosineForsytheAndoyerLambertTo for all LatLon classes. DEPRECATED classes FrechetCosineAndoyerLambert, FrechetCosineForsytheAndoyerLambert, HausdorffCosineAndoyerLambert, HausdorffCosineForsytheAndoyerLambert, HeightIDWcosineAndoyerLambert and HeightIDWcosineForsytheAndoyerLambert. New geoids class GeoidECM96. New method height_ for all geoid classes GeoidG2012B, GeoidKarney and GeoidPGM. New optional keyword argument strict=False for functions isiterable, isiterablen and map2 New functions acre2m2, max2, min2, m2ha, ha2acre, ha2m2, m2acre, m2ha and sincostan3d. Test and documentation updates. Update to Python 3.13.1 for testing and building.
1 parent 603567f commit 19ce091

File tree

676 files changed

+42678
-39885
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

676 files changed

+42678
-39885
lines changed

README.rst

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ earth models using precision trigonometric, vector-based, exact, elliptic, itera
88
approximate methods for geodetic (lat-/longitude), geocentric (ECEF_ cartesian) and certain
99
`triaxial ellipsoidal`_ coordinates.
1010

11-
Transcoded from `JavaScript originals`_ by *Chris Veness (C) 2005-2024* and from several `C++
12-
classes`_ by *Charles F.F. Karney (C) 2008-2024* and published under the same `MIT License`_.
11+
Transcoded partially from `JavaScript originals`_ by *Chris Veness (C) 2005-2024* and from several
12+
`C++ classes`_ by *Charles F.F. Karney (C) 2008-2024* and published under the same `MIT License`_.
1313

1414
There are four modules for ellipsoidal earth models, *ellipsoidalExact*, *-Karney*, *-Vincenty*
1515
and *-Nvector* and two for spherical ones, *sphericalTrigonometry* and *-Nvector*. Each module
@@ -48,7 +48,7 @@ If the wheel ``PyGeodesy-yy.m.d-py2.py3-none-any.whl`` is missing in `PyPI Downl
4848
the file from `GitHub/dist`_. Install that with ``python[3] -m pip install <path-to-downloaded-wheel>``
4949
and verify with ``python[3] -m pygeodesy``.
5050

51-
Alternatively, download ``PyGeodesy-yy.m.d.zip`` from PyPI_ or GitHub_, ``unzip`` the downloaded file,
51+
Alternatively, download ``PyGeodesy-yy.m.d.tar.gz`` from PyPI_ or GitHub_, ``unzip`` the downloaded file,
5252
``cd`` to directory ``PyGeodesy-yy.m.d`` and type ``python[3] setup.py install``.
5353

5454
To run all PyGeodesy tests, type ``python[3] test/run.py`` or type ``python[3] test/unitTestSuite.py``
@@ -83,49 +83,49 @@ variable ``PYGEODESY_RHUMBSOLVE`` or with property ``Ellipsoid.rhumbsolve``.
8383
Documentation
8484
=============
8585

86-
In addition to the ``pygeodesy`` package, the PyGeodesy_ `distribution files`_ contain the tests,
87-
the test results (on macOS only) and the complete documentation_ generated by Epydoc_ using command
88-
line: ``epydoc --html --no-private --no-source --name=PyGeodesy --url=... -v pygeodesy``.
86+
In addition to the ``pygeodesy`` package, the PyGeodesy_ `distribution files`_ contain the tests, the
87+
test results (on macOS only) and the complete documentation_ generated by Epydoc_ using command line:
88+
`epydoc --html --no-private --no-source --name=PyGeodesy --url=... -v pygeodesy``.
8989

9090
Tests
9191
=====
9292

93-
The tests ran with Python 3.13.0 (with geographiclib_ 2.0), 3.12.7 (with geographiclib_ 2.0, numpy_
94-
2.1.0, scipy_ 1.14.1, GeodSolve_ 2.3, IntersectTool_ 2.3 and RhumbSolve_ 2.3), 3.11.5 (with
95-
geographiclib_ 2.0, numpy_ 1.24.2 and scipy_ 1.10.1), Python 3.10.8 (with geographiclib_ 2.0, numpy_
96-
1.23.3, scipy_ 1.9.1, GeoConvert_ 2.3, GeodSolve_ 2.3), Python 3.9.6 and Python 2.7.18 (with
97-
geographiclib_ 1.50, numpy_ 1.16.6, scipy_ 1.2.2, GeoConvert_ 2.3, GeodSolve_ 2.3, IntersectTool_
98-
2.3 and RhumbSolve_ 2.3), all on macOS 14.6.1 Sonoma in 64-bit.
93+
The tests ran with Python 3.13.1 (with geographiclib_ 2.0), 3.12.7 (with geographiclib_ 2.0, numpy_ 2.1.0,
94+
scipy_ 1.14.1, GeodSolve_ 2.3, IntersectTool_ 2.3 and RhumbSolve_ 2.3), 3.11.5 (with geographiclib_ 2.0,
95+
numpy_ 1.24.2 and scipy_ 1.10.1), Python 3.10.8 (with geographiclib_ 2.0, numpy_ 1.23.3, scipy_ 1.9.1,
96+
GeoConvert_ 2.3, GeodSolve_ 2.3), Python 3.9.6 and Python 2.7.18 (with geographiclib_ 1.50, numpy_ 1.16.6,
97+
scipy_ 1.2.2, GeoConvert_ 2.3, GeodSolve_ 2.3, IntersectTool_ 2.3 and RhumbSolve_ 2.3), all on macOS 14.6.1
98+
Sonoma in 64-bit.
9999

100100
All tests ran with and without ``lazy import`` for Python 3 and with command line option ``-W default``
101101
and env variable ``PYGEODESY_WARNINGS=on`` for all Python versions. The results of those tests are
102102
included in the distribution files.
103103

104-
Python 3.13.0, 3.12.7, 3.11.5 and 3.10.8 run on Apple M1 Silicon (``arm64``), *natively*. Python 2.7.18
104+
Python 3.13.1, 3.12.7, 3.11.5 and 3.10.8 run on Apple M1 Silicon (``arm64``), *natively*. Python 2.7.18
105105
runs on Intel (``x86_64``) or Intel *emulation* (\"``arm64_x86_64``\", see function `pygeodesy.machine`_).
106106

107-
Test coverage has been measured with coverage_ 7.6.1 using Python 3.13.0, 3.12.7, 3.11.5 and 3.10.8. The
107+
Test coverage has been measured with coverage_ 7.6.1 using Python 3.13.1, 3.12.7, 3.11.5 and 3.10.8. The
108108
complete coverage report in HTML and a PDF summary are included in the distribution files.
109109

110-
The tests also ran with Python 3.13.0 (and geographiclib_ 2.0) on `Debian 12`_ in 64-bit only and with
110+
The tests also ran with Python 3.13.1 (and geographiclib_ 2.0) on `Debian 12`_ in 64-bit only and with
111111
Python 3.12.5 (and geographiclib_ 2.0) on `Windows 2019Server`_ in 64-bit only and with Python 2.7.18
112112
(and with geographiclib_ 1.52) on `Windows 10`_ in 64- and 32-bit.
113113

114-
A single-File and single-Directory application with ``pygeodesy`` has been bundled using PyInstaller_
115-
3.4 and 64-bit Python 3.7.4 and 3.7.3 on macOS 10.13.6 High Sierra.
116-
117-
Previously, the tests were run with Python 3.12.0-6, 3.11.2-4, 3.10.1-7, 3.9.1, 3.8.7, 3.7.1, 2.7.15, PyPy_
118-
7.3.12 (Python 3.10.12), 7.3.1 (Python 3.6.9) and PyPy_ 7.1.1 (Python 2.7.13) (and geographiclib_ 1.52,
119-
numpy_ 1.16.3, 1.16.4, 1.16.6, 1.19.0, 1.19.4, 1.19.5 or 1.22.4 and scipy_ 1.2.1, 1.4.1, 1.5.2 or 1.8.1)
120-
on `Ubuntu 16.04`_, with Python 3.10.0-1, 3.9.0-5, 3.8.0-6, 3.7.2-6, 3.7.0, 3.6.2-5, 3.5.3, 2.7.13-17,
121-
2.7.10 and 2.6.9 (and numpy_ 1.19.0, 1.16.5, 1.16.2, 1.15.2, 1.14.0, 1.13.1, 1.8.0rc1 or 1.6.2 and scipy_
122-
1.5.0), PyPy_ 7.3.0 (Python 2.7.13 and 3.6.9), PyPy_ 6.0.0 (Python 2.7.13 and 3.5.3) and `Intel-Python`_
123-
3.5.3 (and numpy_ 1.11.3) on macOS 14.0-5 Sonoma, 13.0-5.2 Ventura, 12.1-6 Monterey, 11.0-5.2-6.1 Big
124-
Sur (aka 10.16), 10.15.3, 10.15.5-7 Catalina, 10.14 Mojave, 10.13.6 High Sierra and 10.12 Sierra, MacOS X
125-
10.11 El Capitan and/or MacOS X 10.10 Yosemite, with Pythonista_ 3.2 (with geographiclib 1.50 or 1.49 and
126-
numpy 1.8.0) on iOS 14.4.2, 11.4.1, 12.0-3 on iPad4, iPhone6, iPhone10 and/or iPhone12, with Pythonista_
127-
3.1 on iOS 10.3.3, 11.0.3, 11.1.2 and 11.3 on iPad4, all in 64-bit only and with 32-bit Python 2.7.14 on
128-
Windows Server 2012R2, Windows 10 Pro and 32-bit Python 2.6.6 on Windows XP SP3.
114+
A single-File and single-Directory application with ``pygeodesy`` has been bundled using PyInstaller_ 3.4
115+
and 64-bit Python 3.7.4 and 3.7.3 on macOS 10.13.6 High Sierra.
116+
117+
Previously, the tests were run with Python 3.13.0, 3.12.0-6, 3.11.2-4, 3.10.1-7, 3.9.1, 3.8.7, 3.7.1, 2.7.15,
118+
PyPy_ 7.3.12 (Python 3.10.12), 7.3.1 (Python 3.6.9) and PyPy_ 7.1.1 (Python 2.7.13) (and geographiclib_ 1.52,
119+
numpy_ 1.16.3, 1.16.4, 1.16.6, 1.19.0, 1.19.4, 1.19.5 or 1.22.4 and scipy_ 1.2.1, 1.4.1, 1.5.2 or 1.8.1) on
120+
`Ubuntu 16.04`_, with Python 3.10.0-1, 3.9.0-5, 3.8.0-6, 3.7.2-6, 3.7.0, 3.6.2-5, 3.5.3, 2.7.13-17, 2.7.10
121+
and 2.6.9 (and numpy_ 1.19.0, 1.16.5, 1.16.2, 1.15.2, 1.14.0, 1.13.1, 1.8.0rc1 or 1.6.2 and scipy_ 1.5.0),
122+
PyPy_ 7.3.0 (Python 2.7.13 and 3.6.9), PyPy_ 6.0.0 (Python 2.7.13 and 3.5.3) and `Intel-Python`_ 3.5.3 (and
123+
numpy_ 1.11.3) on macOS 14.0-5 Sonoma, 13.0-5.2 Ventura, 12.1-6 Monterey, 11.0-5.2-6.1 Big Sur (aka 10.16),
124+
10.15.3, 10.15.5-7 Catalina, 10.14 Mojave, 10.13.6 High Sierra and 10.12 Sierra, MacOS X 10.11 El Capitan
125+
and/or MacOS X 10.10 Yosemite, with Pythonista_ 3.2 (with geographiclib 1.50 or 1.49 and numpy 1.8.0) on
126+
iOS 14.4.2, 11.4.1, 12.0-3 on iPad4, iPhone6, iPhone10 and/or iPhone12, with Pythonista_ 3.1 on iOS 10.3.3,
127+
11.0.3, 11.1.2 and 11.3 on iPad4, all in 64-bit only and with 32-bit Python 2.7.14 on Windows Server 2012R2,
128+
Windows 10 Pro and 32-bit Python 2.6.6 on Windows XP SP3.
129129

130130
Notes
131131
=====
@@ -135,7 +135,7 @@ and McCabe_ using Python 2.7.18 and with Flake8_ using Python 3.11.5, both in 64
135135

136136
For a summary of all *Karney*-based functionality in ``pygeodesy``, see module karney_.
137137

138-
*Last updated: Dec 12, 2024.*
138+
*Last updated: Dec 31, 2024.*
139139

140140
License
141141
=======
@@ -240,7 +240,6 @@ DEALINGS IN THE SOFTWARE.
240240
.. _Sutherland-Hodgman: https://WikiPedia.org/wiki/Sutherland-Hodgman_algorithm
241241
.. _TRF: http://ITRF.ENSG.IGN.FR
242242
.. _triaxial ellipsoidal: https://GeographicLib.SourceForge.io/1.44/triaxial.html
243-
.. _Ubuntu 16.04: https://Travis-CI.com/mrJean1/PyGeodesy
244243
.. _UPS: https://WikiPedia.org/wiki/Universal_polar_stereographic_coordinate_system
245244
.. _UTM: https://www.Movable-Type.co.UK/scripts/latlong-utm-mgrs.html
246245
.. _Vector-based: https://www.Movable-Type.co.UK/scripts/latlong-vectors.html

dist/PyGeodesy-24.12.12.tar.bz2

-5.5 MB
Binary file not shown.

dist/PyGeodesy-24.12.12.zip

-9.21 MB
Binary file not shown.
1020 KB
Binary file not shown.

dist/PyGeodesy-24.12.31.tar.bz2

5.51 MB
Binary file not shown.
7.6 MB
Binary file not shown.

docs/abc.ABCMeta-class.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ <h3 class="epydoc"><span class="sig"><span class="sig-name">__subclasscheck__</s
344344
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
345345
<tr>
346346
<td align="left" class="footer">
347-
Generated by Epydoc 3.0.1 on Thu Dec 12 15:50:53 2024
347+
Generated by Epydoc 3.0.1 on Fri Jan 3 23:17:57 2025
348348
</td>
349349
<td align="right" class="footer">
350350
<a target="mainFrame" href="http://epydoc.sourceforge.net"

0 commit comments

Comments
 (0)