- Overview
- GeodeticPosition
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 GeodeticPositionA WGS-84 position: degrees of latitude and longitude, metres of height.
GeodeticPosition(*, latitude: float, longitude: float, altitude: float)Fields
Section titled “Fields”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
| latitude | float | yes | — | ge=-90, le=90, finite | Finite WGS-84 latitude in decimal degrees, from -90 through 90. |
| longitude | float | yes | — | ge=-180, le=180, finite | Finite WGS-84 longitude in decimal degrees, from -180 through 180. |
| altitude | float | yes | — | finite | Finite height above the WGS-84 ellipsoid in metres. |
to_ecef
Section titled “to_ecef”Convert to EPSG:4978 Cartesian metres.
def to_ecef() -> ECEFPositionto_ecef_velocity
Section titled “to_ecef_velocity”Rotate a north/east/down velocity at this position onto EPSG:4978 axes.
def to_ecef_velocity(velocity: Velocity) -> ECEFVelocityParameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
| velocity | Velocity | — | North/east/down velocity in metres per second observed at this position. |
Returns
Section titled “Returns”| Type | Description |
|---|---|
| ECEFVelocity | The same velocity expressed on EPSG:4978 axes. |
to_ned_velocity
Section titled “to_ned_velocity”Rotate a velocity on EPSG:4978 axes onto north/east/down at this position.
def to_ned_velocity(velocity: ECEFVelocity) -> VelocityParameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
| velocity | ECEFVelocity | — | Velocity on EPSG:4978 axes in metres per second. |
Returns
Section titled “Returns”| Type | Description |
|---|---|
| Velocity | The same velocity expressed as north/east/down at this position. |
Version 0.2.0 · branch main
