Home | Trees | Indices | Help |
|
---|
|
Miscellaneous classes and functions.
Version: 23.12.31
Submodules | |
|
Classes | |
ADict A dict with both key and attribute access to
the dict items.
|
|
Band Named str representing a UTM/UPS band letter,
unchecked.
|
|
Bearing Named float representing a bearing in compass
degrees from (true) North.
|
|
Bearing2Tuple 2-Tuple (initial, final) bearings, both in compass
degrees360 .
|
|
Bearing_ Named float representing a bearing in
radians from compass degrees from (true)
North.
|
|
Bool Named bool , a sub-class of int like
Python's bool .
|
|
Bounds2Tuple 2-Tuple (latlonSW, latlonNE) with the bounds'
lower-left and upper-right corner as LatLon instance.
|
|
Bounds4Tuple 4-Tuple (latS, lonW, latN, lonE) with the bounds'
lower-left (LatS, LowW) and upper-right (latN,
lonE) corner lat- and longitudes.
|
|
ClipError Clip box or clip region issue. |
|
CrossError Error raised for zero or near-zero vectorial cross products, occurring for coincident or colinear points, lines or bearings. |
|
Degrees Named float representing a coordinate in
degrees , optionally clipped.
|
|
Degrees2 Named float representing a distance in degrees
squared .
|
|
Degrees_ Named Degrees representing a coordinate in
degrees with optional limits low and
high .
|
|
Destination2Tuple 2-Tuple (destination, final) , destination
in LatLon and final bearing in compass
degrees360 .
|
|
Destination3Tuple 3-Tuple (lat, lon, final) , destination
lat , lon in degrees90
respectively degrees180 and final bearing
in compass degrees360 .
|
|
Distance Named float representing a distance, conventionally in
meter .
|
|
Distance2Tuple 2-Tuple (distance, initial) , distance in
meter and initial bearing in compass
degrees360 .
|
|
Distance3Tuple 3-Tuple (distance, initial, final) ,
distance in meter and
initial and final bearing, both in
compass degrees360 .
|
|
Distance4Tuple 4-Tuple (distance2, delta_lat, delta_lon, unroll_lon2)
with the distance in degrees squared , the latitudinal
delta_lat = lat2 - lat1 , the wrapped,
unrolled and adjusted longitudinal delta_lon = lon2 -
lon1 and unroll_lon2 , the unrolled or
original lon2 .
|
|
Distance_ Named float with optional low and
high limits representing a distance, conventionally in
meter .
|
|
EasNor2Tuple 2-Tuple (easting, northing) , both in
meter , conventionally.
|
|
EasNor3Tuple 3-Tuple (easting, northing, height) , all in
meter , conventionally.
|
|
Easting Named float representing an easting, conventionally in
meter .
|
|
Epoch Named epoch with optional low and
high limits representing a fractional calendar year.
|
|
FIx A named Fractional Index, an int or
float index into a list or
tuple of points , typically.
|
|
Feet Named float representing a distance or length in
feet .
|
|
Float_ Named float with optional low and
high limit.
|
|
Forward4Tuple 4-Tuple (easting, northing, gamma, scale) in
meter , meter , meridian convergence
gamma at point in degrees and the
scale of projection at point scalar .
|
|
GeodesicError Error raised for lack of convergence or other issues in pygeodesy3.geodesic.exact, pygeodesy3.geodesic.wrap or pygeodesy3.Base.karney. |
|
Height Named float representing a height, conventionally in
meter .
|
|
HeightX Like Height, used to distinguish the interpolated height from an original Height at a clip intersection. |
|
Height_ Named float with optional low and
high limits representing a height, conventionally in
meter .
|
|
Int_ Named int with optional limits low and
high .
|
|
Intersection3Tuple 3-Tuple (point, outside1, outside2) of an intersection
point and outside1 , the position of the
point , -1 if before the start,
+1 if after the end and 0 if on or
between the start and end point of the first line.
|
|
IntersectionError Error raised for line or circle intersection issues. |
|
Lam Named float representing a longitude in
radians .
|
|
Lam_ Named float representing a longitude in
radians converted from degrees .
|
|
Lat Named float representing a latitude in
degrees .
|
|
LatLon2PsxyIter Iterate and convert for points with optional loop-back
and copies.
|
|
LatLon2Tuple 2-Tuple (lat, lon) in degrees90 and
degrees180 .
|
|
LatLon3Tuple 3-Tuple (lat, lon, height) in degrees90 ,
degrees180 and meter , conventionally.
|
|
LatLon4Tuple 4-Tuple (lat, lon, height, datum) in
degrees90 , degrees180 , meter
and Datum.
|
|
LatLonDatum3Tuple 3-Tuple (lat, lon, datum) in degrees90 ,
degrees180 and Datum.
|
|
LatLonDatum5Tuple 5-Tuple (lat, lon, datum, gamma, scale) in
degrees90 , degrees180 , Datum, degrees and
float .
|
|
LatLonPrec3Tuple 3-Tuple (lat, lon, precision) in degrees ,
degrees and int .
|
|
LatLonPrec5Tuple 5-Tuple (lat, lon, precision, height, radius) in
degrees , degrees , int and
height or radius in meter
(or None if missing).
|
|
Lat_ Named float representing a latitude in
degrees within limits low and
high .
|
|
LenError Error raised for mis-matching len values.
|
|
LimitError Error raised for lat- or longitudinal values or deltas exceeding the given limit in functions pygeodesy3.equirectangular, pygeodesy3.equirectangular_,
nearestOn* and simplify* or methods with
limit or options keyword arguments.
|
|
Lon Named float representing a longitude in
degrees .
|
|
Lon_ Named float representing a longitude in
degrees within limits low and
high .
|
|
MGRSError Military Grid Reference System (MGRS) parse or other Mgrs issue. |
|
Meter Named float representing a distance or length in
meter .
|
|
Meter2 Named float representing an area in meter
squared .
|
|
Meter3 Named float representing a volume in meter
cubed .
|
|
Meter_ Named float representing a distance or length in
meter .
|
|
NearestOn2Tuple 2-Tuple (closest, fraction) of the
closest point on and fraction along a
line (segment) between two points.
|
|
NearestOn3Tuple 3-Tuple (closest, distance, angle) of the
closest point on the polygon, either a
LatLon instance or a LatLon3Tuple(lat, lon, height) and
the distance and angle to the
closest point are in meter respectively
compass degrees360 .
|
|
NearestOn6Tuple 6-Tuple (closest, distance, fi, j, start, end) with
the closest point, the distance in
meter , conventionally and the start and
end point of the path or polygon edge.
|
|
NearestOn8Tuple 8-Tuple (closest, distance, fi, j, start, end, initial,
final) , like NearestOn6Tuple but extended with the
initial and the final bearing at the
reference respectively the closest point, both in
compass degrees .
|
|
Northing Named float representing a northing, conventionally in
meter .
|
|
NumPyError Error raised for NumPy issues.
|
|
Number_ Named int representing a non-negative number.
|
|
ParseError Error parsing degrees, radians or several other formats. |
|
Phi Named float representing a latitude in
radians .
|
|
PhiLam2Tuple 2-Tuple (phi, lam) with latitude phi in
radians[PI_2] and longitude lam in
radians[PI] .
|
|
PhiLam3Tuple 3-Tuple (phi, lam, height) with latitude
phi in radians[PI_2] , longitude
lam in radians[PI] and
height in meter .
|
|
PhiLam4Tuple 4-Tuple (phi, lam, height, datum) with latitude
phi in radians[PI_2] , longitude
lam in radians[PI] , height
in meter and Datum.
|
|
Phi_ Named float representing a latitude in
radians converted from degrees .
|
|
Point3Tuple 3-Tuple (x, y, ll) in meter ,
meter and LatLon .
|
|
Points2Tuple 2-Tuple (number, points) with the number
of points and -possible reduced- list or
tuple of points .
|
|
PointsError Error for an insufficient number of points. |
|
PointsIter Iterator for points with optional loop-back and
copies.
|
|
Precision_ Named int with optional low and
high limits representing a precision.
|
|
Property | |
Property_RO | |
Radians Named float representing a coordinate in
radians , optionally clipped.
|
|
Radians2 Named float representing a distance in radians
squared .
|
|
Radians_ Named float representing a coordinate in
radians with optional limits low and
high .
|
|
Radius_ Named float with optional low and
high limits representing a radius, conventionally in
meter .
|
|
RangeError Error raised for lat- or longitude values outside the clip , clipLat ,
clipLon in functions pygeodesy3.parse3llh, pygeodesy3.parseDMS, pygeodesy3.parseDMS2 and pygeodesy3.parseRad or the given
limit in functions pygeodesy3.clipDegrees and pygeodesy3.clipRadians.
|
|
Reverse4Tuple 4-Tuple (lat, lon, gamma, scale) with
lat - and lon gitude in
degrees , meridian convergence gamma at
point in degrees and the scale of
projection at point scalar .
|
|
RhumbError Error raised for a pygeodesy3.rhumb.aux_, pygeodesy3.rhumb.solve or pygeodesy3.rhumb.ekx issue. |
|
Scalar Named float representing a factor, fraction, scale,
etc.
|
|
Scalar_ Named float with optional low and
high limits representing a factor, fraction, scale,
etc.
|
|
SciPyError Error raised for SciPy issues.
|
|
SciPyWarning Error thrown for SciPy warnings.
|
|
TRFError Terrestrial Reference Frame (TRF), Epoch, RefFrame or RefFrame conversion issue. |
|
Triangle7Tuple 7-Tuple (A, a, B, b, C, c, area) with interior angles
A , B and C in
degrees , spherical sides a ,
b and c in meter
conventionally and the area of a (spherical) triangle
in square meter conventionally.
|
|
Triangle8Tuple 8-Tuple (A, a, B, b, C, c, D, E) with interior angles
A , B and C , spherical sides
a , b and c , the spherical
deficit D and the spherical excess
E of a (spherical) triangle, all in
radians .
|
|
TriangleError Error raised for triangle, inter- or resection issues. |
|
Trilaterate5Tuple 5-Tuple (min, minPoint, max, maxPoint, n) with
min and max in meter , the
corresponding trilaterated minPoint and
maxPoint as LatLon and the number
n .
|
|
UnitError Default exception for units issues for a value exceeding the low or high limit.
|
|
UtmUps2Tuple 2-Tuple (zone, hemipole) as int and
str , where zone is 1..60 for
UTM or 0 for UPS and hemipole
'N'|'S' is the UTM hemisphere or the UPS pole.
|
|
UtmUps5Tuple 5-Tuple (zone, hemipole, easting, northing, band) as
int , str , meter ,
meter and band letter, where
zone is 1..60 for UTM or 0
for UPS, hemipole 'N'|'S' is the UTM
hemisphere or the UPS pole and band is
"" or the longitudinal UTM band
'C'|'D'|..|'W'|'X' or polar UPS band
'A'|'B'|'Y'|'Z' .
|
|
UtmUps8Tuple 8-Tuple (zone, hemipole, easting, northing, band, datum,
gamma, scale) as int , str ,
meter , meter , band letter,
Datum , degrees and scalar ,
where zone is 1..60 for UTM or
0 for UPS, hemipole 'N'|'S'
is the UTM hemisphere or the UPS pole and band is
"" or the longitudinal UTM band
'C'|'D'|..|'W'|'X' or polar UPS band
'A'|'B'|'Y'|'Z' .
|
|
UtmUpsLatLon5Tuple 5-Tuple (zone, band, hemipole, lat, lon) as
int , str , str ,
degrees90 and degrees180 , where
zone is 1..60 for UTM or 0
for UPS, band is "" or the
longitudinal UTM band 'C'|'D'|..|'W'|'X' or
polar UPS band 'A'|'B'|'Y'|'Z' and
hemipole 'N'|'S' is the UTM hemisphere or
the UPS pole.
|
|
Vector2Tuple 2-Tuple (x, y) of (geocentric) components, each in
meter or the same units .
|
|
Vector3Tuple 3-Tuple (x, y, z) of (geocentric) components, all in
meter or the same units .
|
|
Vector4Tuple 4-Tuple (x, y, z, h) of (geocentric) components, all
in meter or the same units .
|
|
VectorError Vector3d, Cartesian* or
*Nvector issues.
|
|
Zone Named int representing a UTM/UPS zone number.
|
|
property_RO |
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Function Details |
Make a valid name of alphanumeric and OKd characters.
Note: Leading and trailing whitespace characters are removed, intermediate whitespace characters are coalesced and substituted. |
Get instance attributes as name=value strings, with
|
Convert bearing to a string (without compass point suffix).
See Also: Function pygeodesy3.toDMS. |
Get the name of the invoking callable.
|
Return the instance' class name optionally prefixed with the module name.
|
Get/set the default class naming for
|
Clip a lat- or longitude to the given range.
|
Clip a lat- or longitude to the given range.
|
Convert bearing to a string suffixed with compass point.
See Also: Function pygeodesy3.toDMS. |
Convert bearing to a compass point.
See Also: Dms.compassPoint and Compass rose. Example: >>> p = compassPoint(24, 1) # 'N' >>> p = compassPoint(24, 2) # 'NE' >>> p = compassPoint(24, 3) # 'NNE' >>> p = compassPoint(24) # 'NNE' >>> p = compassPoint(11, 4) # 'NbE' >>> p = compassPoint(30, 4) # 'NEbN' >>> p = compassPoint(11.249) # 'N' >>> p = compassPoint(11.25) # 'NNE' >>> p = compassPoint(-11.25) # 'N' >>> p = compassPoint(348.749) # 'NNW' |
Report or ignore vectorial cross product errors.
See Also:
Property |
Convert degrees to a string in degrees, minutes or seconds.
See Also: Function pygeodesy3.toDMS. |
Decorator for a DEPRECATED Property_RO.
|
Use inside __new__ or __init__ of a DEPRECATED class.
Note: NOT a decorator! |
Decorator for a DEPRECATED function.
|
Decorator for a DEPRECATED method.
|
Decorator for a DEPRECATED property_RO.
|
Return an MGRS/OSGR easting, northing string representations.
Note:
The |
Get an error's cause or the exception chaining setting.
Note:
To enable exception chaining for |
Convert one or more floats to string, optionally stripped of trailing zero decimals.
|
Strip trailing zero decimals from a
|
Return a string for the height value.
|
Return the string representation of an instantiation.
|
Check a (caught) exception.
|
Check for a
|
Check for a
|
Check for a
|
Iterate over Numpy2 wrappers or other sequences exceeding the threshold.
|
Get or set the iterNumpy2 threshold.
|
Convert latitude to a string, optionally suffixed with N or S.
See Also: Functions pygeodesy3.toDMS and pygeodesy3.lonDMS. |
Convert one or more
See Also:
Functions pygeodesy3.latDMS, pygeodesy3.latlonDMS_, pygeodesy3.lonDMS and pygeodesy3.toDMS and method
Note:
Keyword argument |
Convert one or more
See Also: Function pygeodesy3.latlonDMS. Note:
Keyword argument |
Get/set the throwing of LimitErrors.
|
Convert longitude to a string, optionally suffixed with E or W.
See Also: Functions pygeodesy3.toDMS and pygeodesy3.latDMS. |
Left- and right-strip parentheses, brackets, etc. from a string.
|
Return the class name optionally prefixed with the module name.
|
Get the name of an instance.
|
Normalize all degrees, minutes and seconds (DMS) symbols in a string to the default symbols S_DEG, S_MIN, S_SEC.
|
Raise a
|
Raise an
|
Convert items to name=value strings, with
|
Parse a string The lat- and longitude value must be separated by a separator character. If height is present it must follow, separated by another separator. The lat- and longitude values may be swapped, provided at least one ends with the proper compass point.
Note: See the Notes at function parseDMS. See Also: Functions pygeodesy3.parseDDDMMSS, pygeodesy3.parseDMS, pygeodesy3.parseDMS2 and pygeodesy3.toDMS. |
Parse a lat- or longitude represention forms as [D]DDMMSS in degrees.
Notes:
See Also: Functions pygeodesy3.parseDMS, pygeodesy3.parseDMS2 and pygeodesy3.parse3llh. |
Parse a lat- or longitude representation in This is very flexible on formats, allowing signed decimal degrees, degrees and minutes or degrees minutes and seconds optionally suffixed by a cardinal compass point. A variety of symbols, separators and suffixes are accepted, for example "3°37′09″W". Minutes and seconds may be omitted.
Note:
Unlike function parseDDDMMSS, type See Also: Functions pygeodesy3.parseDDDMMSS, pygeodesy3.parseDMS2, pygeodesy3.parse3llh and pygeodesy3.toDMS. |
Parse a lat- and a longitude representions
Note: See the Notes at function parseDMS. See Also: Functions pygeodesy3.parseDDDMMSS, pygeodesy3.parseDMS, pygeodesy3.parse3llh and pygeodesy3.toDMS. |
Parse a string representing angle in
|
Check a path or polygon represented by points.
|
Set the default precison for a given F_ form.
|
Decorator for a standard
Example: >>> @property_doc_("documentation text.") >>> def name(self): >>> ... >>> >>> @name.setter >>> def name(self, value): >>> ... |
Get/set the throwing of RangeErrors.
|
Convert objects to
|
Convert objects to
|
Convert signed
Notes:
See Also: Function pygeodesy3.degDMS |
Return the string representation of an invokation.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Mar 4 16:45:44 2024 | http://epydoc.sourceforge.net |