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