LuciadCPillar 2023.1.04
luciad::GeoPackageDataSource Class Referencefinal

Describes a data source for GeoPackage. More...

#include <luciad/formats/geopackage/GeoPackageDataSource.h>

Classes

class  Builder
 Builder for creating luciad::GeoPackageDataSource. More...
 

Public Member Functions

 ~GeoPackageDataSource ()
 
const std::string & getSource () const
 Gets the absolute path to the GeoPackage file. More...
 
const std::optional< std::string > & getTableName () const
 Gets the name of the table that needs to be decoded. More...
 

Static Public Member Functions

static Builder newBuilder ()
 Returns the builder class for creation of the GeoPackage data source. More...
 

Detailed Description

Describes a data source for GeoPackage.

Used for creating GeoPackage models.

Since
2020.2

Constructor & Destructor Documentation

◆ ~GeoPackageDataSource()

luciad::GeoPackageDataSource::~GeoPackageDataSource ( )

Member Function Documentation

◆ getSource()

const std::string & luciad::GeoPackageDataSource::getSource ( ) const

Gets the absolute path to the GeoPackage file.

Returns
The absolute path to the GeoPackage file.

◆ getTableName()

const std::optional< std::string > & luciad::GeoPackageDataSource::getTableName ( ) const

Gets the name of the table that needs to be decoded.

If not specified, the first supported table is used.

Returns
The name of the table that needs to be decoded. If not specified, the first supported table is used.
See also
GeoPackageModelDecoder::discoverTables for the list of supported tables and their type.

◆ newBuilder()

static Builder luciad::GeoPackageDataSource::newBuilder ( )
static

Returns the builder class for creation of the GeoPackage data source.

Returns
the builder class for creation of the GeoPackage data source.