Click or drag to resize

RegistryGet Method

Tries to find a CoordinateReferenceSystem in the registry.

Namespace:  Ptv.Components.Projections
Assembly:  Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax
public static CoordinateReferenceSystem Get(
	string id
)

Parameters

id
Type: SystemString
Identifier of the coordinate reference system, e.g. EPSG:4326.

Return Value

Type: CoordinateReferenceSystem
Returns a CoordinateReferenceSystem instance or null, if the identifier is unknown.
Remarks
Registry.Get automatically resolves redirections and aliases, so that it always returns a CoordinateReferenceSystem with a valid and applicable parametrization in CoordinateReferenceSystem.WKT. As a result, the identifier of the CoordinateReferenceSystem returned must not necessarily be equal to identifier requested.
See Also