SpatialReferenceSystem.CreateCompound

SpatialReferenceSystem.CreateCompound method

Create compound SRS.

public static CompoundSpatialReferenceSystem CreateCompound(string name, 
    SpatialReferenceSystem head, SpatialReferenceSystem tail, Identifier identifier = null)
ParameterTypeDescription
nameStringName of new SRS.
headSpatialReferenceSystemHead SRS of new SRS.
tailSpatialReferenceSystemTail SRS of new SRS.
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 Compound SRS.

Exceptions

exceptioncondition
ArgumentNullExceptionAny argument except identifier is null.
InvalidOperationExceptionhead or tail are compound SRS themselves.

See Also