SpatialReferenceSystem.CreateTransformationTo

SpatialReferenceSystem.CreateTransformationTo method

Creates transformation from this SpatialReferenceSystem to another SpatialReferenceSystem.

public SpatialReferenceSystemTransformation CreateTransformationTo(SpatialReferenceSystem targetSrs)
ParameterTypeDescription
targetSrsSpatialReferenceSystemAnother SpatialReferenceSystem.

Return Value

Transformation from this SpatialReferenceSystem to another SpatialReferenceSystem.

Exceptions

exceptioncondition
NotSupportedExceptionTransformation between this SpatialReferenceSystem and argument is not supported. This can happen, because one of the projections is not supported, or one of the systems is VerticalSpatialReferenceSystem or LocalSpatialReferenceSystem.
TransformationExceptionTransformation is failed to be created because of wrong parameters inside SpatialReferenceSystem.

See Also