GDB Viewer

ใช้ไลบรารี Aspose.GIS for .NET เพื่อสร้างโปรแกรมดู GDB

ตัวอย่างสด

Aspose.GIS for .NET / C# นำเสนอแอปพลิเคชัน “GDB Viewer” ฟรีออนไลน์ ที่คุณสามารถตรวจสอบฟังก์ชันการทำงานและคุณภาพได้

GDB viewer app

ตัวอย่างโค้ด - GDB Viewer

ส่วนของโค้ดต่อไปนี้แสดงวิธีการสร้างโปรแกรมดู GDB โค้ดด้านล่างสร้างแผนที่รูปภาพโดยใช้เลเยอร์ GDB หากคุณระบุระบบอ้างอิงเชิงพื้นที่สำหรับแผนที่ เลเยอร์ทั้งหมดที่โหลดจะถูกแปลงเป็นระบบนั้น ตัวอย่างใช้สไตล์ที่กำหนดเพื่อวาดเส้น ไลบรารียังมีสไตล์สำหรับจุด เส้น และพื้นผิว

// For complete examples and data files, please go to https://github.com/aspose-gis/Aspose.GIS-for-.NET
// Create a map
using (var map = new Map(800, 400))
{
// Use the specified SRS
map.SpatialReferenceSystem = SpatialReferenceSystem.Wgs84;
// Use the specified style to draw lines
// We also have styles for points, lines, and surfaces.
var symbolizer = new SimpleLine() {Width = Measurement.Pixels(2)};
// Open a layer and add to the map
map.Add(VectorLayer.Open("land.gdbtable", Drivers.FileGdb), symbolizer);
// Render the map
map.Render("land_out.png", Renderers.Png);
}

ตัวอย่างนี้แสดงความเป็นไปได้ทั่วไป Aspose.GIS for .NET มีคุณสมบัติมากมายในการ สร้างแผนที่

แพลตฟอร์ม - .NET / C#

เราสนับสนุน Framework 4.7 หรือใหม่กว่าภายใต้ Windows และ .NET Core 2.0 หรือใหม่กว่าภายใต้ Windows หรือ Linux