SpatialReferenceSystem.CreateVertical

SpatialReferenceSystem.CreateVertical method

Create vertical SRS.

public static VerticalSpatialReferenceSystem CreateVertical(string name, 
    VerticalDatum verticalDatum, Unit verticalUnit = null, Axis verticalAxis = null, 
    Identifier identifier = null)
ParameterTypeDescription
nameStringName of SRS. If null.
verticalDatumVerticalDatumDatum to be used in SRS.
verticalUnitUnitUnit to be used in SRS. If null, Meter will be used.
verticalAxisAxisAxis with “up” or “down” direction, to be used in SRS. If null, axis with up direction will be used.
identifierIdentifierIdentifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters. Its up to you to ensure consistency of identifier and SRS parameters.

Return Value

New Vertical SRS.

Exceptions

exceptioncondition
InvalidOperationExceptionverticalAxis direction is not up or down.
ArgumentNullExceptionSome of required parameters is null.

See Also