SpatialReferenceSystemTransformation.Transform
SpatialReferenceSystemTransformation.Transform method
Transforms geometry from source spatial reference system to target spatial reference system.
public Geometry Transform(IGeometry geometry)
Parameter | Type | Description |
---|---|---|
geometry | IGeometry | Geometry to transform. |
Return Value
New geometry in target spatial reference system.
Exceptions
exception | condition |
---|---|
ArgumentNullException | Geometry is null . |
ArgumentException | Geometries SpatialReferenceSystem is not null and doesn’t equivalent to Source |
TransformationException | Transformation failed. |
See Also
- class Geometry
- interface IGeometry
- class SpatialReferenceSystemTransformation
- namespace Aspose.Gis.SpatialReferencing
- assembly Aspose.GIS