← Back to carmenta.com
Carmenta Engine SDK Documentation
×

GeoPackageMetadataWriter Class

Used to write GeoPackageMetadata documents and metadata references to a GeoPackage file.

Namespace: Carmenta.Engine
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CEDataSets assembly)
Thread safety: Members defined in this type are, in general, not thread-safe.

Syntax

C#
public class GeoPackageMetadataWriter : MapPackageWriter

Remarks

Used to write one or more GeoPackageMetadata documents to a GeoPackage. Use the MapPackage.CreateMetadataWriter method, on the MapPackage class, to create a GeoPackageMetadataWriter.

Inheritance Hierarchy

System.Object (not available in C#)
  EngineObject
    MapPackageWriter
      GeoPackageMetadataWriter

Platforms

Windows, Linux, Android

GeoPackageMetadataWriter Members

The GeoPackageMetadataWriter type has the following members.

Properties

NameDescription
IsDisposedGets a value that tells whether the current GeoPackageMetadataWriter has been disposed. Inherited from EngineObject
IsWorking  DeprecatedGets a value indicating if the writer is currently working on some other thread. Inherited from MapPackageWriter
NativeHandleGets the native Carmenta Engine kernel object the current GeoPackageMetadataWriter represents. Inherited from EngineObject
TableThe MapPackageTable to create and write to in the GeoPackage. Inherited from MapPackageWriter

Methods

NameDescription
AbortAborts a write operation and deletes the table from the GeoPackage. Inherited from MapPackageWriter
BeginTransactionStarts a transaction for writing metadata and metadata references to a GeoPackage file.
CloneCreates a copy of an object. Inherited from EngineObject
DisposeReleases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject
EqualsDetermines whether this instance is equal to another. Inherited from EngineObject
WriteMetadataWrites a metadata entry to the GeoPackage file. Note that BeginTransaction needs to have been called before this method can be used.
WritePackageReferenceWrites a metadata reference entry to the GeoPackage file with a geopackage reference scope. Note that BeginTransaction needs to have been called before this method can be used.
WriteTableReferenceWrites a metadata reference entry to the GeoPackage file with a table reference scope. Note that BeginTransaction needs to have been called before this method can be used. Throws if the table name does not exist in the GeoPackage.

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept