geo
0 functions / 27 types
Modules
Index
| Type | Description |
|---|---|
| AngularCoordinates | AngularCoordinates |
| CoordinateSystem | Geographic coordinates use longitude/latitude degrees. Projected coordinates use east/north native units. Geocentric coordinates use Cartesian x/y/z meters. |
| CrsDescriptor | CrsDescriptor |
| CrsId | A coordinate reference system identifier, such as EPSG:3857 or IAU_2015:30100. |
| Elevation | An elevation in meters with an explicit vertical reference. |
| ElevationReference | The reference of a height measured in meters. |
| GeoPosition | A geographic, projected, or geocentric position. Positions carry no orientation or scale. |
| GeocentricPosition | Cartesian XYZ in meters in the CRS’s conventional axes. This is not engine scene space. |
| GeographicPosition | GeographicPosition |
| GeoidModelId | Identifies an immutable geoid model in this engine instance. |
| LinearCoordinates | LinearCoordinates |
| MapViewMode | How the map is shown. |
| MediaType | An advertised tile media type, including any parameters. |
| ProjectedPosition | ProjectedPosition |
| ProviderLayerId | A layer identifier advertised by a service, scoped to that service. |
| ServiceId | Identifies a discovered service for the lifetime of this engine instance. |
| ServiceLayerId | Identifies one dataset within a discovered service. |
| ServiceLayerSelection | ServiceLayerSelection |
| StyleId | A style identifier scoped to a service layer. |
| TileMatrix | TileMatrix |
| TileMatrixId | A tile matrix identifier scoped to its tile matrix set. |
| TileMatrixSet | TileMatrixSet |
| TileMatrixSetId | A tile matrix set identifier advertised by a service. |
| TileUrlTemplate | An HTTP or HTTPS tile URL containing {z}, {x}, and {y}. |
| UnavailableTileMatrixSet | A tile matrix set a layer links that cannot be drawn, because the engine cannot resolve the coordinate reference system it is declared in. Registering that system with geo.crs.register, or installing its authority’s registry file, makes the set drawable. |
| VerticalCrsId | A vertical CRS identifier, such as EPSG:5773. It does not load a conversion model. |
| VerticalDatum | What a height is measured from. Every body and every layer uses the same two definitions. |
AngularCoordinates
AngularCoordinates()AngularCoordinates
CoordinateSystem
CoordinateSystem()Geographic coordinates use longitude/latitude degrees. Projected coordinates use east/north native units. Geocentric coordinates use Cartesian x/y/z meters.
Construct one of the nested classes. Use isinstance to check its type.
CoordinateSystem.Geographic
CoordinateSystem.Geographic(value: types.geo.AngularCoordinates)CoordinateSystem.Geographic
value : AngularCoordinates
CoordinateSystem.Projected
CoordinateSystem.Projected(value: types.geo.LinearCoordinates)CoordinateSystem.Projected
value : LinearCoordinates
CoordinateSystem.Geocentric
CoordinateSystem.Geocentric(value: types.geo.LinearCoordinates)CoordinateSystem.Geocentric
value : LinearCoordinates
CrsDescriptor
CrsDescriptor(*, crs: types.geo.CrsId, coordinates: types.geo.CoordinateSystem)CrsDescriptor
crs : CrsId
coordinates : CoordinateSystem
CrsId
CrsId(*, identifier: str)A coordinate reference system identifier, such as EPSG:3857 or IAU_2015:30100.
identifier : str
Elevation
Elevation(*, meters: float, reference: types.geo.ElevationReference)An elevation in meters with an explicit vertical reference.
meters : float
reference : ElevationReference
ElevationReference
ElevationReference(
*,
datum: types.geo.VerticalDatum,
geoid_model: types.geo.GeoidModelId | None = None,
vertical_crs: types.geo.VerticalCrsId | None = None,
assumed: bool
)The reference of a height measured in meters.
datum : VerticalDatum
geoid_model optional : GeoidModelId | None
The geoid for orthometric heights. Absent, the geoid is unknown. Defaults to None.
vertical_crs optional : VerticalCrsId | None
The named vertical CRS. A label alone does not provide a conversion grid. Defaults to None.
assumed : bool
Whether the reference is a guess rather than stated. On a reported height, true when any reference the height passed through was a guess.
GeoPosition
GeoPosition()A geographic, projected, or geocentric position. Positions carry no orientation or scale.
Construct one of the nested classes. Use isinstance to check its type.
GeoPosition.Geographic
GeoPosition.Geographic(value: types.geo.GeographicPosition)GeoPosition.Geographic
value : GeographicPosition
GeoPosition.Projected
GeoPosition.Projected(value: types.geo.ProjectedPosition)GeoPosition.Projected
value : ProjectedPosition
GeoPosition.Geocentric
GeoPosition.Geocentric(value: types.geo.GeocentricPosition)GeoPosition.Geocentric
value : GeocentricPosition
GeocentricPosition
GeocentricPosition(*, crs: types.geo.CrsId, x: float, y: float, z: float)Cartesian XYZ in meters in the CRS’s conventional axes. This is not engine scene space.
GeographicPosition
GeographicPosition(
*,
crs: types.geo.CrsId,
longitude: float,
latitude: float,
elevation: types.geo.Elevation | None = None
)GeographicPosition
crs : CrsId
longitude : float
Degrees east, independent of the CRS’s declared axis order.
latitude : float
Degrees north.
elevation optional : Elevation | None
Defaults to None.
GeoidModelId
GeoidModelId(*, uuid: str)Identifies an immutable geoid model in this engine instance.
uuid : str
LinearCoordinates
LinearCoordinates(*, meters_per_unit: float)LinearCoordinates
meters_per_unit : float
MapViewMode
Enum
class MapViewMode(IntEnum)How the map is shown.
Values: GLOBE = 0 A 3D perspective view of the globe. FLAT = 1 A 2D view straight down on the flat map, north up.
GLOBE = 0
A 3D perspective view of the globe.
FLAT = 1
A 2D view straight down on the flat map, north up.
MediaType
MediaType(*, value: str)An advertised tile media type, including any parameters.
value : str
ProjectedPosition
ProjectedPosition(
*,
crs: types.geo.CrsId,
easting: float,
northing: float,
elevation: types.geo.Elevation | None = None
)ProjectedPosition
crs : CrsId
easting : float
Easting in the CRS’s native linear units.
northing : float
Northing in the CRS’s native linear units.
elevation optional : Elevation | None
Defaults to None.
ProviderLayerId
ProviderLayerId(*, value: str)A layer identifier advertised by a service, scoped to that service.
value : str
ServiceId
ServiceId(*, uuid: str)Identifies a discovered service for the lifetime of this engine instance.
uuid : str
ServiceLayerId
ServiceLayerId(*, service: types.geo.ServiceId, identifier: str)Identifies one dataset within a discovered service.
service : ServiceId
identifier : str
ServiceLayerSelection
ServiceLayerSelection(
*,
tile_matrix_set: types.geo.TileMatrixSetId | None = None,
style: types.geo.StyleId | None = None,
format: types.geo.MediaType | None = None
)ServiceLayerSelection
tile_matrix_set optional : TileMatrixSetId | None
Defaults to None.
style optional : StyleId | None
Defaults to None.
format optional : MediaType | None
Defaults to None.
StyleId
StyleId(*, value: str)A style identifier scoped to a service layer.
value : str
TileMatrix
TileMatrix(
*,
identifier: types.geo.TileMatrixId,
scale_denominator: float,
top_left_east: float,
top_left_north: float,
tile_width: int,
tile_height: int,
matrix_width: int,
matrix_height: int
)TileMatrix
identifier : TileMatrixId
scale_denominator : float
top_left_east : float
The west edge in CRS native units, with normalized east/north axis order.
top_left_north : float
The north edge in CRS native units, with normalized east/north axis order.
tile_width : int
tile_height : int
matrix_width : int
matrix_height : int
TileMatrixId
TileMatrixId(*, value: str)A tile matrix identifier scoped to its tile matrix set.
value : str
TileMatrixSet
TileMatrixSet(
*,
identifier: types.geo.TileMatrixSetId,
crs: types.geo.CrsId,
matrices: tuple[types.geo.TileMatrix, ...] = ()
)TileMatrixSet
TileMatrixSetId
TileMatrixSetId(*, value: str)A tile matrix set identifier advertised by a service.
value : str
TileUrlTemplate
TileUrlTemplate(*, value: str)An HTTP or HTTPS tile URL containing {z}, {x}, and {y}.
value : str
UnavailableTileMatrixSet
UnavailableTileMatrixSet(*, identifier: types.geo.TileMatrixSetId, error: str)A tile matrix set a layer links that cannot be drawn, because the engine cannot resolve the
coordinate reference system it is declared in. Registering that system with
geo.crs.register, or installing its authority’s registry file, makes the set drawable.
identifier : TileMatrixSetId
error : str
Why the set’s coordinate reference system did not resolve, naming the system.
VerticalCrsId
VerticalCrsId(*, identifier: str)A vertical CRS identifier, such as EPSG:5773. It does not load a conversion model.
identifier : str
VerticalDatum
Enum
class VerticalDatum(IntEnum)What a height is measured from. Every body and every layer uses the same two definitions.
Values: ORTHOMETRIC = 0 Height above the body’s geoid, such as the Earth’s mean sea level or the Mars areoid. Placing it takes a geoid model. ELLIPSOIDAL = 1 Height above the body’s reference figure: the map surface’s ellipsoid, which is a sphere when both its radii are equal.
ORTHOMETRIC = 0
Height above the body’s geoid, such as the Earth’s mean sea level or the Mars areoid. Placing it takes a geoid model.
ELLIPSOIDAL = 1
Height above the body’s reference figure: the map surface’s ellipsoid, which is a sphere when both its radii are equal.