GSTPy.SRS

class GSTPy.SRS

SRS base class.

property description

The description of the SRS

Type

str

static empty_srs() → SRS :

Create an EmptySRS.

This type is used to signal “no SRS information”.

Returns

The empty SRS.

Return type

EmptySRSDef

static from_esri_wkt((str)wkt_definition) → SRS :

Create an ESRI WKT SRS definition.

Parameters

wkt_definition (str) – The wkt description.

Returns

The ESRI WKT SRS definition.

Return type

ESRIWKTDef

static from_gstsrs_id((int)srs_id) → SRS :

Create an GST SRS definition.

Parameters

srs_id (int) – The srs id.

Returns

The GST SRS definition.

Return type

GSTSRSRef

static from_ogc_wkt((str)wkt_definition) → SRS :

Create an OGC WKT SRS definition.

Parameters

wkt_definition (str) – The wkt description.

Returns

The OGC WKT SRS definition.

Return type

WKTSRSDef

static from_proj4((str)proj4_definition) → SRS :

Create an PROJ4 SRS definition.

Parameters

proj4_definition (str) – The proj4 description.

Returns

The PROJ4 SRS definition.

Return type

PROJ4SRSDef

to_string((SRS)self) → str :

Get a string representation.

Returns

The string representation.

Return type

str

property type

The type of the SRS.

Type

SRSType