转换为世界地理参考系统 (GeoRef)
Contents
[
Hide
]
使用 Aspose.GIS for .NET 库计算世界地理参考系统(GeoRef)格式的位置。 GeoConvert 类 允许您将纬度/经度坐标转换为 GeoRef 格式,反之亦然。
在线示例
Aspose.GIS for .NET / C# 为您提供免费的 “转换为 GeoRef” 应用程序,您可以调查其功能和工作质量。
代码示例 - 转换为 GeoRef
以下代码片段向您展示如何转换为 GeoRef(世界地理参考系统)。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-gis/Aspose.GIS-for-.NET | |
// Calculate a position in a World Geographic Reference System (GeoRef) format | |
var position = GeoConvert.AsPointText(74.84, 172.13, PointFormats.GeoRef); | |
Console.WriteLine(position); |
平台 - .NET / C#
我们支持 Windows 上的 Framework 4.7 或更高版本,以及 Windows 或 Linux 上的 .NET Core 2.0 或更高版本。