Browse our Products

Aspose.GIS for .NET 18.4 Release Notes

Major Features

Major features and improvements in this release:

  • Spatial reference systems support
    • Work with WKT - Import spatial reference systems from WKT and export spatial reference systems to WKT
    • Create vector layers with spatial reference system
    • Set desired spatial reference system when converting between layers
    • Transform geometries between spatial reference systems

Features and Improvements

GISNET-165Spatial reference systems supportNew Feature
GISNET-170Convert between spatial reference systemsNew Feature
GISNET-167Fix IGeometry methods visibilityBug

Public API and Backward Incompatible Changes

IGeometry has immutable HasZ and HasM

IGeometry was designed to be immutable. Setters for HasZ and HasM were present there which have been removed now.

C# (before v18.4)
void HandleGeometry(IGeometry geometry)
geometry.HasZ = true; // you could change HasZ directly on IGeometry
// …
C# (since v18.4)
void HandleGeometry(IGeometry geometry)
Geometry clone = geometry.Clone(); // now, you must clone geometry to get mutable instance and change HasZ
clone.HasZ = true;
// …