GeoTIFF Viewer

Use the Aspose.GIS for .NET library to implement the GeoTIFF viewer.

Live Example

Aspose.GIS for .NET / C# presents you online free the “GeoTIFF Viewer” application, where you may to investigate the functionality and quality it works.

GeoTIFF viewer app

Code sample - GeoTIFF Viewer

The following code snippet shows you how to implement GeoTIFF Viewer. The below code create an image map using a GeoTIFF layer. If you specify a spatial reference system for the map, all loaded layers will be converted to it. The sample uses the specified style to draw lines. The library also has styles for points, lines, and surfaces.

// 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.tif", Drivers.GeoTiff), symbolizer);
// Render the map
map.Render("land_out.png", Renderers.Png);
}

This sample show general possibilities. Aspose.GIS for .NET has wide features to render maps.

Platform - .NET / C#

We supports Framework 4.7 or later under Windows, and .NET Core 2.0 or later under Windows or Linux