Aspose.GIS 26.9.0

Prefix Reserved
dotnet add package Aspose.GIS --version 26.9.0
                    
NuGet\Install-Package Aspose.GIS -Version 26.9.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.

                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.

                    
Directory.Packages.props

                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aspose.GIS --version 26.9.0
                    
#r "nuget: Aspose.GIS, 26.9.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Aspose.GIS@26.9.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aspose.GIS&version=26.9.0
                    
Install as a Cake Addin
#tool nuget:?package=Aspose.GIS&version=26.9.0
                    
Install as a Cake Tool

Full List of Issues Covering all Changes in this Release

Key Summary Category
GISNET-2157 Fix GeoPackage Tile Writer Resource Management and Initialization Bug
GISNET-2038 Gml To MapInfoTab - Preserve inferred GML string widths during schema restoration Bug
GISNET-2110 Preserve source SRS in MapInfo Interchange conversion Bug
GISNET-2125 Preserve non-ASCII attribute values in native MapInfo TAB Bug
GISNET-2143 Release Resources For GeoPackage Bug
GISNET-2152 Release Resources For MapInfoInterchange Bug
GISNET-2164 Possibility To Read Tile From Dataset Immediately After Writing Tile Bug
GISNET-2083 Bug 5667: Shapefile to All formats- Conversion failed to Shapefile + output of MapInfoTab not seen in QGIS Bug

Public API and Backward Incompatible Changes

Following members have been added:

  • None

Following members have been removed:

  • None

Usage examples:

GISNET-2157: Fix GeoPackage Tile Writer Resource Management and Initialization

string path = "tiles.gpkg";
string validImage = "9-140-292.png";
string invalidImage = "invalid.png";

File.WriteAllText(invalidImage, "This is not a raster image.");

using (var dataset = (GeoPackageDataset)Dataset.Create(path, Drivers.GeoPackage))
{
    dataset.CreateTileLayer("tiles", validImage);

    using (var reopened = (GeoPackageDataset)Dataset.Open(path, Drivers.GeoPackage))
    {
        Console.WriteLine($"Tile layers: {reopened.TileLayersCount}");
    }

    try
    {
        dataset.CreateTileLayer("invalid_tiles", invalidImage);
    }
    catch
    {
        Console.WriteLine("Tile layer creation failed.");
    }

    dataset.CreateTileLayer("invalid_tiles", validImage);

    using (var reopened = (GeoPackageDataset)Dataset.Open(path, Drivers.GeoPackage))
    {
        Console.WriteLine($"Tile layers after retry: {reopened.TileLayersCount}");
    }
}

GISNET-2038: Gml To MapInfoTab - Preserve inferred GML string widths during schema restoration

var sourcePath = "gml6.gml";
var destinationPath = "output.tab";

var conversionOptions = new ConversionOptions
{
	SourceDriverOptions = new GmlOptions
	{
		RestoreSchema = true,
	},
};

VectorLayer.Convert(
	sourcePath,
	Drivers.Gml,
	destinationPath,
	Drivers.MapInfoTab,
	conversionOptions);

using (var layer = VectorLayer.Open(destinationPath, Drivers.MapInfoTab))
{
	Console.WriteLine("Feature count: " + layer.Count);

	foreach (var attribute in layer.Attributes)
	{
		Console.WriteLine($"{attribute.Name}: {attribute.DataType}, Width: {attribute.Width}");
	}
}

GISNET-2110: Preserve source SRS in MapInfo Interchange conversion

var sourcePath = "unified_districts.shp";
var destinationPath = "unified_districts.mif";

VectorLayer.Convert(
	sourcePath,
	Drivers.Shapefile,
	destinationPath,
	Drivers.MapInfoInterchange,
	new ConversionOptions());

using (var destination = VectorLayer.Open(
		   destinationPath,
		   Drivers.MapInfoInterchange))
{
	Console.WriteLine(destination.SpatialReferenceSystem);
	Console.WriteLine(destination.Count);

	var extent = destination.GetExtent().BoundingRectangle;

	Console.WriteLine(
		$"Extent: {extent.XMin}, {extent.YMin}, " +
		$"{extent.XMax}, {extent.YMax}");

	Console.WriteLine(destination[0].GetValue("Id"));
	Console.WriteLine(destination[0].GetValue("machoz"));
}

