Skip to content

geo.crs

2 functions / 2 types

Index

FunctionDescription
DescribeDescribe a supported CRS and its coordinate units without creating a map or loading a service.
RegisterRegister one coordinate reference system, or one coordinate operation, under the identifier its definition names, and answer that identifier, such as IAU_2015:49900.
TypeDescription
DescribeDescribe a supported CRS and its coordinate units without creating a map or loading a service.
RegisterRegister one coordinate reference system, or one coordinate operation, under the identifier its definition names, and answer that identifier, such as IAU_2015:49900.

Describe

RPC

Describe(request: geo.crs.Describe) -> geo.CrsDescriptor

Describe a supported CRS and its coordinate units without creating a map or loading a service.

Service method: spatialengine.v1.geo.crs.GeoCrs.Describe.

Returns geo.CrsDescriptor.

crs : geo.CrsId

Register

RPC

Register(request: geo.crs.Register) -> geo.CrsId

Register one coordinate reference system, or one coordinate operation, under the identifier its definition names, and answer that identifier, such as IAU_2015:49900.

definition is WKT2 or PROJJSON with a top-level identifier, as projinfo prints a registry entry, or a WKT2 coordinate operation with a Helmert method. A system defined on a datum the registry holds, by identifier or by name, converts with that datum’s operations. Registering the same definition again does nothing. Fails with InvalidArgument for a definition with no identifier, one the engine cannot represent, such as longitude counted west, and one that differs from what the registry holds under its identifier.

Service method: spatialengine.v1.geo.crs.GeoCrs.Register.

Returns geo.CrsId.

definition : string

Describe

Message

Describe a supported CRS and its coordinate units without creating a map or loading a service.

crs : geo.CrsId

Register

Message

Register one coordinate reference system, or one coordinate operation, under the identifier its definition names, and answer that identifier, such as IAU_2015:49900.

definition is WKT2 or PROJJSON with a top-level identifier, as projinfo prints a registry entry, or a WKT2 coordinate operation with a Helmert method. A system defined on a datum the registry holds, by identifier or by name, converts with that datum’s operations. Registering the same definition again does nothing. Fails with InvalidArgument for a definition with no identifier, one the engine cannot represent, such as longitude counted west, and one that differs from what the registry holds under its identifier.

definition : string