SpatialReferenceSystem.CreateTransformationTo
SpatialReferenceSystem.CreateTransformationTo method
Creates transformation from this SpatialReferenceSystem
to another SpatialReferenceSystem
.
public SpatialReferenceSystemTransformation CreateTransformationTo(SpatialReferenceSystem targetSrs)
Parameter | Type | Description |
---|---|---|
targetSrs | SpatialReferenceSystem | Another SpatialReferenceSystem . |
Return Value
Transformation from this SpatialReferenceSystem
to another SpatialReferenceSystem
.
Exceptions
exception | condition |
---|---|
NotSupportedException | Transformation 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 . |
TransformationException | Transformation is failed to be created because of wrong parameters inside SpatialReferenceSystem . |
See Also
- method TryCreateTransformationTo
- class SpatialReferenceSystemTransformation
- class SpatialReferenceSystem
- namespace Aspose.Gis.SpatialReferencing
- assembly Aspose.GIS