pyinterp.geodetic.Point¶
- class pyinterp.geodetic.Point(lon: float = 0, lat: float = 0)[source]¶
Bases:
Point
Handle a point in an equatorial spherical coordinate system in degrees.
- Parameters:
lon – Longitude in degrees of the point.
lat – Latitude in degrees of the point.
Attributes
Inherited Methods
azimuth
(self, other[, wgs])Calculate the azimuth between the two points.
distance
(self, other[, strategy, wgs])Calculate the distance between the two points.
read_wkt
(wkt)Parses OGC Well-Known Text (WKT) into a Point.
to_geojson
(self)Return the point as a GeoJSON type.
wkt
(self)Gets the OGC Well-Known Text (WKT) representation of this instance.