pygeodesy 24.11.11__py2.py3-none-any.whl → 25.1.5__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-24.11.11.dist-info → PyGeodesy-25.1.5.dist-info}/METADATA +34 -35
- PyGeodesy-25.1.5.dist-info/RECORD +118 -0
- {PyGeodesy-24.11.11.dist-info → PyGeodesy-25.1.5.dist-info}/WHEEL +1 -1
- pygeodesy/__init__.py +19 -19
- pygeodesy/__main__.py +1 -1
- pygeodesy/albers.py +5 -5
- 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 +1 -1
- pygeodesy/auxilats/__main__.py +1 -1
- pygeodesy/auxilats/auxAngle.py +5 -5
- pygeodesy/auxilats/auxDLat.py +6 -6
- pygeodesy/auxilats/auxDST.py +2 -2
- pygeodesy/auxilats/auxLat.py +5 -5
- pygeodesy/auxilats/auxily.py +2 -2
- pygeodesy/azimuthal.py +5 -5
- pygeodesy/basics.py +60 -8
- pygeodesy/booleans.py +1 -1
- pygeodesy/cartesianBase.py +22 -61
- pygeodesy/clipy.py +1 -1
- pygeodesy/constants.py +5 -5
- pygeodesy/css.py +1 -1
- pygeodesy/datums.py +1 -1
- pygeodesy/deprecated/__init__.py +2 -2
- pygeodesy/deprecated/bases.py +1 -1
- pygeodesy/deprecated/classes.py +86 -2
- pygeodesy/deprecated/consterns.py +1 -1
- pygeodesy/deprecated/datum.py +5 -5
- pygeodesy/deprecated/functions.py +42 -8
- 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 +53 -56
- pygeodesy/elevations.py +1 -1
- pygeodesy/ellipsoidalBase.py +3 -3
- 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 +6 -5
- pygeodesy/ellipsoids.py +4 -5
- pygeodesy/elliptic.py +6 -6
- pygeodesy/epsg.py +1 -1
- pygeodesy/errors.py +1 -1
- pygeodesy/etm.py +5 -5
- pygeodesy/fmath.py +18 -17
- pygeodesy/formy.py +409 -555
- pygeodesy/frechet.py +29 -86
- pygeodesy/fstats.py +1 -1
- pygeodesy/fsums.py +32 -33
- pygeodesy/gars.py +1 -1
- pygeodesy/geodesici.py +7 -7
- pygeodesy/geodesicw.py +1 -1
- pygeodesy/geodesicx/_C4_24.py +2 -2
- pygeodesy/geodesicx/_C4_27.py +2 -2
- pygeodesy/geodesicx/_C4_30.py +2 -2
- pygeodesy/geodesicx/__init__.py +2 -2
- pygeodesy/geodesicx/__main__.py +4 -5
- pygeodesy/geodesicx/gx.py +6 -5
- pygeodesy/geodesicx/gxarea.py +2 -2
- pygeodesy/geodesicx/gxbases.py +2 -2
- pygeodesy/geodesicx/gxline.py +16 -12
- pygeodesy/geodsolve.py +1 -1
- pygeodesy/geohash.py +1 -1
- pygeodesy/geoids.py +277 -203
- pygeodesy/hausdorff.py +23 -81
- pygeodesy/heights.py +115 -150
- pygeodesy/internals.py +1 -1
- pygeodesy/interns.py +2 -3
- pygeodesy/iters.py +1 -1
- pygeodesy/karney.py +3 -3
- pygeodesy/ktm.py +16 -15
- pygeodesy/latlonBase.py +323 -409
- pygeodesy/lazily.py +53 -44
- pygeodesy/lcc.py +1 -1
- pygeodesy/ltp.py +46 -50
- pygeodesy/ltpTuples.py +147 -130
- pygeodesy/mgrs.py +1 -1
- pygeodesy/named.py +149 -3
- pygeodesy/namedTuples.py +58 -7
- pygeodesy/nvectorBase.py +122 -105
- pygeodesy/osgr.py +1 -1
- pygeodesy/points.py +1 -1
- pygeodesy/props.py +1 -1
- pygeodesy/resections.py +18 -17
- pygeodesy/rhumb/__init__.py +1 -1
- pygeodesy/rhumb/aux_.py +2 -2
- pygeodesy/rhumb/bases.py +2 -2
- pygeodesy/rhumb/ekx.py +4 -4
- pygeodesy/rhumb/solve.py +1 -1
- pygeodesy/simplify.py +289 -401
- pygeodesy/solveBase.py +1 -1
- pygeodesy/sphericalBase.py +1 -1
- pygeodesy/sphericalNvector.py +5 -5
- pygeodesy/sphericalTrigonometry.py +7 -6
- pygeodesy/streprs.py +10 -5
- pygeodesy/trf.py +1 -1
- pygeodesy/triaxials.py +23 -16
- pygeodesy/units.py +16 -16
- pygeodesy/unitsBase.py +1 -1
- pygeodesy/ups.py +4 -4
- pygeodesy/utily.py +341 -211
- pygeodesy/utm.py +5 -5
- pygeodesy/utmups.py +1 -1
- pygeodesy/utmupsBase.py +1 -1
- pygeodesy/vector2d.py +5 -5
- pygeodesy/vector3d.py +14 -3
- pygeodesy/vector3dBase.py +5 -5
- pygeodesy/webmercator.py +1 -1
- pygeodesy/wgrs.py +1 -1
- PyGeodesy-24.11.11.dist-info/RECORD +0 -118
- {PyGeodesy-24.11.11.dist-info → PyGeodesy-25.1.5.dist-info}/top_level.txt +0 -0
pygeodesy/geodesicx/gxline.py
CHANGED
|
@@ -49,14 +49,13 @@ from pygeodesy.lazily import _ALL_DOCS, _ALL_MODS as _MODS
|
|
|
49
49
|
from pygeodesy.karney import _around, _atan2d, Caps, GDict, _fix90, \
|
|
50
50
|
_K_2_0, _llz2gl, _norm2, _norm180, \
|
|
51
51
|
_sincos2, _sincos2d
|
|
52
|
-
from pygeodesy.
|
|
53
|
-
|
|
54
|
-
from pygeodesy.utily import atan2d as _atan2d_reverse, sincos2
|
|
52
|
+
from pygeodesy.props import Property_RO, property_ROver, _update_all
|
|
53
|
+
from pygeodesy.utily import atan2, atan2d as _atan2d_reverse, sincos2
|
|
55
54
|
|
|
56
|
-
from math import
|
|
55
|
+
from math import cos, degrees, fabs, floor, radians, sin
|
|
57
56
|
|
|
58
57
|
__all__ = ()
|
|
59
|
-
__version__ = '24.
|
|
58
|
+
__version__ = '24.11.24'
|
|
60
59
|
|
|
61
60
|
_glXs = [] # instances of C{[_]GeodesicLineExact} to be updated
|
|
62
61
|
|
|
@@ -377,11 +376,11 @@ class _GeodesicLineExact(_GeodesicBase):
|
|
|
377
376
|
lam12 = salp0 * self._H0e2_f1 * fsum1f_(eF.deltaH(ssig2, csig2, dn2),
|
|
378
377
|
-self._H1, sig12)
|
|
379
378
|
if (outmask & Cs.LONG_UNROLL):
|
|
380
|
-
|
|
379
|
+
t = _copysign_1_0(salp0) # east-going?
|
|
381
380
|
tchi1 = t * schi1
|
|
382
381
|
tchi2 = t * schi2
|
|
383
|
-
chi12 = t * fsum1f_(
|
|
384
|
-
|
|
382
|
+
chi12 = t * fsum1f_(atan2(ssig1, csig1), -atan2(ssig2, csig2),
|
|
383
|
+
atan2(tchi2, cchi2), -atan2(tchi1, cchi1), sig12)
|
|
385
384
|
lon2 = self.lon1 + degrees(chi12 - lam12)
|
|
386
385
|
else:
|
|
387
386
|
chi12 = atan2(*_sincos12(schi1, cchi1, schi2, cchi2))
|
|
@@ -634,6 +633,13 @@ class _GeodesicLineExact(_GeodesicBase):
|
|
|
634
633
|
# unnecessary because Einv inverts E
|
|
635
634
|
# return -self._eF.deltaEinv(stau1, ctau1)
|
|
636
635
|
|
|
636
|
+
@property_ROver
|
|
637
|
+
def _toProps7(self):
|
|
638
|
+
'''(INTERNAL) 7-Tuple of C{toStr} properties.
|
|
639
|
+
'''
|
|
640
|
+
C = _GeodesicLineExact
|
|
641
|
+
return C.lat1, C.lon1, C.azi1, C.a13, C.s13, C.caps, C.geodesic
|
|
642
|
+
|
|
637
643
|
def toStr(self, **prec_sep_name): # PYCHOK signature
|
|
638
644
|
'''Return this C{GeodesicLineExact} as string.
|
|
639
645
|
|
|
@@ -642,16 +648,14 @@ class _GeodesicLineExact(_GeodesicBase):
|
|
|
642
648
|
|
|
643
649
|
@return: C{GeodesicLineExact} (C{str}).
|
|
644
650
|
'''
|
|
645
|
-
|
|
646
|
-
t = C.lat1, C.lon1, C.azi1, C.a13, C.s13, C.caps, C.geodesic
|
|
647
|
-
return self._instr(props=t, **prec_sep_name)
|
|
651
|
+
return self._instr(props=self._toProps7, **prec_sep_name)
|
|
648
652
|
|
|
649
653
|
|
|
650
654
|
__all__ += _ALL_DOCS(_GeodesicLineExact)
|
|
651
655
|
|
|
652
656
|
# **) MIT License
|
|
653
657
|
#
|
|
654
|
-
# Copyright (C) 2016-
|
|
658
|
+
# Copyright (C) 2016-2025 -- mrJean1 at Gmail -- All Rights Reserved.
|
|
655
659
|
#
|
|
656
660
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
657
661
|
# copy of this software and associated documentation files (the "Software"),
|
pygeodesy/geodsolve.py
CHANGED
|
@@ -504,7 +504,7 @@ if __name__ == '__main__':
|
|
|
504
504
|
|
|
505
505
|
# **) MIT License
|
|
506
506
|
#
|
|
507
|
-
# Copyright (C) 2016-
|
|
507
|
+
# Copyright (C) 2016-2025 -- mrJean1 at Gmail -- All Rights Reserved.
|
|
508
508
|
#
|
|
509
509
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
510
510
|
# copy of this software and associated documentation files (the "Software"),
|
pygeodesy/geohash.py
CHANGED
|
@@ -1099,7 +1099,7 @@ if __name__ == '__main__':
|
|
|
1099
1099
|
|
|
1100
1100
|
# **) MIT License
|
|
1101
1101
|
#
|
|
1102
|
-
# Copyright (C) 2016-
|
|
1102
|
+
# Copyright (C) 2016-2025 -- mrJean1 at Gmail -- All Rights Reserved.
|
|
1103
1103
|
#
|
|
1104
1104
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
1105
1105
|
# copy of this software and associated documentation files (the "Software"),
|