Handedness¶
- class geodetic_engine.bingrid.Handedness[source]¶
Bases:
StrEnumWhich side of the J-axis the I-axis points to, seen from above.
Standing on a constant inline and looking towards increasing crosslines, the grid is right-handed if the next inline is to the right.
- RIGHT = 'right'¶
The I-axis bearing is the J-axis bearing plus 90 degrees (EPSG 9666).
- LEFT = 'left'¶
The I-axis bearing is the J-axis bearing minus 90 degrees (EPSG 1049).
- classmethod from_method_code(code)[source]¶
The handedness an EPSG P6 method code states.
- Parameters:
code (
int) – 9666 or 1049.- Return type:
- Returns:
The handedness.
- Raises:
InvalidParameterError – If the code is not a P6 bin grid method.