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#

Windows 上の Framework 4.7 以降と、Windows または Linux 上の .NET Core 2.0 以降をサポートしています。