compose¶
- geodetic_engine.geodesy.utils.compose(first, second)[source]¶
Compose two Helmert transformations applied in order.
- Parameters:
first (
HelmertParameters) – The transformation applied first.second (
HelmertParameters) – The transformation applied to the result offirst.
- Return type:
- Returns:
A single Helmert equivalent to applying
firstthensecond.
Example
>>> ed50_to_ed87 = helmert_parameters( ... CoordinateOperation.from_authority("EPSG", 1147) ... ) >>> ed87_to_wgs84 = helmert_parameters( ... CoordinateOperation.from_authority("EPSG", 1146) ... ) >>> round(compose(ed50_to_ed87, ed87_to_wgs84).tx, 3) -84.491