GeoPackage

A GeoPackage file (.gpkg) that can contain multiple datasets of geographic features, non-spatial tabular data, and raster dataset that conform to the OGC GeoPackage format. 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. See GeoPackage Encoding Standard[https://www.ogc.org/standard/geopackage/] for more information.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(path: String)

Creates a GeoPackage from the GeoPackage file (.gpkg) at the given path.

Properties

Link copied to clipboard

The immutable collection of geopackage feature tables contained in the GeoPackage.

Link copied to clipboard

The immutable collection of rasters contained in the GeoPackage.

Link copied to clipboard

The path to the GeoPackage file (.gpkg).

Inherited properties

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

The load status.

Functions

Link copied to clipboard
fun close()

Closes a GeoPackage. Before you close a GeoPackage you should remove all references to the data it contains, such as removing the feature layer from a map and releasing the GeoPackageFeatureTable. Attempts to access a GeoPackage after it is closed will fail, resulting in an error.

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.