GeoPackage

An object that represents a GeoPackage. A GeoPackage is an open, standards-based, platform-independent, portable, self-describing, compact format for transferring geospatial information. It is a platform-independent SQLite database file that contains the GeoPackage data and metadata tables.

Since

200.1.0

Constructors

Link copied to clipboard
fun GeoPackage(path: String)

Create a GeoPackage object to read the package file at the given path.

Properties

Link copied to clipboard

All feature tables contained in the GeoPackage.

Link copied to clipboard

All rasters contained in the GeoPackage.

Link copied to clipboard

The path to the GeoPackage file.

Inherited properties

Link copied to clipboard
open override val loadStatus: StateFlow<LoadStatus>

The load status.

Functions

Link copied to clipboard
fun close()

Close a GeoPackage. The use of all data it contains should cease before closing a GeoPackage. For example: remove feature layers and rasters from maps and release feature tables. Attempts to access a GeoPackage after it is closed will fail, resulting in an error. After closing a GeoPackage, the underlying file it references can be deleted.

Inherited functions

Link copied to clipboard
open override fun cancelLoad()

Cancels loading metadata for the Loadable object.

Link copied to clipboard
open suspend override fun load(): Result<Unit>

Loads the metadata for the object.

Link copied to clipboard
open suspend override fun retryLoad(): Result<Unit>

Loads or retries loading metadata for the object.