GDB Viewer

Aspose.GIS for .NET 라이브러리를 사용하여 GDB 뷰어를 구현합니다.

라이브 예제

Aspose.GIS for .NET / C#는 “GDB Viewer” 애플리케이션을 온라인에서 무료로 제공하며, 기능을 조사하고 작동 품질을 확인할 수 있습니다.

GDB 뷰어 앱

코드 샘플 - 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#

Windows에서 Framework 4.7 이상 또는 Windows 또는 Linux에서 .NET Core 2.0 이상을 지원합니다.