Browse our Products

Aspose.GIS for .NET 25.2 Release Notes

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
GISNET-1770Support of GARS FormatFeature
GISNET-1774Support of Google Plus Code FormatFeature
GISNET-1775Support of MaidenHead FormatFeature

Public API and Backward Incompatible Changes

Following members have been added:

  • F:Aspose.Gis.PointFormats.Gars
  • F:Aspose.Gis.PointFormats.PlusCode
  • F:Aspose.Gis.PointFormats.Maidenhead
  • F:Aspose.Gis.PointFormats.Utm

Following members have been removed:

  • None

Usage examples:

GISNET-1770. Support of GARS Format

string pointText = GeoConvert.AsPointText(80.0, 151.0, PointFormats.Gars);

if (pointText != "663QE37") {
  throw new Exception("Conversion was incorrect");
}

IPoint pointParse = GeoConvert.ParsePointText("059AW37");
if (pointParse.X != -151.0 || pointParse.Y != -80.0) {
  throw new Exception("Conversion was incorrect");
}

GISNET-1774. Support of Google Plus Code Forma

string pointText = GeoConvert.AsPointText(80.0, 151.0, PointFormats.PlusCode);

if (pointText != "CRGH2222+22") {
  throw new Exception("Conversion was incorrect");
}

IPoint pointParse = GeoConvert.ParsePointText("23GF2222+22");
if (pointParse.X != -151.0 || pointParse.Y != -80.0) {
  throw new Exception("Conversion was incorrect");
}

GISNET-1775. Support of MaidenHead Format

string pointText = GeoConvert.AsPointText(80.0, 151.0, PointFormats.Maidenhead);

if (pointText != "QR50ma") {
throw new Exception("Conversion was incorrect");
}

IPoint pointParse = GeoConvert.ParsePointText("BB40ma");
if (pointParse.X != -151.0 || pointParse.Y != -80.0) {
  throw new Exception("Conversion was incorrect");
}