Skip to content

GeodeticPosition

Part of Locations in the Python API reference.

Related guidance: concepts/locations, how-to/observe-location, how-to/pli-entities.

Runnable examples: publish_location.py, get_ecn_location.py.

from picogrid_ecn_client import GeodeticPosition

A WGS-84 position: degrees of latitude and longitude, metres of height.

GeodeticPosition(*, latitude: float, longitude: float, altitude: float)

Source · models/location.py

NameTypeRequiredDefaultConstraintsDescription
latitudefloatyesge=-90, le=90, finiteFinite WGS-84 latitude in decimal degrees, from -90 through 90.
longitudefloatyesge=-180, le=180, finiteFinite WGS-84 longitude in decimal degrees, from -180 through 180.
altitudefloatyesfiniteFinite height above the WGS-84 ellipsoid in metres.

Convert to EPSG:4978 Cartesian metres.

def to_ecef() -> ECEFPosition

Source · models/location.py

Rotate a north/east/down velocity at this position onto EPSG:4978 axes.

def to_ecef_velocity(velocity: Velocity) -> ECEFVelocity
NameTypeDefaultDescription
velocityVelocityNorth/east/down velocity in metres per second observed at this position.
TypeDescription
ECEFVelocityThe same velocity expressed on EPSG:4978 axes.

Source · models/location.py

Rotate a velocity on EPSG:4978 axes onto north/east/down at this position.

def to_ned_velocity(velocity: ECEFVelocity) -> Velocity
NameTypeDefaultDescription
velocityECEFVelocityVelocity on EPSG:4978 axes in metres per second.
TypeDescription
VelocityThe same velocity expressed as north/east/down at this position.

Source · models/location.py

Version 0.2.0 · branch main