GeoPackage is an open, standards-based, compact format for transferring geospatial information. More...
| Header | #include <Geo |
| Since | Esri |
| Inherits | Esri |
This class was introduced in Esri::ArcGISRuntime 100.2.
Public Functions
| Geo | |
| virtual | ~ |
| void | close() |
| QList | geo |
| QList | geo |
| QString | path() const |
Reimplemented Public Functions
| virtual void | cancel |
| virtual void | load() override |
| virtual Esri | load |
| virtual Esri | load |
| virtual void | retry |
Signals
| void | done |
| void | load |
Detailed Description
A GeoPackage is a platform-independent SQLite database file that contains the GeoPackage data and metadata tables.
Member Function Documentation
GeoPackage::GeoPackage (const QString &path, QObject *parent = nullptr)
Constructor that takes a path to a GeoPackage file along with an optional parent.
[signal] void GeoPackage::doneLoading (Esri::ArcGISRuntime::Error loadError )
Signal emitted when this object is done loading.
- loadError - Details about any error that may have occurred.
Note: If there is a load error it will also be emitted on the errorOccurred signal.
[signal] void GeoPackage::loadStatusChanged (Esri::ArcGISRuntime::LoadStatus loadStatus )
Signal emitted when the loadStatus property changes.
See also Loadable.
[override virtual] GeoPackage::~GeoPackage ()
Destructor
[override virtual] void GeoPackage::cancelLoad ()
Reimplements: Loadable::cancelLoad().
See Loadable.
void GeoPackage::close()
Close the GeoPackage.
This should only be called once you have finished accessing the data in the 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.
QList<Esri::ArcGISRuntime::GeoPackageFeatureTable *> GeoPackage::geoPackageFeatureTables () const
Returns all the feature tables from the GeoPackage.
QList<Esri::ArcGISRuntime::GeoPackageRaster *> GeoPackage::geoPackageRasters () const
Returns all the rasters from the GeoPackage.
[override virtual] void GeoPackage::load()
Reimplements: Loadable::load().
See Loadable.
[override virtual] Esri::ArcGISRuntime::Error GeoPackage::loadError () const
Reimplements: Loadable::loadError() const.
See Loadable.
[override virtual] Esri::ArcGISRuntime::LoadStatus GeoPackage::loadStatus () const
Reimplements: Loadable::loadStatus() const.
See Loadable.
QString GeoPackage::path() const
The path specified to the GeoPackage file.
[override virtual] void GeoPackage::retryLoad ()
Reimplements: Loadable::retryLoad().
See Loadable.