Class: QgsCelestialBody

Contains information about a celestial body.

Note

Only used in builds based on on PROJ 8.1 or later

Added in version 3.20.

Methods

authority

Authority name, e.g. EPSG.

isValid

Returns True if the body is a valid object, or False if it is a null/invalid object.

name

Name of celestial body.

class qgis.core.QgsCelestialBody[source]

Bases: object

authority(self) str[source]

Authority name, e.g. EPSG.

Return type:

str

isValid(self) bool[source]

Returns True if the body is a valid object, or False if it is a null/invalid object.

Return type:

bool

name(self) str[source]

Name of celestial body.

Return type:

str