pygeodesy 24.7.24__py2.py3-none-any.whl → 24.8.24__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.7.24.dist-info → PyGeodesy-24.8.24.dist-info}/METADATA +20 -19
- {PyGeodesy-24.7.24.dist-info → PyGeodesy-24.8.24.dist-info}/RECORD +57 -57
- {PyGeodesy-24.7.24.dist-info → PyGeodesy-24.8.24.dist-info}/WHEEL +1 -1
- pygeodesy/__init__.py +26 -27
- pygeodesy/auxilats/auxAngle.py +2 -2
- pygeodesy/auxilats/auxDST.py +3 -3
- pygeodesy/azimuthal.py +4 -4
- pygeodesy/basics.py +3 -3
- pygeodesy/cartesianBase.py +6 -6
- pygeodesy/constants.py +11 -11
- pygeodesy/css.py +5 -5
- pygeodesy/ellipsoidalBase.py +18 -15
- pygeodesy/ellipsoidalExact.py +2 -2
- pygeodesy/ellipsoidalGeodSolve.py +2 -2
- pygeodesy/ellipsoidalKarney.py +2 -2
- pygeodesy/ellipsoidalNvector.py +2 -2
- pygeodesy/ellipsoidalVincenty.py +7 -6
- pygeodesy/ellipsoids.py +3 -3
- pygeodesy/epsg.py +3 -3
- pygeodesy/fmath.py +2 -1
- pygeodesy/formy.py +2 -2
- pygeodesy/fsums.py +4 -4
- pygeodesy/gars.py +66 -58
- pygeodesy/geodesici.py +4 -10
- pygeodesy/geodesicx/gx.py +3 -3
- pygeodesy/geodesicx/gxarea.py +3 -3
- pygeodesy/geodsolve.py +3 -3
- pygeodesy/geohash.py +491 -267
- pygeodesy/geoids.py +298 -316
- pygeodesy/heights.py +176 -194
- pygeodesy/internals.py +39 -6
- pygeodesy/interns.py +2 -3
- pygeodesy/karney.py +2 -2
- pygeodesy/latlonBase.py +14 -8
- pygeodesy/lazily.py +22 -21
- pygeodesy/ltp.py +6 -7
- pygeodesy/ltpTuples.py +12 -6
- pygeodesy/named.py +5 -4
- pygeodesy/namedTuples.py +14 -1
- pygeodesy/osgr.py +7 -7
- pygeodesy/points.py +2 -2
- pygeodesy/resections.py +7 -7
- pygeodesy/rhumb/solve.py +3 -3
- pygeodesy/simplify.py +10 -10
- pygeodesy/sphericalBase.py +3 -3
- pygeodesy/sphericalTrigonometry.py +2 -2
- pygeodesy/streprs.py +3 -3
- pygeodesy/triaxials.py +210 -204
- pygeodesy/units.py +36 -19
- pygeodesy/unitsBase.py +4 -4
- pygeodesy/utmupsBase.py +3 -3
- pygeodesy/vector2d.py +158 -51
- pygeodesy/vector3d.py +13 -52
- pygeodesy/vector3dBase.py +81 -63
- pygeodesy/webmercator.py +3 -3
- pygeodesy/wgrs.py +109 -101
- {PyGeodesy-24.7.24.dist-info → PyGeodesy-24.8.24.dist-info}/top_level.txt +0 -0
pygeodesy/simplify.py
CHANGED
|
@@ -86,7 +86,7 @@ from pygeodesy.units import _ALL_LAZY, _1mm, Radius_
|
|
|
86
86
|
from math import degrees, fabs, radians
|
|
87
87
|
|
|
88
88
|
__all__ = _ALL_LAZY.simplify
|
|
89
|
-
__version__ = '24.
|
|
89
|
+
__version__ = '24.08.13'
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
# try:
|
|
@@ -383,7 +383,7 @@ def simplify1(points, distance=_1mm, radius=R_M, indices=False, **options):
|
|
|
383
383
|
@arg points: Path points (C{LatLon}[]).
|
|
384
384
|
@kwarg distance: Tolerance (C{meter}, same units as B{C{radius}}).
|
|
385
385
|
@kwarg radius: Mean earth radius (C{meter}).
|
|
386
|
-
@kwarg indices: If C{True} return the simplified point indices
|
|
386
|
+
@kwarg indices: If C{True}, return the simplified point indices
|
|
387
387
|
instead of the simplified points (C{bool}).
|
|
388
388
|
@kwarg options: Optional keyword arguments passed thru to
|
|
389
389
|
function L{pygeodesy.equirectangular4}.
|
|
@@ -426,9 +426,9 @@ def simplifyRDP(points, distance=_1mm, radius=R_M, shortest=False,
|
|
|
426
426
|
@arg points: Path points (C{LatLon}[]).
|
|
427
427
|
@kwarg distance: Tolerance (C{meter}, same units as B{C{radius}}).
|
|
428
428
|
@kwarg radius: Mean earth radius (C{meter}).
|
|
429
|
-
@kwarg shortest: If C{True} use the I{shortest} otherwise the
|
|
429
|
+
@kwarg shortest: If C{True}, use the I{shortest} otherwise the
|
|
430
430
|
I{perpendicular} distance (C{bool}).
|
|
431
|
-
@kwarg indices: If C{True} return the simplified point indices
|
|
431
|
+
@kwarg indices: If C{True}, return the simplified point indices
|
|
432
432
|
instead of the simplified points (C{bool}).
|
|
433
433
|
@kwarg options: Optional keyword arguments passed thru to
|
|
434
434
|
function L{pygeodesy.equirectangular4}.
|
|
@@ -460,9 +460,9 @@ def simplifyRDPm(points, distance=_1mm, radius=R_M, shortest=False,
|
|
|
460
460
|
@arg points: Path points (C{LatLon}[]).
|
|
461
461
|
@kwarg distance: Tolerance (C{meter}, same units as B{C{radius}}).
|
|
462
462
|
@kwarg radius: Mean earth radius (C{meter}).
|
|
463
|
-
@kwarg shortest: If C{True} use the I{shortest} otherwise the
|
|
463
|
+
@kwarg shortest: If C{True}, use the I{shortest} otherwise the
|
|
464
464
|
I{perpendicular} distance (C{bool}).
|
|
465
|
-
@kwarg indices: If C{True} return the simplified point indices
|
|
465
|
+
@kwarg indices: If C{True}, return the simplified point indices
|
|
466
466
|
instead of the simplified points (C{bool}).
|
|
467
467
|
@kwarg options: Optional keyword arguments passed thru to
|
|
468
468
|
function L{pygeodesy.equirectangular4}.
|
|
@@ -491,9 +491,9 @@ def simplifyRW(points, pipe=_1mm, radius=R_M, shortest=False,
|
|
|
491
491
|
@kwarg pipe: Pipe radius, half-width (C{meter}, same units as
|
|
492
492
|
B{C{radius}}).
|
|
493
493
|
@kwarg radius: Mean earth radius (C{meter}).
|
|
494
|
-
@kwarg shortest: If C{True} use the I{shortest} otherwise the
|
|
494
|
+
@kwarg shortest: If C{True}, use the I{shortest} otherwise the
|
|
495
495
|
I{perpendicular} distance (C{bool}).
|
|
496
|
-
@kwarg indices: If C{True} return the simplified point indices
|
|
496
|
+
@kwarg indices: If C{True}, return the simplified point indices
|
|
497
497
|
instead of the simplified points (C{bool}).
|
|
498
498
|
@kwarg options: Optional keyword arguments passed thru to
|
|
499
499
|
function L{pygeodesy.equirectangular4}.
|
|
@@ -544,7 +544,7 @@ def simplifyVW(points, area=_1mm, radius=R_M, attr=None,
|
|
|
544
544
|
@kwarg radius: Mean earth radius (C{meter}).
|
|
545
545
|
@kwarg attr: Optional, points attribute to save the area value
|
|
546
546
|
(C{str}).
|
|
547
|
-
@kwarg indices: If C{True} return the simplified point indices
|
|
547
|
+
@kwarg indices: If C{True}, return the simplified point indices
|
|
548
548
|
instead of the simplified points (C{bool}).
|
|
549
549
|
@kwarg options: Optional keyword arguments passed thru to
|
|
550
550
|
function L{pygeodesy.equirectangular4}.
|
|
@@ -600,7 +600,7 @@ def simplifyVWm(points, area=_1mm, radius=R_M, attr=None,
|
|
|
600
600
|
@kwarg radius: Mean earth radius (C{meter}).
|
|
601
601
|
@kwarg attr: Optional, points attribute to save the area value
|
|
602
602
|
(C{str}).
|
|
603
|
-
@kwarg indices: If C{True} return the simplified point indices
|
|
603
|
+
@kwarg indices: If C{True}, return the simplified point indices
|
|
604
604
|
instead of the simplified points (C{bool}).
|
|
605
605
|
@kwarg options: Optional keyword arguments passed thru to
|
|
606
606
|
function L{pygeodesy.equirectangular4}.
|
pygeodesy/sphericalBase.py
CHANGED
|
@@ -40,7 +40,7 @@ from pygeodesy.utily import acos1, asin1, atan2b, atan2d, degrees90, \
|
|
|
40
40
|
from math import cos, fabs, log, sin, sqrt
|
|
41
41
|
|
|
42
42
|
__all__ = _ALL_LAZY.sphericalBase
|
|
43
|
-
__version__ = '24.
|
|
43
|
+
__version__ = '24.08,13'
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
class CartesianSphericalBase(CartesianBase):
|
|
@@ -210,7 +210,7 @@ class LatLonSphericalBase(LatLonBase):
|
|
|
210
210
|
B{C{point}} I{of} the (great circle) line (compass
|
|
211
211
|
C{degrees}).
|
|
212
212
|
@kwarg radius: Mean earth radius (C{meter}, conventionally).
|
|
213
|
-
@kwarg exact: If C{True} use the I{exact} rhumb methods for azimuth,
|
|
213
|
+
@kwarg exact: If C{True}, use the I{exact} rhumb methods for azimuth,
|
|
214
214
|
destination and distance, if C{False} use the basic
|
|
215
215
|
rhumb methods (C{bool}) or if C{None} use the I{great
|
|
216
216
|
circle} methods.
|
|
@@ -474,7 +474,7 @@ class LatLonSphericalBase(LatLonBase):
|
|
|
474
474
|
@arg other: An other point (this I{on} C{LatLon}) or the azimuth I{of}
|
|
475
475
|
(compass C{degrees}) the rhumb line.
|
|
476
476
|
@kwarg radius: Mean earth radius (C{meter}, conventionally).
|
|
477
|
-
@kwarg exact: If C{True} use the I{exact} rhumb methods for azimuth,
|
|
477
|
+
@kwarg exact: If C{True}, use the I{exact} rhumb methods for azimuth,
|
|
478
478
|
destination and distance, if C{False} use the basic
|
|
479
479
|
rhumb methods (C{bool}) or if C{None} use the I{great
|
|
480
480
|
circle} methods.
|
|
@@ -54,7 +54,7 @@ from pygeodesy.vector3d import sumOf, Vector3d
|
|
|
54
54
|
from math import asin, atan2, cos, degrees, fabs, radians, sin
|
|
55
55
|
|
|
56
56
|
__all__ = _ALL_LAZY.sphericalTrigonometry
|
|
57
|
-
__version__ = '24.
|
|
57
|
+
__version__ = '24.08.13'
|
|
58
58
|
|
|
59
59
|
_PI_EPS4 = PI - EPS4
|
|
60
60
|
if _PI_EPS4 >= PI:
|
|
@@ -706,7 +706,7 @@ class LatLon(LatLonSphericalBase):
|
|
|
706
706
|
@arg distance2: Distance to point2 (C{meter}, same units as B{C{radius}}).
|
|
707
707
|
@arg point3: Third center point (C{LatLon}).
|
|
708
708
|
@arg distance3: Distance to point3 (C{meter}, same units as B{C{radius}}).
|
|
709
|
-
@kwarg area: If C{True} compute the area overlap, otherwise the perimeter
|
|
709
|
+
@kwarg area: If C{True}, compute the area overlap, otherwise the perimeter
|
|
710
710
|
intersection of the circles (C{bool}).
|
|
711
711
|
@kwarg eps: The required I{minimal overlap} for C{B{area}=True} or the
|
|
712
712
|
I{intersection margin} if C{B{area}=False} (C{meter}, same
|
pygeodesy/streprs.py
CHANGED
|
@@ -22,7 +22,7 @@ from pygeodesy.lazily import _ALL_LAZY, _ALL_MODS as _MODS, _dunder_nameof
|
|
|
22
22
|
from math import fabs, log10 as _log10
|
|
23
23
|
|
|
24
24
|
__all__ = _ALL_LAZY.streprs
|
|
25
|
-
__version__ = '24.
|
|
25
|
+
__version__ = '24.08.13'
|
|
26
26
|
|
|
27
27
|
_at_ = 'at' # PYCHOK used!
|
|
28
28
|
_EN_PREC = 6 # max MGRS/OSGR precision, 1 micrometer
|
|
@@ -310,8 +310,8 @@ def fstr(floats, prec=6, fmt=Fmt.F, ints=False, sep=_COMMASPACE_, strepr=None, f
|
|
|
310
310
|
@kwarg strepr: Optional callable to format non-C{floats} (typically
|
|
311
311
|
C{repr}, C{str}) or C{None} to raise a TypeError and used
|
|
312
312
|
only if C{B{force} is not True}.
|
|
313
|
-
@kwarg force: If C{True} format all B{C{floats}} using B{C{fmt}},
|
|
314
|
-
otherwise use B{C{strepr}} for non-C{floats}.
|
|
313
|
+
@kwarg force: If C{True}, format all B{C{floats}} using B{C{fmt}},
|
|
314
|
+
otherwise use B{C{strepr}} for non-C{floats} (C{bool}).
|
|
315
315
|
|
|
316
316
|
@return: The C{sep.join(strs(floats, ...)} joined (C{str}) or single
|
|
317
317
|
C{strs((floats,), ...)} (C{str}) if B{C{floats}} is C{scalar}.
|