SpatialReferenceSystem.CreateLocal

SpatialReferenceSystem.CreateLocal method

Create local SRS.

public static LocalSpatialReferenceSystem CreateLocal(string name, LocalDatum datum, Unit unit, 
    ICollection<Axis> axises, Identifier identifier = null)
ParameterTypeDescription
nameStringName of SRS.
datumLocalDatumDatum to be used in SRS.
unitUnitUnit to be used in SRS.
axisesICollection`1Axises to be used in SRS. Must be non empty
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 Local SRS.

Exceptions

exceptioncondition
InvalidOperationExceptionaxises is empty.
ArgumentNullExceptionAny argument, except identifier is null.

See Also