Finds a predefined linear or angular unit of measure based on its well known text string.
FindUnitsByWKT(string WKT)
Parameter |
Description |
WKT |
A string that defines a well-known text string for a predefined unit. |
Return Value
A Unit
object. Depending on the type of unit, you can
cast to an AngularUnit
or LinearUnit.
Remarks
Here are some examples of WKT strings for linear
and angular units:
U.S. Survey Foot:
UNIT["Foot_US",0.3048006096012192,AUTHORITY["EPSG",9003]]
Arc-minute:
UNIT["Minute",0.0002908882086657216,AUTHORITY["EPSG",9103]]
Examples