Console.WriteLine(File.ReadAllText(destinationPath));

GISNET-2125: Preserve non-ASCII attribute values in native MapInfo TAB

string sourcePath = "unified_districts.shp";
string destinationPath = "unified_districts.tab";

VectorLayer.Convert(
	sourcePath,
	Drivers.Shapefile,
	destinationPath,
	Drivers.MapInfoTab,
	new ConversionOptions());

using (var layer = VectorLayer.Open(destinationPath, Drivers.MapInfoTab))
{
	Console.WriteLine(layer[0].GetValue("machoz"));
}


**GISNET-2143: Release Resources For GeoPackage**

string pathForNewDataset = "CombineRasterAndVectorLayers.gpkg";
string pathToImage = "9-140-292.png"; 

using (var newDataset = (GeoPackageDataset)Dataset.Create(pathForNewDataset, Drivers.GeoPackage))
{
	using (VectorLayer newVectorLayer = newDataset.CreateLayer("Layer_1"))
	{
		IGeometry geometry = Geometry.FromText("POLYGON((10 20,10 40,30 40,30 20,10 20))", SpatialReferenceSystem.Wgs84);

		Feature feature = newVectorLayer.ConstructFeature();
		feature.Geometry = geometry;
		newVectorLayer.Add(feature);
	}

	newDataset.CreateTileLayer("tile_1", pathToImage);
}
File.Delete(pathForNewDataset);

GISNET-2152: Release Resources For MapInfoInterchange

string sourcePath = "info.tab.zdtmxwof.d02.tab"; 
string outputPath = "output.mif";

VectorLayer.Convert(sourcePath, Drivers.MapInfoTab, outputPath, Drivers.MapInfoInterchange);

File.Delete(outputPath);

GISNET-2164: Possibility To Read Tile From Dataset Immediately After Writing Tile

string pathForNewDataset = "WriteRasterImages.gpkg";
string pathToImage = "9-140-292.png"; //path to raster image

using (var newDataset = (GeoPackageDataset)Dataset.Create(pathForNewDataset, Drivers.GeoPackage))
{
	var tileMatrixSet2 = new GeoPackageTileMatrixSet(0, 0, 20037508.3427892, 20037508.3427892);
	var options2 = new GeoPackageTileOptions(tileMatrixSet2);

	newDataset.CreateTileLayer("tile_2", pathToImage, options2);
	XyzTiles tileLayer = newDataset.OpenTileLayer("tile_2");
}

GISNET-2083: Bug 5667: Shapefile to All formats- Conversion failed to Shapefile + output of MapInfoTab not seen in QGIS

string sourcePath = "geo_export.shp";
string destinationPath = "out.tab";

// Here was error
VectorLayer.Convert(sourcePath, Drivers.Shapefile, destinationPath, Drivers.MapInfoTab);

File.Delete(destinationPath);
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aspose.GIS:

Package Downloads
Aspose.Total

Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
26.9.0 150 9/30/2026
26.8.0 1,110 8/31/2026
26.7.0 118 8/31/2026
26.6.0 3,595 6/30/2026
26.5.0 875 5/28/2026
26.4.0 7,312 4/30/2026
26.3.0 7,313 3/30/2026
26.2.0 6,314 2/26/2026
26.1.0 748 1/28/2026
25.12.0 3,226 12/29/2025
25.11.0 3,028 11/28/2025
25.10.0 1,081 11/12/2025
25.9.0 8,291 9/29/2025
25.8.0 7,964 8/29/2025
25.7.0 7,751 7/30/2025
25.6.0 6,328 6/27/2025
25.5.0 7,161 5/28/2025
25.4.0 12,814 4/21/2025
25.3.0 9,466 3/31/2025
25.2.0 11,485 2/26/2025
Loading failed