Develop a gdb viewer with an API designed specifically for net / C# developers.
// 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);
}
There are a simple way to install Aspose.GIS for Net onto your system:
Data Visualization API for .NET is supported on most platforms and operating systems and it can be used to develop several different types of .NET apps including ASP .NET, WinForms and Windows Services. API for .NET is easy to use and deploy, and provides the ideal solution to work with geospatial information with .NET Framework 4.7, .NET Standard 2.0 & Xamarin platforms. Before running the code, please make sure your system meets the appropriate requirements.
Interact with powerful and simple-to-use app samples in C#. Try out our data tools. Live demos in C#
Combine several layers on one map image.
Apply styles for points, lines, and surfaces.
Import styles from SLD format.
Draw labels and text. Apply styles for text and auto detect places on a map.
Draw clustered points.
Save a created map in SVG, PNG, BMP, or JPEG.
Manage the spatial reference system for your map.
Draw labels along curved lines.
Use advanced rendering: Combine Symbolizers, Geometry Generator, Mixed Geometry.
You can also View Gdb into many other file formats including few listed below.