GroupDocs.Metadata for .NET 24.3 Release Notes

Major Features

There are the following features, enhancements, and fixes in this release:

  • Added support for GIS formats: .shp, .geojson, .topojson, .gml, .osm, .kml, .gpx
  • Fields Creator and Producer in PDF now editable.

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
METADATANET-4046Support gis format.New Feature
METADATANET-4058Add the ability to write to the Creator and Producer fields in Pdf.New Feature

Public API and Backward Incompatible Changes

Implement the ability to configure cache for heavy operations

Public API changes

The GisRootPackage class has been added to the GroupDocs.Metadata.Formats.Gis namespace

The Gis item has been added to the FileFormat enum

Use cases

Read metadata properties

using (Metadata metadata = new Metadata("D:\sample.kml"))
     {
         var root = metadata.GetRootPackage<GisPackage>();
     
         foreach (var feature in root.GisPackage.Features)
         {
			foreach (var attribute in feature.Attributes)
			{
				Console.WriteLine(attribute.Name);
				Console.WriteLine(attribute.Value);
			}
         }
     }