SpatialReferenceSystem.CreateFromWkt
SpatialReferenceSystem.CreateFromWkt method
Creates a new SpatialReferenceSystem based on WKT (Well-Known Text) string.
public static SpatialReferenceSystem CreateFromWkt(string wkt)
| Parameter | Type | Description |
|---|---|---|
| wkt | String | WKT string. |
Return Value
New SpatialReferenceSystem.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Argument is null. |
| FormatException | Hierarchy of wkt values, their order or types, is wrong. |
| NotSupportedException | WKT root element is not supported (for examples it is FITTED_CS). |
See Also
- method TryCreateFromWkt
- class SpatialReferenceSystem
- namespace Aspose.Gis.SpatialReferencing
- assembly Aspose.GIS