Package pygeodesy :: Module css |
[frames] | no frames]

# Module css

Cassini-Soldner projection classes CassiniSoldner, Css and CSSError requiring Charles Karney's geographiclib package to be installed.

Version: 19.07.12

Classes
| CassiniSoldner A Python version of Karney's C++ class CassiniSoldner.
| CSSError Cassini-Soldner (CSS) conversion or other Css issue.
| Css Cassini-Soldner East-/Northing location.

Functions
toCss(latlon, cs0=None, height=None, Css=<class 'pygeodesy.css.Css'>, name=`'````'`) Convert an (ellipsoidal) geodetic point to a Cassini-Soldner location. |

Variables
| __all__ = `_ALL_LAZY.css`

Function Details

### toCss(latlon, cs0=None, height=None, Css=<class 'pygeodesy.css.Css'>, name=`'````'`) |
Convert an (ellipsoidal) geodetic point to a Cassini-Soldner location. Parameters: `latlon` - Ellipsoidal point (`LatLon`). `cs0` - Optional, the Cassini-Soldner projection to use (CassiniSoldner). `height` - Optional height for the point, overriding the default height (`meter`). `Css` - Optional (sub-)class to return the location (Css) or `None`. `name` - Optional `Css` name (`str`). Returns: The Cassini-Soldner location (`Css`) or an EasNor3Tuple`(easting, northing, height)` if `Css` is `None`. Raises: `CSSError` - Mismatch of this and the `latlon` ellipsoidal. `ImportError` - Package GeographicLib missing. `TypeError` - If `latlon` is not ellipsoidal.