แปลงเป็นองศา นาที ทศนิยม (DDM)
ใช้ไลบรารี Aspose.GIS for .NET เพื่อคำนวณตำแหน่งในรูปแบบองศา นาที ทศนิยม (DDM) คลาส GeoConvert ช่วยให้คุณแปลงพิกัด Latitude/Longitude เป็นรูปแบบ DDM และกลับกันได้
ตัวอย่างสด
Aspose.GIS for .NET / C# นำเสนอแอปพลิเคชัน “Convert to DDM” ฟรีออนไลน์ ที่คุณสามารถตรวจสอบฟังก์ชันการทำงานและคุณภาพในการทำงานได้
ตัวอย่างโค้ด - แปลงเป็น DDM
ส่วนของโค้ดต่อไปนี้แสดงวิธีการแปลงเป็น DDM (Decimal Degree Minutes)
// 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#
เราสนับสนุน Framework 4.7 หรือใหม่กว่าภายใต้ Windows และ .NET Core 2.0 หรือใหม่กว่าภายใต้ Windows หรือ Linux