Class 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.
Inheritance
Implements
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GeoPackage : ILoadable
Remarks
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 for more information.
Constructors
| Name | Description |
|---|---|
| GeoPackage(String) | Initializes a new instance of the GeoPackage class to read the package (.gpkg) at the specified path. |
Properties
| Name | Description |
|---|---|
| GeoPackageFeatureTables | Gets the collection of GeoPackageFeatureTable contained in the GeoPackage. |
| GeoPackageRasters | Gets the collection of GeoPackageRaster contained in the GeoPackage. |
| LoadError | Gets the System.Exception associated with the last load error. |
| LoadStatus | Gets the load status. |
| Path | Gets the path to the GeoPackage file (.gpkg). |
Methods
| Name | Description |
|---|---|
| CancelLoad() | Cancel loading metadata for the object. |
| Close() | Closes a GeoPackage. |
| LoadAsync() | Load the metadata for the object asynchronously. |
| OpenAsync(String) | Opens a GeoPackage to read the package at the specified path. |
| RetryLoadAsync() | Loads or retries loading metadata for the object asynchronously. |
Events
| Name | Description |
|---|---|
| Loaded | Event that is raised when the object is done loading. |
| LoadStatusChanged | Event that is raised when the LoadStatus property changes. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.2.1 - 200.8 |
| Xamarin.Android | 100.2.1 - 100.15 |
| Xamarin.iOS | 100.2.1 - 100.15 |
| UWP | 100.2.1 - 200.8 |