GeoConvert.ParsePointText
GeoConvert.ParsePointText method
将包含坐标的字符串转换为 IPoint 对象。
public static IPoint ParsePointText(string text)
| 参数 | 类型 | 描述 |
|---|---|---|
| 文本 | String | 一个包含待转换坐标的字符串。该字符串应同时包含纬度和经度坐标。坐标应以空格、逗号或分号分隔。 |
返回值
与输入字符串等效的坐标的 IPoint 对象。
异常
| 异常 | 条件 |
|---|---|
| GisException |
备注
示例:"80° 151°", "74°50.82’, 172°08.21’", "80°;151°", "2CMB", "2CMB6682893142", "2C MB 66828 93142", "WMAQ12405535"。
另见
- interface IPoint
- class GeoConvert
- namespace Aspose.Gis
- assembly Aspose.GIS