Share via


CoordinateSystem.Geography Method

Gets or creates a Geography coordinate system with the ID, or the default if null is given.

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

Syntax

'Declaration
Public Shared Function Geography ( _
    epsgId As Nullable(Of Integer) _
) As CoordinateSystem
'Usage
Dim epsgId As Nullable(Of Integer)
Dim returnValue As CoordinateSystem 

returnValue = CoordinateSystem.Geography(epsgId)
public static CoordinateSystem Geography(
    Nullable<int> epsgId
)
public:
static CoordinateSystem^ Geography(
    Nullable<int> epsgId
)
static member Geography : 
        epsgId:Nullable<int> -> CoordinateSystem
public static function Geography(
    epsgId : Nullable<int>
) : CoordinateSystem

Parameters

  • epsgId
    Type: System.Nullable<Int32>
    The coordinate system id, according to the EPSG. Null indicates the default should be returned.

Return Value

Type: System.Spatial.CoordinateSystem
The coordinate system.

See Also

Reference

CoordinateSystem Class

System.Spatial Namespace