Skip to content

geo

0 functions / 27 types

Modules

Index

TypeDescription
AngularCoordinates
CoordinateSystemGeographic coordinates use longitude/latitude degrees. Projected coordinates use east/north native units. Geocentric coordinates use Cartesian x/y/z meters.
CrsDescriptor
CrsIdA coordinate reference system identifier, such as EPSG:3857 or IAU_2015:30100.
ElevationAn elevation in meters with an explicit vertical reference.
ElevationReferenceThe reference of a height measured in meters.
GeoPositionA geographic, projected, or geocentric position. Positions carry no orientation or scale.
GeocentricPositionCartesian XYZ in meters in the CRS’s conventional axes. This is not engine scene space.
GeographicPosition
GeoidModelIdIdentifies an immutable geoid model in this engine instance.
LinearCoordinates
MapViewModeHow the map is shown.
MediaTypeAn advertised tile media type, including any parameters.
ProjectedPosition
ProviderLayerIdA layer identifier advertised by a service, scoped to that service.
ServiceIdIdentifies a discovered service for the lifetime of this engine instance.
ServiceLayerIdIdentifies one dataset within a discovered service.
ServiceLayerSelection
StyleIdA style identifier scoped to a service layer.
TileMatrix
TileMatrixIdA tile matrix identifier scoped to its tile matrix set.
TileMatrixSet
TileMatrixSetIdA tile matrix set identifier advertised by a service.
TileUrlTemplateAn HTTP or HTTPS tile URL containing {z}, {x}, and {y}.
UnavailableTileMatrixSetA 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.
VerticalCrsIdA vertical CRS identifier, such as EPSG:5773. It does not load a conversion model.
VerticalDatumWhat a height is measured from. Every body and every layer uses the same two definitions.

AngularCoordinates

Message

CoordinateSystem

Message

Geographic coordinates use longitude/latitude degrees. Projected coordinates use east/north native units. Geocentric coordinates use Cartesian x/y/z meters.

Choose one of: geographic, projected, geocentric.

geographic optional : geo.AngularCoordinates

projected optional : geo.LinearCoordinates

geocentric optional : geo.LinearCoordinates

CrsDescriptor

Message

crs : geo.CrsId

coordinates : geo.CoordinateSystem

CrsId

Message

A coordinate reference system identifier, such as EPSG:3857 or IAU_2015:30100.

identifier : string

Elevation

Message

An elevation in meters with an explicit vertical reference.

meters : double

ElevationReference

Message

The reference of a height measured in meters.

geoid_model optional : geo.GeoidModelId

The geoid for orthometric heights. Absent, the geoid is unknown.

vertical_crs optional : geo.VerticalCrsId

The named vertical CRS. A label alone does not provide a conversion grid.

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

Message

A geographic, projected, or geocentric position. Positions carry no orientation or scale.

Choose one of: geographic, projected, geocentric.

geographic optional : geo.GeographicPosition

projected optional : geo.ProjectedPosition

geocentric optional : geo.GeocentricPosition

GeocentricPosition

Message

Cartesian XYZ in meters in the CRS’s conventional axes. This is not engine scene space.

crs : geo.CrsId

x : double

y : double

z : double

GeographicPosition

Message

crs : geo.CrsId

longitude : double

Degrees east, independent of the CRS’s declared axis order.

latitude : double

Degrees north.

elevation optional : geo.Elevation

GeoidModelId

Message

Identifies an immutable geoid model in this engine instance.

uuid : string

LinearCoordinates

Message

meters_per_unit : double

MapViewMode

Enum

How the map is shown.

MAP_VIEW_MODE_GLOBE = 0

A 3D perspective view of the globe.

MAP_VIEW_MODE_FLAT = 1

A 2D view straight down on the flat map, north up.

MediaType

Message

An advertised tile media type, including any parameters.

value : string

ProjectedPosition

Message

crs : geo.CrsId

easting : double

Easting in the CRS’s native linear units.

northing : double

Northing in the CRS’s native linear units.

elevation optional : geo.Elevation

ProviderLayerId

Message

A layer identifier advertised by a service, scoped to that service.

value : string

ServiceId

Message

Identifies a discovered service for the lifetime of this engine instance.

uuid : string

ServiceLayerId

Message

Identifies one dataset within a discovered service.

service : geo.ServiceId

identifier : string

ServiceLayerSelection

Message

tile_matrix_set optional : geo.TileMatrixSetId

style optional : geo.StyleId

format optional : geo.MediaType

StyleId

Message

A style identifier scoped to a service layer.

value : string

TileMatrix

Message

identifier : geo.TileMatrixId

scale_denominator : double

top_left_east : double

The west edge in CRS native units, with normalized east/north axis order.

top_left_north : double

The north edge in CRS native units, with normalized east/north axis order.

tile_width : uint32

tile_height : uint32

matrix_width : uint32

matrix_height : uint32

TileMatrixId

Message

A tile matrix identifier scoped to its tile matrix set.

value : string

TileMatrixSet

Message

identifier : geo.TileMatrixSetId

crs : geo.CrsId

matrices optional : list[geo.TileMatrix]

TileMatrixSetId

Message

A tile matrix set identifier advertised by a service.

value : string

TileUrlTemplate

Message

An HTTP or HTTPS tile URL containing {z}, {x}, and {y}.

value : string

UnavailableTileMatrixSet

Message

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 : geo.TileMatrixSetId

error : string

Why the set’s coordinate reference system did not resolve, naming the system.

VerticalCrsId

Message

A vertical CRS identifier, such as EPSG:5773. It does not load a conversion model.

identifier : string

VerticalDatum

Enum

What a height is measured from. Every body and every layer uses the same two definitions.

VERTICAL_DATUM_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.

VERTICAL_DATUM_ELLIPSOIDAL = 1

Height above the body’s reference figure: the map surface’s ellipsoid, which is a sphere when both its radii are equal.