pygeodesy 25.11.5__py2.py3-none-any.whl → 25.12.12__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pygeodesy/__init__.py +25 -12
- pygeodesy/__main__.py +1 -1
- pygeodesy/albers.py +1 -1
- pygeodesy/angles.py +960 -0
- pygeodesy/auxilats/_CX_4.py +1 -1
- pygeodesy/auxilats/_CX_6.py +1 -1
- pygeodesy/auxilats/_CX_8.py +1 -1
- pygeodesy/auxilats/_CX_Rs.py +1 -1
- pygeodesy/auxilats/__init__.py +2 -2
- pygeodesy/auxilats/__main__.py +1 -1
- pygeodesy/auxilats/auxAngle.py +7 -8
- pygeodesy/auxilats/auxDLat.py +1 -1
- pygeodesy/auxilats/auxDST.py +1 -1
- pygeodesy/auxilats/auxLat.py +1 -1
- pygeodesy/auxilats/auxily.py +1 -1
- pygeodesy/azimuthal.py +6 -5
- pygeodesy/basics.py +14 -10
- pygeodesy/booleans.py +1 -1
- pygeodesy/cartesianBase.py +7 -7
- pygeodesy/clipy.py +1 -1
- pygeodesy/constants.py +27 -24
- pygeodesy/css.py +1 -1
- pygeodesy/datums.py +1 -1
- pygeodesy/deprecated/__init__.py +1 -1
- pygeodesy/deprecated/bases.py +1 -1
- pygeodesy/deprecated/classes.py +14 -7
- pygeodesy/deprecated/consterns.py +1 -1
- pygeodesy/deprecated/datum.py +1 -1
- pygeodesy/deprecated/functions.py +1 -1
- pygeodesy/deprecated/nvector.py +1 -1
- pygeodesy/deprecated/rhumbBase.py +1 -1
- pygeodesy/deprecated/rhumbaux.py +1 -1
- pygeodesy/deprecated/rhumbsolve.py +1 -1
- pygeodesy/deprecated/rhumbx.py +1 -1
- pygeodesy/dms.py +1 -1
- pygeodesy/ecef.py +1 -1
- pygeodesy/ecefLocals.py +1 -1
- pygeodesy/elevations.py +1 -1
- pygeodesy/ellipsoidalBase.py +1 -1
- pygeodesy/ellipsoidalBaseDI.py +1 -1
- pygeodesy/ellipsoidalExact.py +1 -1
- pygeodesy/ellipsoidalGeodSolve.py +1 -1
- pygeodesy/ellipsoidalKarney.py +1 -1
- pygeodesy/ellipsoidalNvector.py +1 -1
- pygeodesy/ellipsoidalVincenty.py +1 -1
- pygeodesy/ellipsoids.py +7 -6
- pygeodesy/elliptic.py +1 -1
- pygeodesy/epsg.py +1 -1
- pygeodesy/errors.py +8 -4
- pygeodesy/etm.py +1 -1
- pygeodesy/fmath.py +15 -8
- pygeodesy/formy.py +107 -5
- pygeodesy/frechet.py +1 -1
- pygeodesy/fstats.py +1 -1
- pygeodesy/fsums.py +1 -1
- pygeodesy/gars.py +1 -1
- pygeodesy/geod3solve.py +488 -0
- pygeodesy/geodesici.py +4 -4
- pygeodesy/geodesicw.py +1 -1
- pygeodesy/geodesicx/_C4_24.py +1 -1
- pygeodesy/geodesicx/_C4_27.py +1 -1
- pygeodesy/geodesicx/_C4_30.py +1 -1
- pygeodesy/geodesicx/__init__.py +1 -1
- pygeodesy/geodesicx/__main__.py +1 -1
- pygeodesy/geodesicx/gx.py +1 -1
- pygeodesy/geodesicx/gxarea.py +1 -1
- pygeodesy/geodesicx/gxbases.py +1 -1
- pygeodesy/geodesicx/gxline.py +1 -1
- pygeodesy/geodsolve.py +70 -102
- pygeodesy/geohash.py +1 -1
- pygeodesy/geoids.py +1 -1
- pygeodesy/hausdorff.py +1 -1
- pygeodesy/heights.py +1 -1
- pygeodesy/internals.py +1 -1
- pygeodesy/interns.py +3 -3
- pygeodesy/iters.py +1 -1
- pygeodesy/karney.py +132 -116
- pygeodesy/ktm.py +1 -1
- pygeodesy/latlonBase.py +1 -1
- pygeodesy/lazily.py +23 -12
- pygeodesy/lcc.py +1 -1
- pygeodesy/ltp.py +1 -1
- pygeodesy/ltpTuples.py +1 -1
- pygeodesy/mgrs.py +3 -3
- pygeodesy/named.py +14 -9
- pygeodesy/namedTuples.py +1 -1
- pygeodesy/nvectorBase.py +1 -1
- pygeodesy/osgr.py +1 -1
- pygeodesy/points.py +1 -1
- pygeodesy/props.py +1 -1
- pygeodesy/resections.py +1 -1
- pygeodesy/rhumb/__init__.py +8 -6
- pygeodesy/rhumb/aux_.py +1 -1
- pygeodesy/rhumb/bases.py +1 -1
- pygeodesy/rhumb/ekx.py +1 -1
- pygeodesy/rhumb/solve.py +91 -84
- pygeodesy/simplify.py +1 -1
- pygeodesy/solveBase.py +72 -49
- pygeodesy/sphericalBase.py +1 -1
- pygeodesy/sphericalNvector.py +1 -1
- pygeodesy/sphericalTrigonometry.py +1 -1
- pygeodesy/streprs.py +6 -4
- pygeodesy/trf.py +1 -1
- pygeodesy/triaxials/__init__.py +70 -0
- pygeodesy/triaxials/bases.py +935 -0
- pygeodesy/triaxials/conformal3.py +617 -0
- pygeodesy/triaxials/triaxial3.py +969 -0
- pygeodesy/{triaxials.py → triaxials/triaxial5.py} +353 -781
- pygeodesy/units.py +1 -1
- pygeodesy/unitsBase.py +1 -1
- pygeodesy/ups.py +2 -3
- pygeodesy/utily.py +17 -14
- pygeodesy/utm.py +1 -1
- pygeodesy/utmups.py +1 -1
- pygeodesy/utmupsBase.py +1 -1
- pygeodesy/vector2d.py +1 -1
- pygeodesy/vector3d.py +1 -1
- pygeodesy/vector3dBase.py +1 -1
- pygeodesy/webmercator.py +1 -1
- pygeodesy/wgrs.py +1 -1
- {pygeodesy-25.11.5.dist-info → pygeodesy-25.12.12.dist-info}/METADATA +12 -12
- pygeodesy-25.12.12.dist-info/RECORD +125 -0
- pygeodesy-25.11.5.dist-info/RECORD +0 -119
- {pygeodesy-25.11.5.dist-info → pygeodesy-25.12.12.dist-info}/WHEEL +0 -0
- {pygeodesy-25.11.5.dist-info → pygeodesy-25.12.12.dist-info}/top_level.txt +0 -0
|
@@ -1411,7 +1411,7 @@ __all__ += _ALL_OTHER(Cartesian, LatLon, # classes
|
|
|
1411
1411
|
|
|
1412
1412
|
# **) MIT License
|
|
1413
1413
|
#
|
|
1414
|
-
# Copyright (C) 2016-
|
|
1414
|
+
# Copyright (C) 2016-2026 -- mrJean1 at Gmail -- All Rights Reserved.
|
|
1415
1415
|
#
|
|
1416
1416
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
1417
1417
|
# copy of this software and associated documentation files (the "Software"),
|
pygeodesy/streprs.py
CHANGED
|
@@ -22,7 +22,7 @@ from pygeodesy.lazily import _ALL_LAZY, _ALL_MODS as _MODS
|
|
|
22
22
|
from math import fabs, log10 as _log10
|
|
23
23
|
|
|
24
24
|
__all__ = _ALL_LAZY.streprs
|
|
25
|
-
__version__ = '25.
|
|
25
|
+
__version__ = '25.11.24'
|
|
26
26
|
|
|
27
27
|
_at_ = 'at' # PYCHOK used!
|
|
28
28
|
_EN_PREC = 6 # max MGRS/OSGR precision, 1 micrometer
|
|
@@ -321,9 +321,11 @@ def fstr(floats, prec=6, fmt=Fmt.F, ints=False, sep=_COMMASPACE_, strepr=None, f
|
|
|
321
321
|
C{strs((floats,), ...)} (C{str}) if B{C{floats}} is C{scalar}.
|
|
322
322
|
'''
|
|
323
323
|
if isscalar(floats): # see Fstr.__call__ above
|
|
324
|
-
|
|
324
|
+
t = next(_streprs(prec, (floats,), fmt, ints, force, strepr))
|
|
325
325
|
else:
|
|
326
|
-
|
|
326
|
+
t = _streprs(prec, floats, fmt, ints, force, strepr)
|
|
327
|
+
t = sep.join(t) if sep else tuple(t)
|
|
328
|
+
return t
|
|
327
329
|
|
|
328
330
|
|
|
329
331
|
def _fstrENH2(inst, prec, m, fmt=Fmt.F): # in .css, .lcc, .utmupsBase
|
|
@@ -605,7 +607,7 @@ def _xzipairs(names, values, sep=_COMMASPACE_, fmt=NN, pair_fmt=Fmt.COLON):
|
|
|
605
607
|
|
|
606
608
|
# **) MIT License
|
|
607
609
|
#
|
|
608
|
-
# Copyright (C) 2016-
|
|
610
|
+
# Copyright (C) 2016-2026 -- mrJean1 at Gmail -- All Rights Reserved.
|
|
609
611
|
#
|
|
610
612
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
611
613
|
# copy of this software and associated documentation files (the "Software"),
|
pygeodesy/trf.py
CHANGED
|
@@ -1786,7 +1786,7 @@ if __name__ == _DMAIN_:
|
|
|
1786
1786
|
|
|
1787
1787
|
# **) MIT License
|
|
1788
1788
|
#
|
|
1789
|
-
# Copyright (C) 2016-
|
|
1789
|
+
# Copyright (C) 2016-2026 -- mrJean1 at Gmail -- All Rights Reserved.
|
|
1790
1790
|
#
|
|
1791
1791
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
1792
1792
|
# copy of this software and associated documentation files (the "Software"),
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
|
|
4
|
+
u'''Package of lazily imported modules L{triaxials.conformal3}, L{triaxials.triaxial3}
|
|
5
|
+
and L{triaxials.triaxial5} for triaxial ellipsoids.
|
|
6
|
+
|
|
7
|
+
Mostly transcoded to pure Python from I{Karney}'s U{GeographicLib 2.7 Triaxial<https://
|
|
8
|
+
GeographicLib.SourceForge.io/C++/doc/namespaceGeographicLib_1_1Triaxial.html} classes
|
|
9
|
+
and the I{experimental} U{GeographicLib 2.52 Jacobi<https://GeographicLib.SourceForge.io/
|
|
10
|
+
C++/2.5.2/jacobi.html>} class.
|
|
11
|
+
|
|
12
|
+
Copyright (C) U{Charles Karney<mailto:Karney@Alum.MIT.edu>} (2008-2024, 2024-2025) and
|
|
13
|
+
licensed under the MIT/X11 License. For more information, see the U{GeographicLib 2.5.2
|
|
14
|
+
and 2.7<https://GeographicLib.SourceForge.io>} documentation.
|
|
15
|
+
'''
|
|
16
|
+
from pygeodesy.lazily import _ALL_LAZY, _ALL_OTHER, _lazy_import_as, _unLazy0
|
|
17
|
+
# from pygeodesy.triaxials.triaxial5 import * # PYCHOK for backward compatibility
|
|
18
|
+
# from pygeodesy.triaxials.bases import TriaxialError # likewise
|
|
19
|
+
|
|
20
|
+
__all__ = _ALL_LAZY.triaxials # _triaxial5 # likewise
|
|
21
|
+
__version__ = '25.12.04'
|
|
22
|
+
|
|
23
|
+
if _unLazy0: # or _isfrozen
|
|
24
|
+
from pygeodesy.triaxials.bases import LLK, TriaxialError
|
|
25
|
+
from pygeodesy.triaxials.conformal3 import BetOmgGam5Tuple, Conformal3, Conformal3B, \
|
|
26
|
+
Conformal3Sphere, Conformal5Tuple
|
|
27
|
+
from pygeodesy.triaxials.triaxial3 import BetOmgAlp5Tuple, Cartesian5Tuple, PhiLamZet5Tuple, \
|
|
28
|
+
Triaxial3, Triaxial3B, Triaxial3s
|
|
29
|
+
from pygeodesy.triaxials.triaxial5 import BetaOmega2Tuple, BetaOmega3Tuple, \
|
|
30
|
+
Conformal, ConformalSphere, Conformal2Tuple, \
|
|
31
|
+
Triaxial, Triaxial_, Triaxials, \
|
|
32
|
+
hartzell4, height4
|
|
33
|
+
|
|
34
|
+
__all__ += _ALL_OTHER(LLK, TriaxialError,
|
|
35
|
+
BetOmgGam5Tuple, Conformal3, Conformal3B, ConformalSphere,
|
|
36
|
+
Conformal5Tuple,
|
|
37
|
+
BetOmgAlp5Tuple, Cartesian5Tuple, PhiLamZet5Tuple,
|
|
38
|
+
Triaxial3, Triaxial3B, Triaxial3s,
|
|
39
|
+
BetaOmega2Tuple, BetaOmega3Tuple,
|
|
40
|
+
Conformal, Conformal3Sphere, Conformal2Tuple, Triaxial,
|
|
41
|
+
Triaxial_, Triaxials, hartzell4, height4)
|
|
42
|
+
# assert set(_ALL_LAZY.triaxials + _ALL_LAZY.triaxials_bases
|
|
43
|
+
# + _ALL_LAZY.triaxials_conformal3
|
|
44
|
+
# + _ALL_LAZY.triaxials_triaxial3
|
|
45
|
+
# + _ALL_LAZY.triaxials_triaxial5) == set(__all__)
|
|
46
|
+
|
|
47
|
+
else: # lazily import modules and exported attrs
|
|
48
|
+
__getattr__ = _lazy_import_as(__name__)
|
|
49
|
+
|
|
50
|
+
# **) MIT License
|
|
51
|
+
#
|
|
52
|
+
# Copyright (C) 2025-2026 -- mrJean1 at Gmail -- All Rights Reserved.
|
|
53
|
+
#
|
|
54
|
+
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
55
|
+
# copy of this software and associated documentation files (the "Software"),
|
|
56
|
+
# to deal in the Software without restriction, including without limitation
|
|
57
|
+
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
58
|
+
# and/or sell copies of the Software, and to permit persons to whom the
|
|
59
|
+
# Software is furnished to do so, subject to the following conditions:
|
|
60
|
+
#
|
|
61
|
+
# The above copyright notice and this permission notice shall be included
|
|
62
|
+
# in all copies or substantial portions of the Software.
|
|
63
|
+
#
|
|
64
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
65
|
+
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
66
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
67
|
+
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
68
|
+
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
69
|
+
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
70
|
+
# OTHER DEALINGS IN THE SOFTWARE.
|