SpatialReferenceSystem.TryCreateFromWkt

SpatialReferenceSystem.TryCreateFromWkt method

Creates a new SpatialReferenceSystem based on WKT (Well-Known Text) string.

public static bool TryCreateFromWkt(string wkt, out SpatialReferenceSystem value)
ParameterTypeDescription
wktStringWKT string.
valueSpatialReferenceSystem&When this methods returns true, contains an SRS created from WKT; otherwise, contains null.

Return Value

true if SRS was successfully created; false otherwise.

See Also