度分秒 (DMS) に変換
Contents
[
Hide
]
Aspose.GIS for .NET ライブラリを使用して、度分秒 (DMS) 形式の位置を計算します。 GeoConvert クラス を使用すると、緯度/経度座標を DMS 形式に相互変換できます。
ライブサンプル
Aspose.GIS for .NET / C# は、機能と品質を調査できるオンライン無料の “DMS に変換” アプリケーションを提供します。
コードサンプル - DMS に変換
次のコードスニペットは、DMS (度分秒) に変換する方法を示しています。
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 Degree Minute Seconds (DMS) format | |
var position = GeoConvert.AsPointText(74.84, 172.13, PointFormats.DegreeMinutesSeconds); | |
Console.WriteLine(position); |
プラットフォーム - .NET / C#
Windows 上の Framework 4.7 以降、および Windows または Linux 上の .NET Core 2.0 以降をサポートしています。