Aspose.GIS for .NET 19.11 Release Notes

Major Features

Major features and improvements in this release:

  • Read geospatial data from PostGIS database.
  • Write geospatial data to PostGIS database.

Full List of Issues Covering all Changes in this Release

Key Summary Category
GISNET-474 Read geospatail data from PostGIS New Feature
GISNET-484 Write geospatail data to PostGIS New Feature
GISNET-481 Add GeometryGenerator symbolizer New Feature
GISNET-479 Import RasterMarker from SLD Improvement
GISNET-480 Add new attribute data types Improvement

Public API and Backward Incompatible Changes

This version includes certain Public API Changes that affect the existing implementations. These are as detailed below.

Driver is renamed to FileDriver

Now “Driver” is a base class for “FileDriver” and “DatabaseDriver”. Public entries of the “Driver” class were moved to “FileDriver” class.

C# (since v19.11)

void HandleFile(string path)

{

using (var layer = VectorLayer.Open(path, Drivers.Shapefile))

  {

  FileDriver driver = (FileDriver)layer.Driver;

  Console.WriteLine(driver.CanCreateLayers);

}

}

VectorLayer OpenWithDriver(FileDriver driver, string path)

{

  return driver.OpenLayer(path);

}

C# (before v19.11)

void HandleFile(string path)

{

using (var layer = VectorLayer.Open(path, Drivers.Shapefile))

{

  Driver driver = layer.Driver;

  Console.WriteLine(driver.CanCreateLayers);

}

}

VectorLayer OpenWithDriver(Driver driver, string path)

{

return driver.OpenLayer(path);

}